Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Diagnose alarm failure on HTC One / lollipop

I am developing an alarm app which works on every device I've tried except an HTC One with Android lollipop. The app UI all works as expected, but when the alarm is due to ring, nothing happens, no sound and no "Stop" button.

Unfortunately the HTC one is not mine, so I only have infrequent and brief access to it, I can't connect it to my PC to view the logs. I have Genymotion, but it only has an emulation of an HTC One with Android 4.4. My alarm worked perfectly on that. I've also tried both an xperia Z and a galaxy SIII both with lollipop, and it worked fine on those. It also worked of a variety of other devices with earlier versions of android.

So I am hoping for some possible explanations, or some possible mechanisms for diagnosing the problem. Or perhaps some alternative device that is available in genymotion that has some key features in common with the HTC.

EDIT: FYI the phone was not rebooted between the setting of the alarm and the time for the alarm to ring. Indeed the test was just setting the alarm to go off in one minute.

EDIT: This app is actually an old unfinished project that I am resurrecting. I have been using the beta version as my own personal alarm (not just wake-up, but meetings on specific dates, and a count-down timer too). It has worked reliably for me for over a year without a problem, on a galaxy sII and sIII. The alarms remain active even after powering down and rebooting.

like image 622
Mick Avatar asked Jun 19 '15 21:06

Mick


1 Answers

have you tried cleaning the cache of the app? I have had some similar experience on 4.4 with various apks not working properly and the simple solution was to clean the cache of the app

-Penina Mezei

like image 88
Penina Mezei Avatar answered Sep 22 '22 09:09

Penina Mezei