Reputation: 11920
I am working with some Android wearables that do not support downloads from Playstore.
If we happen to ship these devices, we install our Android application prior to shipping. This works great.
I am looking at ways to install our application on those wearables that the customers purchased directly.
In our case, the wearable is typically paired with another Android device (typically a phone). My thought is to write an application for the phone that may communicate with the wearable either via Bluetooth or on adb port (if possible).
If I could communicate via adb TCP port, I can install the apk from the mobile phone onto the wearable. Are there any programmatic interfaces available that an Android application can consume?
Otherwise, is there any other way to connect via Bluetooth and push the .apk?
There are many links on automating install via adb from the desktop. However, in my case, the install has to happen from the mobile phone and not from the desktop. Regards.
Upvotes: 1
Views: 671
Reputation: 2528
Package the wearable inside a companion application for the phone (even an empty one with no launcher icon would do the job), and they should get installed to any paired wearable device when the app is installed on the phone.
Upvotes: 1