Is there a way to make an android app where: When the phone is idle, the phone wakes up for a minute, connects to a bluetooth device, receives/sends information to the device, processes some information and then goes back to idle mode (both cpu and the bluetooth radio shuts off), repeating this process every 20 mins?
Asked
Active
Viewed 145 times
0
-
That sounds like a pretty drastic battery drainer.. – Cheryl Simon Jan 14 '11 at 19:03
-
yeah...i know..but i want the most efficient way of doing it – i_raqz Jan 22 '11 at 06:49
1 Answers
1
It sounds like you may require the functionality in AlarmManager. Also, refer to this question here on SO for some example code: Android: How to use AlarmManager.

Community
- 1
- 1

WorkerThread
- 2,195
- 2
- 19
- 23