AndroidManifest注解

一份关于androidManifest 的注释,留作查阅




<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.csr.csrmeshdemo2"
    android:versionCode="9"
    android:versionName="2.0.1">

    
    <uses-permission android:name="android.permission.INTERNET"/>           
        android:icon="@mipmap/ic_launcher"  
        android:label="@string/app_name"  
        android:name=".App"
        android:theme="@style/AppTheme" >   
        <activity
            android:name=".ui.activities.MainActivity"   --activity名称-->
            android:screenOrientation="portrait"         
            android:label="@string/app_name" >           
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />        

                <category android:name="android.intent.category.LAUNCHER" />  
            intent-filter>
        activity>

        <activity
                android:name=".ui.activities.LoginActivity"
                android:screenOrientation="portrait"
                android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.DetailDeviceActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.DetailAreaActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.AreasControlActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.DetailPlaceActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.DeviceControlActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.DevicesPickerActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.AreasPickerActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.PreferenceActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.NewDeviceActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name="net.hockeyapp.android.UpdateActivity"
            android:screenOrientation="portrait" >
        activity>

        <activity android:name="com.facebook.FacebookActivity"
            --activity 不会因为下列属性变化重启,而是调用 onConfigurationChanged-->    
            android:configChanges=
                "keyboard|keyboardHidden|screenLayout|screenSize|orientation"
            android:theme="@android:style/Theme.Translucent.NoTitleBar"
            android:screenOrientation="portrait"
            android:label="@string/app_name" />

        <activity
            android:name=".ui.activities.GatewaySelectionActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity
            android:name=".ui.activities.GatewaysAssociatedActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>


        <activity
            android:name=".ui.activities.DetailGatewayActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <activity android:name=".ui.activities.DeveloperActivity"
            android:screenOrientation="portrait"
            android:label="@string/app_name" >
        activity>

        <service
            android:name="com.csr.csrmesh2.MeshService"
            android:enabled="true"
            android:exported="false" >      
        service>

        <service
            android:name="com.csr.csrmeshdemo2.services.SearchSelectedGatewayService"
            android:exported="false"/>

        <receiver android:name=".events.ConnectionChangeReceiver"
                  android:label="ConnectionChangeReceiver">
            <intent-filter>
                <action android:name="android.net.conn.CONNECTIVITY_CHANGE" />    

            intent-filter>
        receiver>
         
        <meta-data android:name="com.facebook.sdk.ApplicationId" android:value="@string/facebook_app_id"/>
        <meta-data android:name="com.facebook.sdk.ApplicationName" android:value="@string/app_name" />
    application>

manifest>

你可能感兴趣的:(Android,manifest,android)