Post Reply Subscribe to Thread Email Thread

Activity Recognition stops receiving updates when phone goes to standby(screen off st

3rd September 2014, 04:44 PM   |  #1  
OP Junior Member
Thanks Meter: 0
1 posts
Join Date:Joined: Sep 2014
I am having some trouble with activity recognition. I have implemented it in an app and it works fine when the device's screen is on. I have a log entry in my Activity recognition intent service class and I can see when it gets an update.So, I know it is working fine when the screen is on.

But then after the phone is put to standby(the screen is turned off) it stops detecting the uses activity.

My question: Why does my app stop tracking the uses activity after the device goes to standby mode? And how do I make it not stop detecting the users activity?

Let me know if you need to see any of the code or if you need any more details on my app.
18th December 2014, 06:29 PM   |  #2  
Martini3001's Avatar
Senior Member
Flag Darmstadt
Thanks Meter: 85
283 posts
Join Date:Joined: Feb 2012
Donate to Me
I read your question on SO. Do you got something new?
18th December 2014, 09:25 PM   |  #3  
mohamedrashad's Avatar
Senior Member
Flag ismailia
Thanks Meter: 586
1,043 posts
Join Date:Joined: Nov 2012
the lockscreen app becomes the foreground activity so your app is not detected
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes