I want the user to be able to see my application in the menu only until he configurates it after that i want to remove the shortcut also i would like to put a shortcut on the users desktop.I am pretty new to java
It’s there a way I can acheive this ?
I don’t know of a way that you could have it appear in the app drawer but remove it later.
To create a shortcut on the home screen you can use the following method.
PLEASE NOTE – I believe The intent that is being broadcast here, and the permission that you must request in your manifest are not a part of the public APIs. This method will not work on every home screen implementation. This method will potentially stop working at any time (and may already not work on newer versions of android, I only tested on Nexus S, but it does seem to work on that device).
You have been warned
and you’ll have to add this permission to your manifest: