android - How to clear history of an activity when i use onActivityResult -


i capturing multiple pictures using camera intent in activity (say activity b). onactivityresult not called if add android:nohistory="true" or android:launchmode="singleinstance". then, may know clear activity history in application. because whenever hit button opened activity (say activity a) same activity keep calling.. know can able call activity in activity calling activity b non-activity extends pageradapter fullscreenimagedisplay.

please check below code.

@override protected void onactivityresult(int requestcode, int resultcode, intent data) {     switch(resultcode)     {     case result_close_all:         setresult(result_close_all);         finish();     }     super.onactivityresult(requestcode, resultcode, data); } 

let me know if code may or not.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -