Android Question Wear 2.0 [Solved]

Star-Dust

Expert
Licensed User
Longtime User
Good evening, A few days ago I received an email from Google asking me to aggironare apps made for "ANDROID WEAR" so they can work on the new "WEAR 2.0"

The email says so:


Action requested:
Follow the Android Wear 2.0 App Distribution documentation to make sure your apps are available in the on-watch Play Store. Key steps are listed below:
1. Set your APKs to minSdkVersion 23 or higher and use the runtime permissions model.
2. Target your APKs to watches by requiring "android.hardware.type.watch" in the manifest.
3. Specify whether your APKs are standalone and can run on watches paired to iPhones.
4. Upload your APKs via multi-APK using the Developer Console.



I do not understand how add this in the manifest with B4A:

<manifest package="com.example.standalone"
xmlns:android="http://schemas.android.com/apk/res/android">
<uses-feature
android:name="android.hardware.type.watch"
...
</manifest>


You can help me?
 
Last edited:

Star-Dust

Expert
Licensed User
Longtime User
I solved alone.
I add on Manifest Editor (Menù - Project):

B4X:
AddManifestText(
<uses-feature android:name="android.hardware.type.watch" />
)
AddApplicationText(
<meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
)

Thanks anyway
 
Upvote 0
Top