Configuring watch faces
Awesome watch faces can be created to delight the wearer; however, users enjoy the ability to customize the final appearance of any personal technology.
How to do it...
Similar to communicating with wearables, our watch face configuration activity manages settings by synchronizing setting selections from the activities to the watch face service:
- We need to create the configuration activity, and apply an
[IntentFilter]
attribute with a specification value that will be used to associate the watch face with this activity:[Activity] [IntentFilter( new[] { "com.xamarincookbook.wearables.CONFIG" }, Categories = new[] { "com.google.android.wearable.watchface.category.WEARABLE_CONFIGURATION", Android.Content.Intent.CategoryDefault ...
Get Xamarin Mobile Development for Android Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.