development
修订版 | 27626c03e4db54d1edfaa28f10bef1ef9ded9995 (tree) |
---|---|
时间 | 2010-06-04 05:38:57 |
作者 | Dan Egnor <egnor@goog...> |
Commiter | Dan Egnor |
Add API key to BackupRestore sample code.
Change-Id: If80cbceffc213fdc6059fe22bf0e24520fba5f2d
Bug: 2735063
@@ -30,7 +30,11 @@ | ||
30 | 30 | <application android:label="Backup/Restore" |
31 | 31 | android:backupAgent="ExampleAgent"> |
32 | 32 | |
33 | - <activity android:name="BackupRestoreActivity"> | |
33 | + <!-- Some backup transports may require API keys or other metadata --> | |
34 | + <meta-data android:name="com.google.android.backup.api_key" | |
35 | + android:value="INSERT YOUR API KEY HERE" /> | |
36 | + | |
37 | + <activity android:name="BackupRestoreActivity"> | |
34 | 38 | <intent-filter> |
35 | 39 | <action android:name="android.intent.action.MAIN" /> |
36 | 40 | <category android:name="android.intent.category.LAUNCHER" /> |