Re: [android-developers] How do I create a background loop method

2010-08-31 Thread Mark Murphy
On Tue, Aug 31, 2010 at 7:19 PM, Laxs wrote: > I already read about the AlarmManager and broadcast receiver but I'm > not sure if this is right for my problem. It's the only solution to your problem, given your wake-the-phone-up requirement. Your only alternatives would be to keep the phone on 10

[android-developers] How do I create a background loop method

2010-08-31 Thread Laxs
Hi, I got a problem, I want to call a method every X minutes, if my method got a result it ´should inform the user by vibrating or showing a alertbox. if the method doesn't get a result it should wait for X minutes and restart. What is important, this should also work when the phone turns to sleep