I want to get the Time that the user spends on my App and display it to the user (similar to Instagram). I want to know it for my app only, and not all apps on the users device.
How can I do this?
I want to get the Time that the user spends on my App and display it to the user (similar to Instagram). I want to know it for my app only, and not all apps on the users device.
How can I do this?
I think the easiest is to create a timer that is bound to the application lifecycle. From there, consider the best way to consume less battery