Why isn't the MAIN and LAUNCHER activity not starting first?
I have 2 activities, 'Splash'and 'StartingPoint'. My XML EXPLICITLY states
that 'Splash' is the Activity with MAIN and LAUNCHER, however when running
the app, 'StartingPoint' always seems to be the first thing running. How
can I fix it?
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.commer.commest"
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk
android:minSdkVersion="8"
android:targetSdkVersion="18" />
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity android:name="com.commer.commest.Splash"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity android:name="com.commer.commest.StartingPoint"
android:label="@string/app_name">
<intent-filter>
<action android:name="com.commer.commest.STARTINGPOINT" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
</activity>
</application>
</manifest>
No comments:
Post a Comment