android - The activity is not restored after back from system camera -


i have activity call system camera take photo , returned photo. activity not restored. printed log , found onpause() called onsaveinstancestate() , onstop() not called after calling system camera. suspend activity killed system because of low memory. onsaveinstancestate() should called if system kills activity, isn't it?

does reasons cause onsaveinstancestate() not called? has workaround problem? have no idea come here.

i know android camera (the garbage collector) 'kills' other applications in case there not enough memory. activities in background, , activity started camera!

might have problem?

see phonegap camera android kills cordova , phonegap camera restarts application

this might heandy: http://developer.android.com/reference/android/app/activity.html can check ondestroy() ... not sure can this..


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -