Cursor c= managedQuery(Uri.parse("content://com.android.alarmclock/alarm"),
new String[]{"hour","minutes"}, null,null,null);;
startManagingCursor(c);
int numRows = c.getCount();
c.moveToFirst();
for (int i = 0; i < numRows; i++) {
int hourIndex = c.getColumnIndex("hour");
int minIndex = c.getColumnIndex("minutes");
Log.i("TAG",""+c.getString(hourIndex));
Log.i("TAG",""+c.getString(minIndex));
c.moveToNext();
}
On Tue, Dec 23, 2008 at 6:12 PM, cezar augustus signori <
[email protected]> wrote:
> Hi!
>
> I am wondering if there is a way to retrieve a list of my app's scheduled
> alarms.
>
> Thanks,
> --
> Cezar Augustus Signori
> http://www.linkedin.com/in/cezarsignori
> -- http://www.android-br.mobi
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---