Hi.
It is well known that if a Android user has the option “Do not keep activities” checked in the device settings (Settings -> Developer options -> Do not keep activities), any application that uses access to the camera or Photo Album will by closed by the system as soon as the application go to the camera/album.
I noticed that some games, to prevent that problem, identifies if the user has that option checked and if so, it shows an alert to the user as the image below (click in the image to see it in full res).
[sharedmedia=core:attachments:364]
I searched in internet and appears that the system variable that provides the info if that option is checked or not is the Settings.Global.ALWAYS_FINISH_ACTIVITIES.
Does Corona provides a way to me to read that variable so I can alert the user to unchecked it if the case?
(I have a game that creates a puzzle using the user’s photo from the Album/Camera and when the user has that option checked, the game is closed by the system. So when the user select his picture and goes back to the game, the game starts from the beginning, making impossible to the user to create the puzzle. That problem is making the game users to leave bad reviews of my games in the store because they think that my game does not work.)
Thanks,
Renato
Related links:
http://stackoverflow.com/questions/11649949/how-to-know-dont-keep-activities-is-enabled-in-ics