• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!-- Copyright (C) 2010 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.backuprestore"
24    android:versionCode="1"
25    android:versionName="1.0">
26
27    <!-- The backup/restore mechanism was introduced in API version 8 -->
28    <uses-sdk android:minSdkVersion="8"/>
29    <uses-feature android:name="android.hardware.touchscreen" android:required="false"/>
30
31    <application android:label="Backup/Restore"
32        android:backupAgent="ExampleAgent">
33
34        <!-- Some backup transports may require API keys or other metadata -->
35        <meta-data android:name="com.google.android.backup.api_key"
36            android:value="INSERT YOUR API KEY HERE" />
37
38        <activity android:name="BackupRestoreActivity">
39            <intent-filter>
40                <action android:name="android.intent.action.MAIN" />
41                <category android:name="android.intent.category.LAUNCHER" />
42            </intent-filter>
43        </activity>
44
45    </application>
46</manifest>
47