Re: [android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Kristopher Micinski
good point :-) kris On Wed, Aug 29, 2012 at 11:56 PM, TreKing wrote: > On Wed, Aug 29, 2012 at 10:49 PM, Jason Hsu wrote: >> >> This app has a settings page, and I want it to AUTOMATICALLY update the >> status of the WiFi, Bluetooth, and GPS functions (on or off). The Bluetooth >> status and t

Re: [android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread TreKing
On Wed, Aug 29, 2012 at 10:49 PM, Jason Hsu wrote: > This app has a settings page, and I want it to AUTOMATICALLY update the > status of the WiFi, Bluetooth, and GPS functions (on or off). The > Bluetooth status and the GPS status lag the action of clicking the > Enable/Disable buttons and thus

Re: [android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Kristopher Micinski
Using an AlarmManager, kris On Wed, Aug 29, 2012 at 11:49 PM, Jason Hsu wrote: > What is the best way to make an Android app AUTOMATICALLY execute a series > of certain commands periodically? > > I just published an app called the Battery Saver Flashlight. The source > code is on GitHub at http

[android-developers] Implementing ScheduledExecutorService (or an alternative)

2012-08-29 Thread Jason Hsu
What is the best way to make an Android app AUTOMATICALLY execute a series of certain commands periodically? I just published an app called the Battery Saver Flashlight. The source code is on GitHub at https://github.com/jhsu-android/BatterySaverFlashlight . This app has a settings page, and