Hi Sohan,
I tried the same thing; It is working fine.....
This is the code I used...
package com.android.BootComplete;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
public class BootComplete extends BroadcastReceiver
{
@Override
public void onReceive(Context context, Intent intent)
{
System.out.println("*********************BOOT
COMPLETE*********************");
}
}
MANIFEST--------------->>>
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.BootComplete"
android:versionCode="1"
android:versionName="1.0">
<application android:icon="@drawable/icon" android:label="@string/
app_name">
<receiver android:name="BootComplete">
<intent-filter>
<action
android:name="android.intent.action.BOOT_COMPLETED" />
</intent-filter>
</receiver>
</application>
</manifest>
Regards,
SREEHARI
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en