Monday, November 11, 2013

Set Start Activity

A splash page is the first page the user sees, it's a little advertisement for your app. Most people think it's there because your app is loading, but in reality, its just a page with a time delay. If you want a splash page in an Android app, you need to set the Splash activity to the launching activity. To do that, just go to the manifest file and move this from the activity previously launching during startup, to the one you want to launch during startup:

             <intent-filter >
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
It's that easy! Make sure your splash page calls your other activity!

No comments:

Post a Comment