Introduction to the contents of the Androidmanifest.xml file

Source: Internet
Author: User

<?xml version= "1.0" encoding= "Utf-8"?>

<!--
Package packages represent the primary package name for the entire Java application, and are a default program name
Android:versioncode= "1" indicates the version number of the APK generated by the project, 1 starts with 2, 3, 4 continuous upgrades
Android:versionname= "1.0" represents a name for the version, 1.0 starts with 2.0 similar
android:installlocation= "Auto" Automatically finds the default properties of the installed place, ROM or Sccard card
Internalonly can only be installed on ROM
Preferexternal will be installed directly on the SDcard card, such as: large-scale games, installed on the SDcard
-

<manifest xmlns:android= "Http://schemas.android.com/apk/res/android"
Package= "Com.ahao.message"
Android:versioncode= "1"
Android:versionname= "1.0" >
<USES-SDK android:minsdkversion= "9"/>
<!--Add a user's authorization, authorize access to the network, etc. -


<uses-permission android:name= "Android.permission.SEND_SMS" ></uses-permission>

<!--
android:icon= "@drawable/icon" represents an image of our application, logo image
Android:label= "@string/app_name" denotes a textual description of the applied project
-

<application android:icon= "@drawable/icon" android:label= "@string/app_name" >


<!--
Android:name represents the name of the main program for the entire application
Intent-filter Intent Filter: Some actions and actions to filter the user
Android.intent.action.MAIN says the procedure is the entry procedure for the entire project.
Category Android:name Indicates whether the application is displayed in the program list
-

<activity android:name= ". MyActivity"
Android:label= "@string/app_name" >
<intent-filter>
<action android:name= "Android.intent.action.MAIN"/>
<category android:name= "Android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>

</application>
</manifest>

Introduction to the contents of the Androidmanifest.xml file

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.