1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2011 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<!-- Declare the contents of this Android application. The namespace 18 attribute brings in the Android platform namespace, and the package 19 supplies a unique name for the application. When writing your 20 own application, the package name must be changed from "com.example.*" 21 to come from a domain that you own or have control over. --> 22<manifest xmlns:android="http://schemas.android.com/apk/res/android" 23 package="com.example.android.weatherlistwidget"> 24 25 <uses-sdk android:minSdkVersion="11" 26 android:targetSdkVersion="14"/> 27 <application android:label="Weather Widget Sample"> 28 <!-- The widget provider --> 29 <receiver android:name="WeatherWidgetProvider"> 30 <intent-filter> 31 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 32 </intent-filter> 33 <!-- This specifies the widget provider info --> 34 <meta-data android:name="android.appwidget.provider" 35 android:resource="@xml/widgetinfo" /> 36 </receiver> 37 38 <!-- The service serving the RemoteViews to the collection widget --> 39 <service android:name="WeatherWidgetService" 40 android:permission="android.permission.BIND_REMOTEVIEWS" 41 android:exported="false" /> 42 43 <!-- The content provider serving the (fake) weather data --> 44 <provider android:name="WeatherDataProvider" 45 android:authorities="com.example.android.weatherlistwidget.provider" /> 46 </application> 47</manifest> 48