Hello,
I'm developing and app with a backround service to register user GPS location every 15 minutes, Until now, every thing is cool using AlamrManager module to schedule my service in background. My Gps_service sends data to a PHP webservice(JSON).
But when the phone is asleep(during 30 minutes), my service couldn't send data,(Because data connectivity goes asleep, Wifi/3g) i tried to user android wakelock permission even vibrate to wake the device but the operation is random, sometimes it works, others none.
Could someone help me ? How can i use the android permission wakelock ? i simply added it to my tiapp.xml ? How to force the phone to be wake?
I'm using Ti sdk 3.4.1
Best regards.