Ask, I think Android boot does not start with the interface, start their own application to do, what to do?

Source: Internet
Author: User

============ Problem Description ============


Rt

In this edition I can only the maximum 100 points, no way.
There are scores, I will send high-score posts again.

============ Solution 1============


Reference to the 2 floor xqhrs232 's reply:
made launcher

Then go to the Android default launcher code in the Androidmanifest.xml file to the Android.intent.action.MAIN this attribute to shield off

============ Solution 2============


If you are making your own system, you can try to modify the launcher that comes with Android. Or just kill the original, rewrite one. But there must also be android.intent.category.LAUNCHER. The boot will go into your program.

If you are doing an application, you must add the following code:
<intent-filter>
<category android:name= "Android.intent.category.LAUNCHER"/>
</intent-filter>
Make your app into a desktop program.
However, the system needs to let the user choose which one to use as the default startup item.

============ Solution 3============


is the boot from your app or your logo? If it is powered on from your app, you can listen to the on-boot broadcast in your app. If you modify the boot logo, you need to modify the source code, if you modify the boot animation, you can modify the source code, you can also make the boot animation, and then the system comes with the boot animation (flashing Android words) can be replaced ....

============ Solution 4============


Make the Bootanimation.zip bag, and then put it under the System/media, the boot screen uses this.

See this for details.

http://blog.163.com/fenglang_2006/blog/static/13366231820116611332468/

============ Solution 5============


I have the code, I can pass it to you ~http://download.csdn.net/detail/libaier_gc/4093226

============ Solution 6============


I tried it today. The following two in the original launcher Androidmanifest.xml file should be removed
<intent-filter>
<category android:name= "Android.intent.category.HOME"/>
<category android:name= "Android.intent.category.DEFAULT"/>
</intent-filter>

Add the above two settings in the Androidmanifest.xml file of the app you want to be launcher.




Ask, I think Android boot does not start with the interface, start their own application to do, what to do?

Related Article

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.