Posts

Post marked as unsolved
2.3k Views

How to determine from background if device is in use

HelloI have a request from a customer, which needs to determine from backgorund if the user is interacting with another App in foreground.We don't need further information on what app, what he is doing and so on, just he awaked the phone/turned it back in standby.So the scenario should be: the user launches my app and sends it to the background. Then he forgot about my app, and lives normally, whenever he pickups the phone and awake it, I would be notified (no other informations needed), so my app can do the things my customer needs. The same when the phone is put back in standby.For what I've seen there's no Api to do this, and I understand this may involve privacy, but before give up, I'm asking here for your appreciate help.ThanksNicola.
Asked
Last updated .