FORUMS

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

1 posts
Thanks Meter: 0
 
By drkstr01, Junior Member on 3rd September 2014, 04:44 PM
Post Reply Subscribe to Thread Email Thread
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: 90
 
Donate to Me
More
+1,
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: 602
 
More
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