"Turn" Pro Android Learning Note (82): Learn about Package (1): Packages and processes

Source: Internet
Author: User

  

The articles reproduced can only be used for non-commercial nature, and can not be accompanied by virtual currency, points, registration and other additional conditions. Reprint must indicate the source: http://blog.csdn.net/flowingflying/

Before we have learned how to issue apk, see Pro Android Learning Note (64): Security and Permissions (1): Issue apk, we will learn more about the package.

Each apk has a unique root package name, defined in Androidmanifest.xml, as follows. The developer is signing the package, which is bound to the package name, and other developers cannot update the package.

<?xml version= "1.0" encoding= "Utf-8"?>
<manifest xmlns:android= "Http://schemas.android.com/apk/res/android"
package= "Cn.wei.flowingflying.proandroidservice" ... >
......
</manifest>

Android takes the package name as the process name and assigns a user ID to it. In the simulator, we can view the package information through the SDK browser of the Dev tools, as follows:

We see the browser browser registration is Com.adnroid.browser, the process name is the same as the package name, the UserID is 10014, finally lists the package contains the components, examples can see activites, receivers, Services and providers. The actual device of the non-simulator, whether display, how to display to see the specific version and OEM manufacturer integration situation.

RELATED Links: My Android development related articles

"Turn" Pro Android Learning Note (82): Learn about Package (1): Packages and processes

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.