How to implement shortcuts in an application
I am building a home application and want to be able to put shortcuts on the main 开发者_运维百科screen, just like how the default home applications do it. Can anyone help me with this. If not then can someone atleast point me towards some resources that will help me with this.
I am not sure exactly what you want since your question seems a bit broad. However, one tip would be to take a look at the source code for the launcher.
Link to old launcher source code
Link to new launcher source code
Or take a look at launcher plus:
http://code.google.com/p/android-launcher-plus/
Edit: kernel.org was hacked. Link to old launcher code - new link
Link to new launcher code - new link
精彩评论