Time in the widget jump to clock.
It is hoped that clicking on the time in the widget can jump to the clock, just like clicking on the date jumps to the calendar.
@Bear808 So, opening the clock app relies on AlarmClock.ACTION_SHOW_ALARMS, but that’s not guaranteed to exist on every device. It’s part of Android’s AlarmClock API, but it only works if the device actually has a clock or alarms app that can handle that intent.
Some manufacturers, custom ROMs, or certain OEMs either don’t include a default clock app, or their clock app doesn’t declare ACTION_SHOW_ALARMS in the manifest.t
Hi @PranshulGG,
There is a similar feature on Breezy Weather that works when clicking on the clock on any widget that includes the time. It automatically opens the default clock app (even non-stock apps work, tried with foss clock app called Chrono on Samsung device)
Could that feature still exist on Weather Master even if some OEM's don't have default clock app and/or declare ACTION_SHOW_ALARMS as you said ? Maybe worth taking a look at Breezy Weather approach of this useful feature.
@realgooseman
This is the discussion on Breezy Weather: https://github.com/breezy-weather/breezy-weather/discussions/2313
About the same thing, I believe my app will open any app that contains ACTION_SHOW_ALARMS in its manifest.