问题
Possible Duplicate:
Application without app icon
I want to create security - app. I want to hide the icon of app on launcher (user can't see them) after configuration. I tried to use service, but this isn't good solution, because I see still icon . I heard about editing mainfest, but i can't make them.Please, help me, and don't remove my post. Thanks,
回答1:
This looks like an answer to your needs: http://androidsnips.blogspot.com/2011/11/create-android-application-with-no.html?m=0
回答2:
One possible way is removing the line
<category android:name="android.intent.category.LAUNCHER">
from your manifest, which tells Android that the activity you've put it into should appear in the launcher.
HOWEVER, it's not a good idea to hide your application from the launcher, as then the average user won't know how to find it to reconfigure/remove it as necessary.
来源:https://stackoverflow.com/questions/14217096/android-hidden-app