• R/O
  • HTTP
  • SSH
  • HTTPS

提交

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

development


Commit MetaInfo

修订版27626c03e4db54d1edfaa28f10bef1ef9ded9995 (tree)
时间2010-06-04 05:38:57
作者Dan Egnor <egnor@goog...>
CommiterDan Egnor

Log Message

Add API key to BackupRestore sample code.

Change-Id: If80cbceffc213fdc6059fe22bf0e24520fba5f2d
Bug: 2735063

更改概述

差异

--- a/samples/BackupRestore/AndroidManifest.xml
+++ b/samples/BackupRestore/AndroidManifest.xml
@@ -30,7 +30,11 @@
3030 <application android:label="Backup/Restore"
3131 android:backupAgent="ExampleAgent">
3232
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">
3438 <intent-filter>
3539 <action android:name="android.intent.action.MAIN" />
3640 <category android:name="android.intent.category.LAUNCHER" />