Posted By

funkypanda on 09/10/10


Tagged

home android MANIFEST


Versions (?)

Create a Home application


 / Published in: Java
 

URL: http://developer.android.com/resources/samples/Home/AndroidManifest.html

Create a Home activity.

  1. <activity android:name="Home"
  2. android:theme="@style/Theme"
  3. android:launchMode="singleInstance"
  4. android:stateNotNeeded="true">
  5. <intent-filter>
  6. <action android:name="android.intent.action.MAIN" />
  7. <category android:name="android.intent.category.HOME"/>
  8. <category android:name="android.intent.category.LAUNCHER" />
  9. <category android:name="android.intent.category.DEFAULT" />
  10. </intent-filter>
  11. </activity>

Report this snippet  

You need to login to post a comment.