Reputation: 2093
I want to customize the Launcher of android (from source of google), my question is: Where should I start? (Download the Launcher source) If I want to place some shortcut on home screen, where is the class to do? How to run that Launcher on Android Emulator?
Thanks :)
Upvotes: 0
Views: 1005
Reputation: 82563
Firstly, I'd advise against this. The default android launcher uses several APIs that aren't available to the public, and it took me around 9 hours to just get it to compile. Even then, parts of it wouldn't work. For example, I could see through the current Page into the next one. Also, widgets don't work because the launcher uses some private method to add them, which is only available to apps signed by the same key as the ROM.
You should probably work with the home screen replacement SDK sample provided. However, if you still want to do this, download Launcher2 from the github repository and start working through errors one by one.
Upvotes: 2