Android hidden app [duplicate]

老子叫甜甜 提交于 2019-12-10 10:18:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!