I have an Android activity that opens when the device is open and when Home Button is pushed the activity is show. I did this using having this intent associated to the activity:
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
First time I push home button I get the message
Complete action using:
- My Program
- Launcher
Does exists a form to avoid this dialog and make that the application that executes my intent will be My program automatically?
Note: I don't want have to select always My program and Use always to do this action