Any Android expert here?
This is source code of my app that monitors screen rotation and rotates touch respectively. The same that is used in latest Android image.
I have a problem with it. After some time (or after high memory pressure?) Android kills my app and it stops working. Does anybody know how to fix it? What can I do to prevent it from being killed?
Details:
It registers for configuration change action on boot completed event. And only at that time. I didn't want the app to be resident in the memory. But configuration change cannot be subscribed from manifest. It has to be subscribed from code - so I think it is resident in the memory, right?
|