1<?xml version="1.0" encoding="utf-8"?> 2<!-- Copyright (C) 2009 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.wiktionary" 19 android:versionCode="1" 20 android:versionName="1.0"> 21 22 <uses-permission android:name="android.permission.INTERNET" /> 23 <uses-sdk android:minSdkVersion="3" android:targetSdkVersion="4" /> 24 25 <meta-data android:name="android.app.default_searchable" android:value=".LookupActivity" /> 26 27 <application android:icon="@drawable/app_icon" android:label="@string/app_name" 28 android:description="@string/app_descrip"> 29 30 <!-- Browser-like Activity to navigate dictionary definitions --> 31 <activity 32 android:name=".LookupActivity" 33 android:theme="@style/LookupTheme" 34 android:launchMode="singleTop" 35 android:configChanges="orientation|keyboardHidden"> 36 37 <intent-filter> 38 <action android:name="android.intent.action.MAIN" /> 39 <category android:name="android.intent.category.LAUNCHER" /> 40 </intent-filter> 41 42 <intent-filter> 43 <action android:name="android.intent.action.VIEW" /> 44 <category android:name="android.intent.category.DEFAULT" /> 45 <category android:name="android.intent.category.BROWSABLE" /> 46 <data android:scheme="wiktionary" android:host="lookup" /> 47 </intent-filter> 48 49 <intent-filter> 50 <action android:name="android.intent.action.SEARCH" /> 51 <category android:name="android.intent.category.DEFAULT" /> 52 </intent-filter> 53 54 <meta-data android:name="android.app.searchable" android:resource="@xml/searchable" /> 55 </activity> 56 57 <!-- Broadcast Receiver that will process AppWidget updates --> 58 <receiver android:name=".WordWidget" android:label="@string/widget_name"> 59 <intent-filter> 60 <action android:name="android.appwidget.action.APPWIDGET_UPDATE" /> 61 </intent-filter> 62 <meta-data android:name="android.appwidget.provider" 63 android:resource="@xml/widget_word" /> 64 </receiver> 65 66 <!-- Service to perform web API queries --> 67 <service android:name=".WordWidget$UpdateService" /> 68 69 </application> 70 71</manifest> 72