Next alarm function needed [Archive] - Samsung Galaxy S Forums : Galaxy S2 S II Forum

: Next alarm function needed



GalaxyUser
09-11-2010, 09:04 AM
I have created an app that reads the next alarm time.
It works fine on all phones apart from galaxy s.
The code is
String Alarm = Settings.System.getString(getContentResolver(),
Settings.System.NEXT_ALARM_FORMATTED);

The app crashes. Any developer managed to get this to work.

imad604
09-14-2010, 09:40 AM
i would ask this question on XDA developers. You'll probably have better luck there.