Android Hide app app icon

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.