Is any limitation to write widget for devices with amoled display?
Have I to develop any special thing for amoled widget (BurnInProtection flag or something else)?
Is any limitation to write widget for devices with amoled display?
Have I to develop any special thing for amoled widget (BurnInProtection flag or something else)?
I do nothing special with widgets for the venu and venu sq, other than insure things look good on the screen. Unlike forerunners and fenix devices, the widget timeout is only about 40 seconds vs 2 minutes, so based on your widget, something to consider. The input delegate might need some changes, but that's touch vs buttons.
I've served input delegate, there is some problem with venu and venu sq.
User send me video
- screen black
- tap I could see widhet run for 60second
- after 2s screen again black
maybe I have to use backlight function?
btw, there is GlanceViewDelegate class, but no any detail, how it run? How to use it? Maybe I could use it to save data between switching between glance and full view (onStop is not call when I exit form glance)?
btw, there is GlanceViewDelegate class, but no any detail, how it run? How to use it?
It's to handle events that will be defined in the future. For now it doesn't do anything. (As per docs)
developer.garmin.com/.../GlanceViewDelegate.html
The class that represents a glance view delegate, which can be used to relay events happened during widget glance (preview) mode.
Invoked when certain glance event occurs, none for now