Analysis and comparison of androidmanifest.xml < uses feature > and < uses Permission >

Analysis and comparison of androidmanifest.xml < uses feature > and < uses Permission >

About the self understanding of < uses feature > and < uses Permission >, declare the software and hardware features required by an application.

1. < uses - feature > generally only works when the app is released on Google play. It helps Google play to filter your application. It clearly describes what hardware or software related functions your program must use in the program, If some devices search for applications on Google play or on the details page of a program, they will filter out programs that do not support your device.

For example: < uses featrue Android = "Android. Hardware. Camera" / > your device does not have camera hardware, and the function list of an app clearly lists that my program needs to use camera, so your device will not be allowed to install the application. Everyone should know if they have used Google play, Not all devices can install programs on Google play.

2. Generally, we will not list all < uses features > in the program, or for some reasons, there will be no < uses features > in our program at all. If the camera function is only an auxiliary function of our program and is not necessary, that is, the user can install it without the camera hardware, you need to write this:

3. < uses Permission > is for your Android system. If you want to use a hardware device or software function, you must apply for this permission.

Thank you for reading, hope to help you, thank you for your support to this site!

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>