[android-beginners] Preferred way of finding out *what* changed in a ContentObserver

2009-12-20 Thread Adam Olsen
, and then create a wrapper object around the ContentProvider to notify these callbacks, but this seems less than optimal. What is the preferred way of going about something like this? Why is the ContentObserver not notified of *what* changed? -- Adam Olsen SendOutCards.com http://www.vimtips.org http

Re: [android-beginners] Using AlarmManager for more than one alarm

2009-12-15 Thread Adam Olsen
Sorry to bump this, but I'm wondering if anyone saw the email. On Fri, Dec 11, 2009 at 2:05 PM, Adam Olsen arol...@gmail.com wrote: Take, for example, the built in Alarm application.  You are able to set multiple alarms in it, and the phone will wake up for each of them to alert you

[android-beginners] Using AlarmManager for more than one alarm

2009-12-13 Thread Adam Olsen
Take, for example, the built in Alarm application. You are able to set multiple alarms in it, and the phone will wake up for each of them to alert you. In a situation like that, I imagine the PendingIntent for each alarm would look very similar: Intent intent = new Intent(this,

[android-beginners] Keeping a background Service running after the main Activity closes

2009-12-13 Thread Adam Olsen
The documentation states that a Service started with startService() will continue running until stopService() or stopSelf() is called, however, I'm having trouble with this. I've got a Timer and a TimerTask running in my background Service. It's running repeatedly. After closing my main