android - Activity Recognition API get state of user in background -


so, using activity recognition api , measuring still, walking, on foot - idea, app.

now issue having when quit app doesn't in background, want count number of hours person inactive or still during day, how can achieve this. using broadcast reciever activity recognition api.

any great.

thanks in advance :d

try use background service activity -> background service ->start activity detection


Comments

Popular posts from this blog

android - net_scheduler holding wakelock -

sql - MySQL : Getting Entries from a many-to-many table -

java - Retrieving data from database using jsp (Hibernate + Spring + Maven) -