You can use packageManager to list the apps.Īs generating such a list may take a while, I suggest you to do it asynchronously and save the list somewhere to speed everything up (which also is expected from launchers ^^) 2) Some settings to change the launcher Common launcher functions (users usually expect those) 1) A list of apps / appdrawerįrom which all apps can be launched or modified. In short: Launchers are expected to be reliable. In the case of a crash users will be taken back to the devices default launcher or other installed ones. If you want users (and yourself) to be able to constantly user the app (that's what you usually do with launchers), make sure it never crashes. Launcher IssuesĪs a launcher will run all the time, you need to understand the activity livecycle to prevent issues ( like this one). I saw this thread a while ago, before creating my own launcher.ĭavid already mentioned the piece of code that determines your app as a launcher: Īdd this as an intent-filter to the activity your launcher will use for the home screen (in AndroidManifest.xml).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |