Hi all
I have two questions but firstly let me thank Klaus and all that have been involved in creating the Beginner's Guide it’s a real help for beginners like me.
I have created a pedometer type app that works fine on my galaxy s and am testing it on some friends phones but there is a problem on some of the phones, The accelerometer is disabled when the phone goes to standby (Screen timeout) this happens even with PartialLock activated I wonder if anyone could answer these two questions
Q1/ can I detect that the phone is gone to standby from a service(I have established that my services modules still run during standby)
Q2/ can I restart and read the accelerometer from a service while the phone is on standby
I have two questions but firstly let me thank Klaus and all that have been involved in creating the Beginner's Guide it’s a real help for beginners like me.
I have created a pedometer type app that works fine on my galaxy s and am testing it on some friends phones but there is a problem on some of the phones, The accelerometer is disabled when the phone goes to standby (Screen timeout) this happens even with PartialLock activated I wonder if anyone could answer these two questions
Q1/ can I detect that the phone is gone to standby from a service(I have established that my services modules still run during standby)
Q2/ can I restart and read the accelerometer from a service while the phone is on standby