I have a blank HelloWorld Application:
package tutorials.TestReceivers;
import android.app.Activity;
import android.os.Bundle;
public class TestReceiversAc
Delete android-permission="android.permission.RECEIVE_BOOT_COMPLETED"
. Add a
element for this permission as a child of the
element.
If the problems continue, use adb logcat
, DDMS, or the DDMS perspective in Eclipse to look at LogCat and examine the stack trace associated with your crash.
Here is a sample project showing how to get control at boot time.
SCREEN_ON
will not work from the manifest.