Originally was idle to have nothing to do, browse the blog, see the browser address to open the app's article,
After attempting to do so, I find that the app icon is not displayed on the desktop.
Just modify it in the code below.
<intent-filter> <action android:name="Android.intent.action.MAIN" /> <category android:name="Android.intent.category.LAUNCHER" /> <data android:scheme="MyApp" android:host="Akm.app" Android:pathprefix="/openwith"/> </intent-filter>
But why does the app not show icons when you join this?
Because we declare the app's entry activity to be initiated by receiving an implicit intent, the icon is not displayed.
If you need to display an icon, you can add a intent-filter tag to the activity and move the data element to the newly created label. This displays the icon and responds to a specific URI.
By the way, in the case of a previous encounter, in Manifest.xml if there are two
<action android:name="android.intent.action.MAIN" />
The app will appear with two desktop icons and two program portals.
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
Android Hide app app icon