问题描述:

I can hide icons from a Menu, but then the app can not run.

Actually, it is a monitoring app. Can anybody help me?

What I want to do is hide the icon when app is installed on device I tried several ways but then app activity not show and I get error:

[2012-07-13 12:28:40 - Demo App] No Launcher activity found!

[2012-07-13 12:28:40 - Demo App] The launch will only sync the application package on the device!

网友答案:

why not just use a service? and/or a broadcast receiver?

anyway, so it wont install an icon, use this: remove this from the intent filter in your manifest.

<category android:name="android.intent.category.LAUNCHER" />

you might wanna add a receiver so reboot wont be required.

相关阅读:
Top