Hi, is there a way for my app to detect memory warnings?
I have written a home security app - and people can add multiple cameras. Depending on their phone memory and camera resolution, memory can eat up soon. I’d like to be able to trap this and issue a warning if the OS triggers a memory warning.
For example, if I detect memory warnings, I will force reduce fps, force image scale down on the server side and possibly after that # of cameras. Much better than the app crashing if someone configures 40 cameras @ 1280x960 !
Is this possible?