Android Programming The Big Nerd Ranch Guide by Bill Phillips, Chris Stewart, Kristin Marsicano (z-lib.org)

(gtxtreme123) #1
Using NerdLauncher as a Home Screen

Listing 24.10  Changing NerdLauncherActivity’s categories


(AndroidManifest.xml)








By adding the HOME and DEFAULT categories, NerdLauncherActivity is asking to be offered as an
option for the Home screen. Press the Home button, and NerdLauncher will be offered as an option
(Figure 24.12).


Figure 24.12  Selecting Home app


(If you make NerdLauncher the Home screen, you can easily change it back later. Launch the
Settings app from NerdLauncher. If you are running Lollipop or later, go to Settings → Apps. Select
NerdLauncher from the app list. If you are running a pre-Lollipop version of Android, go to Settings
→ Applications → Manage Applications. Select All to find NerdLauncher. Once you have selected
NerdLauncher, you should be on the App Info screen. Scroll down to Launch by default and press
the CLEAR DEFAULTS button. The next time you press the Home button, you will be able to select
another default.)

Free download pdf