1 <!-- 2 Copyright 2013 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 18 xmlns:android="http://schemas.android.com/apk/res/android" 19 package="com.example.android.basicnetworking" 20 android:versionCode="1" 21 android:versionName="1.0"> 22 23 <uses-sdk android:minSdkVersion="8" android:targetSdkVersion="17" /> 24 <uses-permission android:name="android.permission.INTERNET" /> 25 <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 26 27 <application 28 android:label="@string/app_name" 29 android:icon="@drawable/ic_launcher" 30 android:theme="@style/Theme.Sample" 31 android:allowBackup="true"> 32 33 <activity 34 android:name="com.example.android.basicnetworking.MainActivity" 35 android:label="@string/app_name" 36 android:uiOptions="splitActionBarWhenNarrow"> 37 38 <intent-filter> 39 <action android:name="android.intent.action.MAIN" /> 40 <category android:name="android.intent.category.LAUNCHER" /> 41 </intent-filter> 42 </activity> 43 </application> 44 </manifest>