L
L
Lord Drous2017-10-19 13:23:52
Java
Lord Drous, 2017-10-19 13:23:52

How to catch a person leaving the application?

Hello. At me such task: there is an application. there you need to put "tags" where, for example, a person exits the application. for example, there is a script that enters the application, loads pictures and suddenly it came out, and save this information. I'm not good at analytics

Answer the question

In order to leave comments, you need to log in

3 answer(s)
S
Sergey, 2017-10-19
@red-barbarian

strictly speaking in android do not exit the application. The app nails the system based on priority. starting from empty ones, then those that are hidden, those with services, etc.
empty ones are those that no longer have open activities, but the applications are still hanging.
those. when you close all activities, it is not a fact that the application will close. and when hiding an activity, it is not a fact that it will not be beaten to free memory without completion.
It is possible to make an exit button for the user on which to hang the handler and close the activity.

D
davidnum95, 2017-10-19
@davidnum95

overload onDestroy in activity?

I
Ivan, 2017-10-19
@LenLord

https://tech.yandex.ru/appmetrica/doc/mobile-sdk-d...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question