It was difficult to summarize the problem in the title, but it really is not very difficult.
My problem is this: after installing the application, you will see the "Open Application" button in the playback store, which launches your application in the same way when you click "Run on Eclipse". When you do one of these actions, the first launch activity that is detected in the manifest starts first.
For example, if this was my manifest:
<activity android:name=".launcher" > <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> </activity> <activity android:name=".SettingsActivity" > <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity>
When open SettingsActivity been pressed, it will be launched, since the first action is not a launch application.
My problem is that the first time users open my application, I want them to see the launcher. How can I make sure .launcher running when my application is open?
source share