-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot Change watch face after installing of (WatchFaceKotlin) Sample from Android Studio #1199
Comments
The Galaxy Watch 7 doesn't properly support AndroidX-based watch faces. See this banner here: "As of July 10, 2024, watch faces must use the Watch Face Format in order to be installed on new watches that launch with Wear OS 5 pre-installed" For all watch face development going forward, we recommend the Watch Face Format instead of AndroidX. Some WFF samples are available here If you have a particular need to continue to develop watch faces with AndroidX, I'd advise using a development device that didn't come with Wear OS 5 pre-installed, for example, not a Galaxy Watch 7 or a Pixel Watch 3. To remove the watch face, can you try |
@garanj Thank you for the prompt response. |
You would need to split it into two separate apps. A watchface showing the design and accessing data from the system or complications you implement. A second app running a service (that the user is happy to run) that collects data, sends to the server and provides data to the watchface via complications. If the user isn't motivated to let you collect this data for the watchface, then it's arguable that this change is protecting the user from unwanted data collection. |
@yschimke Thank you for the detailed explanation. Are there any resources or examples you would recommend for handling the interaction between the watch face(own) and watch app (own) and the service through complications? |
It's still a different user experience. So don't expect it to be as simple or smooth. And you may need to prompt the user to install the app if the complication isn't available which means the second app isn't installed. But essentially you can define your own default complications point at your app |
@yschimke Thank you! I appreciate your guidance and will go through the information you've provided. |
I downloaded the sample code for (WatchFaceKotlin) and successfully installed the watch face using Android Studio. However, after installation, I am unable to change another the watch face. When I attempt to long-press on the current watch face, nothing happens. The preview is also not available in watch faces list.
Additionally, I checked the Android Studio log and encountered the following error:
[WatchFacePickerFavoritesManagerImpl] mapFavoritesWithFamily(305) > Family not found for favorite=SysUiWatchFaceFavoriteInfo{id=14, watchFaceId=SysUiWatchFaceId[com.example.android.wearable.alpha,com.example.android.wearable.alpha.AnalogWatchFaceService], style={color_style_setting=[B@4a406aa, watch_hand_length_style_setting=[B@55ad29b, draw_hour_pips_style_setting=[B@2b91638}, complicationInfos=[ComplicationInfo{slotId=100, providerComponent=ComponentInfo{com.samsung.android.wearable.sysui/com.google.android.clockwork.sysui.experiences.complications.providers.DayOfWeekProviderService}, type=3, isEnabled=true}, ComplicationInfo{slotId=101, providerComponent=ComponentInfo{com.samsung.android.wearable.sysui/com.google.android.clockwork.sysui.experiences.complications.providers.BatteryProviderService}, type=3, isEnabled=true}], preview=Icon(typ=RESOURCE pkg=com.example.android.wearable.alpha id=0x7f08012c), instanceId=wfId-14, lastUpdatedAt=-1}
I am using
Samsung Galaxy watch 7 (XAWW)
Model name: SM-L300
Could someone please assist me in resolving this issue? Thank you!
The text was updated successfully, but these errors were encountered: