Java – installs applications that have no icons or activities
I talked to my friend and he told me that some applications can be installed on Android without any activities or icons in the menu Because I'm also studying robots, I'm surprised because I've never heard of it
The name of the application appears in the "manage applications" section and is easy to uninstall
So now I'm going to ask the programmer How (if so) is it possible to install such an application? (no activity or transmitter)
Solution
Simply remove all of the following intent filters from the list:
<intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter>
Remember, starting from Android 3.1, if the user does not manually open your app, your app will not receive any broadcast, or the UI (main activity) listed in any other place where the intended filter is available (for example, in the sharing menu) comes from the launcher at least once