Android hides the app icon and android hides the app
In the past, I had nothing to worry about. I browsed my blog and saw the article that opened the app with a browser address,
After trying as described in this article, I found that the app icon was not displayed on the desktop.
You only need to modify it in the following code.
<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 display the icon after this addition?
Because we declare the app entry Activity to start by receiving an implicit Intent, the icon will not be displayed.
To display the icon, you can add an intent-filter tag to the Activity to move the data element to the new tag. In this way, the icon and response Uri can be displayed.
By the way, in manifest. xml, if there are two
<Action android: name = "android. intent. action. MAIN"/>
Two desktop icons and two program portals appear in the application.
Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.