• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/* //device/apps/Home/AndroidManifest.xml
4**
5** Copyright 2006, The Android Open Source Project
6**
7** Licensed under the Apache License, Version 2.0 (the "License");
8** you may not use this file except in compliance with the License.
9** You may obtain a copy of the License at
10**
11**     http://www.apache.org/licenses/LICENSE-2.0
12**
13** Unless required by applicable law or agreed to in writing, software
14** distributed under the License is distributed on an "AS IS" BASIS,
15** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16** See the License for the specific language governing permissions and
17** limitations under the License.
18*/
19-->
20
21<!-- Declare the contents of this Android application.  The namespace
22     attribute brings in the Android platform namespace, and the package
23     supplies a unique name for the application.  When writing your
24     own application, the package name must be changed from "com.example.*"
25     to come from a domain that you own or have control over. -->
26<manifest xmlns:android="http://schemas.android.com/apk/res/android"
27		package="com.example.android.home">
28    <uses-permission android:name="android.permission.CALL_PHONE"/>
29    <uses-permission android:name="android.permission.GET_TASKS"/>
30    <uses-permission android:name="android.permission.READ_CONTACTS"/>
31    <uses-permission android:name="android.permission.SET_WALLPAPER" />
32    <uses-permission android:name="android.permission.INTERNET" />
33    <uses-permission android:name="android.permission.EXPAND_STATUS_BAR"/>
34
35    <application android:label="@string/home_title"
36          android:icon="@drawable/ic_launcher_home">
37
38        <activity android:name="Home"
39                android:theme="@style/Theme"
40                android:launchMode="singleInstance"
41                android:stateNotNeeded="true">
42            <intent-filter>
43                <action android:name="android.intent.action.MAIN" />
44                <category android:name="android.intent.category.HOME"/>
45                <category android:name="android.intent.category.DEFAULT" />
46            </intent-filter>
47        </activity>
48
49        <activity android:name="Wallpaper"
50                android:label="Wallpaper"
51                android:icon="@drawable/bg_android_icon">
52            <intent-filter>
53                <action android:name="android.intent.action.SET_WALLPAPER" />
54                <category android:name="android.intent.category.DEFAULT" />
55            </intent-filter>
56        </activity>
57
58    </application>
59</manifest>
60