I am trying to catch the BOOT_COMPLETED intent. In my receiver, I just print something to the Log. In Logcat I get this error, and the log statement that I put never prints out. I have set the permission in the manifest for
<uses-permission android:name="android.permission.RECEIVE_BOOT_COMPLETED" />
And have also declared the required intent filter in my receiver. What am I doing wrong?
What am I doing wrong?
That's impossible to answer given the limited information you have supplied. Perhaps your action string is wrong in your <intent-filter>
.
Here is a sample project that does just what you describe (boot-time receiver writing a message to LogCat).