From 6d36bbe11b884a90f363e479e5da4b560b33dceb Mon Sep 17 00:00:00 2001
From: Robert Ly
assets/
directory,
- referred to as path/to/wearable_app.apk
.res/raw
directory. We'll
+ refer to the APK as wearable_app.apk
.res/xml/wearable_app_desc.xml
file that contains the version and
path information of the wearable app:
<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> </wearableApp>+
The package
, versionCode
, and versionName
are the
-same as values specified in the wearable app's AndroidManifest.xml
file.
-The path is the full path of wearable_app.apk
, relative to the assets/
-directory.
+same values specified in the wearable app's AndroidManifest.xml
file.
+The rawPathResId
is the static variable name of the APK resource. For example,
+for wearable_app.apk
, the static variable name is wearable_app
.