Abstract
I am a Wear OS watch face developer with few existing faces.
I would like to make them available as widgets on the phone.
Ideally, I would like to package the widget with the existing face to give more value to users.
They should be able to run the watch face on the watch and the widget on the phone independently.
Background
Here is a quick glimpse of my AndroidManifest.xml
entries
...
<uses-feature android:name="android.hardware.type.watch" />
...
<meta-data android:name="com.google.android.wearable.standalone" android:value="true" />
...
Mutualizing the code should not be a concern as I suspect the onDraw()
signature to be somewhat similar
Question
Is this possible? If so, what would be the best approach?