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 and the message is sent? Why did google implement this
mechanism like this, and not with an alarmManager to prevent such a
problem?

Thanks,
Chen Ganir.


On Mar 2, 4:10 pm, Mark Murphy <mmur...@commonsware.com> wrote:
> 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
>
> _Beginning Android_ from Apress Now Available!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to