Create a Home application


/ Published in: Java
Save to your folder(s)

Create a Home activity.


Copy this code and paste it in your HTML
  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>

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.