Call OnLowMemory

I am making an application that accesses gprs. I run into a problem when a user launches another application that uses gprs, just like google maps. It takes on its own heap memory, after performing some operation in the Maps application, it calls OnLowMemory of my service. And my ui is also killed in the background. I am not getting any correct tutorial on whether I can launch my application when it is killed during onLowMemory, or is there any other way to handle this.

Thanks in advance.

+3
source share
1 answer

. Android , , . , . , , - .

, , , , .., ?

+5

Source: https://habr.com/ru/post/1744118/


All Articles