Nope...

this code retrieves alarms scheduled by Alarm Clock app.

I want to retrieve the alarms scheduled by my app. I want to get it
from the system, and not to save it on a database or content provider.

Thanks!

On Dec 24, 8:18 am, "for android" <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to