2011/2/4 Yorgos X <yor...@gmail.com>:
> I basically start an activity which is the main activity of my app on
> startup (I want the app to appear straight when you turn on the phone). So
> my main activity is declared as launcher in the manifest and in my receiver
> class I start an intent that launches it as well:
>
> .....
>         <activity android:name=".MainActivity"
>                 android:label="@string/app_name">
>             <intent-filter>
>                 <action android:name="android.intent.action.MAIN" />
>                 <category android:name="android.intent.category.LAUNCHER" />
>             </intent-filter>
>         </activity>
>         <receiver android:name=".MyIntentReceiver">
>             <intent-filter>
>                 <action android:name="android.intent.action.BOOT_COMPLETED"
> />
>                 <category android:name="android.intent.category.HOME" />
>             </intent-filter>
>         </receiver>
>     </application>

remove category from boot filter

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to