[android-developers] Re: What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

2010-03-04 Thread Chen Ganir
Mark, I posted my question in android-platform but there is no reply there. The second group you recommended (android-framework) does not exist. Do you have any other recommendations i can follow? Thanks, Chen Ganir. On Mar 2, 4:52 pm, Mark Murphy wrote: > Chen Ganir wrote: > > I'm looking at

[android-developers] Re: What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

2010-03-02 Thread Chen Ganir
Thanks Mark, I'll move my question to one of those groups. Chen Ganir. On Mar 2, 4:52 pm, Mark Murphy wrote: > Chen Ganir wrote: > > I'm looking at the BluetoothService. The BluetoothService implements a > > mechanism to disable the discoverable mode after 120 seconds (in > > function setScanMo

Re: [android-developers] Re: What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

2010-03-02 Thread Mark Murphy
Chen Ganir wrote: > I'm looking at the BluetoothService. The BluetoothService implements a > mechanism to disable the discoverable mode after 120 seconds (in > function setScanMode). However, if the system goes to sleep before > that, what happens to the discoverable mode? You assume they are not

[android-developers] Re: What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

2010-03-02 Thread Chen Ganir
Mark, I'm looking at the BluetoothService. The BluetoothService implements a mechanism to disable the discoverable mode after 120 seconds (in function setScanMode). However, if the system goes to sleep before that, what happens to the discoverable mode? It will stay on until the system wakes up an

Re: [android-developers] Re: What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

2010-03-02 Thread Mark Murphy
Chen Ganir wrote: > thanks for the quick response. I see that the AlarmManager is part of > the app package. Is it possible to use it in a system service? What do you consider a "system service" to be? -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy _Beginn

[android-developers] Re: What is the best way to schedule an event that will wake up the phone if it goes into sleep mode?

2010-03-02 Thread Chen Ganir
Hey Mark. thanks for the quick response. I see that the AlarmManager is part of the app package. Is it possible to use it in a system service? Thanks, Chen Ganir. On Mar 2, 3:34 pm, Mark Murphy wrote: > Chen Ganir wrote: > > I was investigating the issue of setting up a delayed activity/event,