PageRenderTime 39ms CodeModel.GetById 36ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/samples/training/network-usage/AndroidManifest.xml

https://github.com/aizuzi/platform_frameworks_base
XML | 48 lines | 27 code | 6 blank | 15 comment | 0 complexity | 1316bd62268bc81858b717f0faa3ceea MD5 | raw file
 1<!--
 2  Copyright (C) 2012 The Android Open Source Project
 3
 4  Licensed under the Apache License, Version 2.0 (the "License");
 5  you may not use this file except in compliance with the License.
 6  You may obtain a copy of the License at
 7
 8       http://www.apache.org/licenses/LICENSE-2.0
 9
10  Unless required by applicable law or agreed to in writing, software
11  distributed under the License is distributed on an "AS IS" BASIS,
12  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  See the License for the specific language governing permissions and
14  limitations under the License.
15  -->
16
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    package="com.example.android.networkusage"
19    android:versionCode="1"
20    android:versionName="1.0" >
21
22    <uses-sdk android:minSdkVersion="4"
23        android:targetSdkVersion="14" />
24
25    <uses-permission android:name="android.permission.INTERNET" />
26    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
27
28    <application
29        android:icon="@drawable/ic_launcher"
30        android:label="@string/app_name" >
31
32        <activity
33            android:name="com.example.networkusage.NetworkActivity"
34            android:label="@string/app_name" >
35            <intent-filter>
36                <action android:name="android.intent.action.MAIN" />
37
38                <category android:name="android.intent.category.LAUNCHER" />
39            </intent-filter>
40        </activity>
41        <activity android:label="SettingsActivity" android:name=".SettingsActivity">
42             <intent-filter>
43                <action android:name="android.intent.action.MANAGE_NETWORK_USAGE" />
44                <category android:name="android.intent.category.DEFAULT" />
45          </intent-filter>
46        </activity>
47    </application>
48</manifest>