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