About Android Custom Launcher

Source: Internet
Author: User

Long time no do adroid project development, temporary need to develop an apk.

The customer requested that the APK as launcher exist, tossing some time, hereby record lest forget.

Follow the requirements on the network to add

<category android:name= "Android.intent.category.DEFAULT"/>
<category android:name= "Android.intent.category.HOME"/>

When you press home, you can select the Launcher dialog box, but the default is checked, the default is still the original launcher.

Stay, hurry up the Internet search program.

It is said that the more the solution is to increase the set_preferred_applications authority,

But this need to use the Terminal authentication information signature only line,

I developed only apk, pure third-party, should not rely on the terminal, decisively abandon this program to try.

Suddenly think of the previous use of third-party desktop, hurriedly down a go desktop, really can become the default launcher, it seems that others are no problem.

What's the difference between me and go? Anti-compilation go desktop, complex, also can not see what.

A flash of light, the Choice box that pops up when you start the machine has go desktop but not my apk, this is why AH.

Catch log view, search "Scan package", well, found the original launcher and go, but without my apk, then my apk where,

Keep looking down, the original apk in the SD card. Trying to move my apk into the internal storage, actually successful, the boot is my apk.

This is simple, the default installation path option is included in the configuration file.

android:installlocation= "Internalonly"

Finally, finished, such a small thing also toss a good while, it seems too long useless are unfamiliar.

About Android Custom Launcher

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.