Is it possible to set the preview image for an Android Wear watch face dynamically? -


typically, preview of watch face set through wear module's manifest; e.g.:

<service     android:name=".analogwatchfaceservice"     android:label="@string/analog_name"     android:allowembedded="true"     android:taskaffinity=""     android:permission="android.permission.bind_wallpaper" >     <meta-data         android:name="android.service.wallpaper"         android:resource="@xml/watch_face" />     <meta-data         android:name="com.google.android.wearable.watchface.preview"         android:resource="@drawable/preview_analog" />     <meta-data         android:name="com.google.android.wearable.watchface.preview_circular"         android:resource="@drawable/preview_analog_circular" />     <intent-filter>         <action android:name="android.service.wallpaper.wallpaperservice" />         <category             android:name=             "com.google.android.wearable.watchface.category.watch_face" />     </intent-filter> </service> 

my watch face has selection of backgrounds, , think neat show last selected background in preview. can com.google.android.wearable.watchface.preview , circular counterpart set programmatically?

no, unfortunately not provide option @ moment. file bug improving this.


Comments

Popular posts from this blog

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - UML - How would you draw a try catch in a sequence diagram? -

c++ - No viable overloaded operator for references a map -