diff --git a/docs/html/training/wearables/apps/packaging.jd b/docs/html/training/wearables/apps/packaging.jd index 3660099334b63..d09cd08e4c32d 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.

    -
  1. Copy the signed wearable app into your handheld project's assets/ directory, - referred to as path/to/wearable_app.apk.
  2. +
  3. Copy the signed wearable app to your handheld project's res/raw directory. We'll + refer to the APK as wearable_app.apk.
  4. Create a 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.