Re: [android-developers] Re: start at boot app gives instantiationException:
Review the components section here
http://developer.android.com/guide/topics/fundamentals.html
You are confusing a BroadcastReceiver with an Activity, and there's
nothing you can add to the manifest to correct that since an activity
tag can't describe or invoke a receiver. If you want to launch something
at boot, then code a receiver that launches the app.
On 2/20/2012 10:34 AM, Thomas wrote:
> Actually, I don't. What should the manifest be in this case?
> Tom B
>
> On Feb 20, 10:05 am, TreKing<treking...@gmail.com> wrote:
>> You have the following:
>>
>> public abstract class StartAtBootActivity extends *BroadcastReceiver*{
>>
>>
>>
>>> <*activity *android:name=".StartAtBootActivity"
>> See the problem with this scenario?
>>
>> -------------------------------------------------------------------------------------------------
>> TreKing<http://sites.google.com/site/rezmobileapps/treking> - Chicago
>> transit tracking app for Android-powered devices
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home