March 2013
Beginner to intermediate
580 pages
16h 11m
English
Who wants to start an app to start other apps? It would make more sense to offer NerdLauncher as a replacement for the device’s home screen. Open NerdLauncher’s AndroidManifest.xml and add to its main intent filter:
Listing 23.7 Change NerdLauncher’s categories (AndroidManifest.xml)
<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> <category android:name="android.intent.category.HOME" /> <category android:name="android.intent.category.DEFAULT" /> </intent-filter>
By adding the HOME and DEFAULT categories, NerdLauncher activity is asking to be offered as an option for the home screen. Press the Home button, and NerdLauncher will ...
Read now
Unlock full access