• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3 * Copyright (C) 2012 The Android Open Source Project
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 *      http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16-->
17<manifest xmlns:android="http://schemas.android.com/apk/res/android"
18    package="com.example.android.threadsample"
19    android:versionCode="1"
20    android:versionName="1.0" >
21
22    <uses-sdk
23        android:minSdkVersion="11"
24        android:targetSdkVersion="17" />
25
26    <!-- Requires this permission to download RSS data from Picasa -->
27    <uses-permission android:name="android.permission.INTERNET" />
28
29    <!-- Requires this permission to check the network state       -->
30    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
31
32    <!--
33        Defines the application.
34    -->
35    <application
36        android:icon="@drawable/icon"
37        android:label="@string/app_name">
38
39        <activity
40            android:name=".DisplayActivity"
41            android:label="@string/activity_title" >
42            <intent-filter>
43                <action android:name="android.intent.action.MAIN" />
44                <category android:name="android.intent.category.LAUNCHER" />
45            </intent-filter>
46        </activity>
47
48        <!--
49            No intent filters are specified, so android:exported defaults to "false". The
50            service is only available to this app.
51        -->
52        <service
53            android:name=".RSSPullService"
54            android:exported="false"/>
55
56        <!--
57            The attribute "android:exported" must be set to "false" to restrict this content
58            provider to its own app. Otherwise, all apps could access it.
59         -->
60        <provider
61            android:name=".DataProvider"
62            android:exported="false"
63            android:authorities="@string/authority"/>
64    </application>
65
66</manifest>
67