blob: d8fed698c5c71f5453df156c6f24ab6954ee631e [file] [log] [blame]
Mike LeBeau83e2eae2009-08-27 19:13:43 -07001<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
Scott Mainbeca3af2010-03-25 17:37:25 -07004** Copyright 2010, The Android Open Source Project
Mike LeBeau83e2eae2009-08-27 19:13:43 -07005**
6** Licensed under the Apache License, Version 2.0 (the "License");
7** you may not use this file except in compliance with the License.
8** You may obtain a copy of the License at
9**
10** http://www.apache.org/licenses/LICENSE-2.0
11**
12** Unless required by applicable law or agreed to in writing, software
13** distributed under the License is distributed on an "AS IS" BASIS,
14** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15** See the License for the specific language governing permissions and
16** limitations under the License.
17*/
18-->
19<manifest xmlns:android="http://schemas.android.com/apk/res/android"
Scott Main1b2c8082010-05-07 15:10:14 -070020 package="com.example.android.searchabledict"
21 android:versionCode="2"
22 android:versionName="2.0">
Mike LeBeau83e2eae2009-08-27 19:13:43 -070023
Robert Ly7d5b68c2012-02-13 09:16:39 -080024 <uses-sdk android:minSdkVersion="7" android:targetSdkVersion="15" />
Mike LeBeau83e2eae2009-08-27 19:13:43 -070025
26 <application android:label="@string/app_name"
Scott Mainbeca3af2010-03-25 17:37:25 -070027 android:icon="@drawable/ic_dictionary">
Mike LeBeau83e2eae2009-08-27 19:13:43 -070028
Scott Mainbeca3af2010-03-25 17:37:25 -070029 <!-- The default activity of the app; displays search results. -->
Mike LeBeau83e2eae2009-08-27 19:13:43 -070030 <activity android:name=".SearchableDictionary"
Scott Main35319942011-02-06 15:21:49 -080031 android:launchMode="singleTop">
Mike LeBeau83e2eae2009-08-27 19:13:43 -070032
33 <intent-filter>
34 <action android:name="android.intent.action.MAIN" />
35 <category android:name="android.intent.category.LAUNCHER" />
36 </intent-filter>
37
38 <!-- Receives the search request. -->
39 <intent-filter>
40 <action android:name="android.intent.action.SEARCH" />
Scott Mainbeca3af2010-03-25 17:37:25 -070041 <!-- No category needed, because the Intent will specify this class component-->
Mike LeBeau83e2eae2009-08-27 19:13:43 -070042 </intent-filter>
43
44 <!-- Points to searchable meta data. -->
45 <meta-data android:name="android.app.searchable"
Scott Mainbeca3af2010-03-25 17:37:25 -070046 android:resource="@xml/searchable" />
47
Mike LeBeau83e2eae2009-08-27 19:13:43 -070048 </activity>
49
50 <!-- Displays the definition of a word. -->
Scott Main35319942011-02-06 15:21:49 -080051 <activity android:name=".WordActivity" />
Mike LeBeau83e2eae2009-08-27 19:13:43 -070052
53 <!-- Provides search suggestions for words and their definitions. -->
Scott Mainbeca3af2010-03-25 17:37:25 -070054 <provider android:name=".DictionaryProvider"
55 android:authorities="com.example.android.searchabledict.DictionaryProvider" />
56
57 <!-- Points to searchable activity so the whole app can invoke search. -->
58 <meta-data android:name="android.app.default_searchable"
59 android:value=".SearchableDictionary" />
Mike LeBeau83e2eae2009-08-27 19:13:43 -070060
61 </application>
62</manifest>