diff options
author | Robert Ly <robertly@google.com> | 2014-07-09 09:23:23 -0700 |
---|---|---|
committer | Robert Ly <robertly@google.com> | 2014-07-09 09:23:23 -0700 |
commit | 6d36bbe11b884a90f363e479e5da4b560b33dceb (patch) | |
tree | 90e96c4d46119889f9c1592a3dc2028ae51ecfe9 /docs | |
parent | 106ecfdca7a6a9403fd4f539ad7d8af0b2d54f91 (diff) | |
download | frameworks_base-6d36bbe11b884a90f363e479e5da4b560b33dceb.zip frameworks_base-6d36bbe11b884a90f363e479e5da4b560b33dceb.tar.gz frameworks_base-6d36bbe11b884a90f363e479e5da4b560b33dceb.tar.bz2 |
docs: fix wear packaging for paid apps instructions
Change-Id: Ibf2cbe2e4bcb7e998665b10c5632c786dcc90e76
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/training/wearables/apps/packaging.jd | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/docs/html/training/wearables/apps/packaging.jd b/docs/html/training/wearables/apps/packaging.jd index 3660099..d09cd08 100644 --- a/docs/html/training/wearables/apps/packaging.jd +++ b/docs/html/training/wearables/apps/packaging.jd @@ -102,22 +102,23 @@ if you are using another IDE or another method of building. </p> <ol> - <li>Copy the signed wearable app into your handheld project's <code>assets/</code> directory, - referred to as <code>path/to/wearable_app.apk</code>.</li> + <li>Copy the signed wearable app to your handheld project's <code>res/raw</code> directory. We'll + refer to the APK as <code>wearable_app.apk</code>.</li> <li>Create a <code>res/xml/wearable_app_desc.xml</code> file that contains the version and path information of the wearable app: <pre> <wearableApp package="com.google.android.wearable.myapp"> - <versionCode>1</versionCode> - <versionName>1.0</versionName> - <path>path/to/wearable_app.apk</path> + <versionCode>1</versionCode> + <versionName>1.0</versionName> + <rawPathResId>wearable_app</rawPathResId> <!-- Do not include the .apk extension --> </wearableApp> </pre> + <p> The <code>package</code>, <code>versionCode</code>, and <code>versionName</code> are the -same as values specified in the wearable app's <code>AndroidManifest.xml</code> file. -The path is the full path of <code>wearable_app.apk</code>, relative to the <code>assets/</code> -directory. +same values specified in the wearable app's <code>AndroidManifest.xml</code> file. +The <code>rawPathResId</code> is the static variable name of the APK resource. For example, +for <code>wearable_app.apk</code>, the static variable name is <code>wearable_app</code>. </p> </li> <li> |