Android : why Android (cordova) webview reloads on relaunching the activity from other application?

on Thursday, July 31, 2014


I am new to cordova programming Am loading the webview and navigating to third page (single page application) and this app goes background and am trying to bring this app foreground through other application like



Uri mdliveCustomUri = Uri.parse("mdlive://myhost/vsee?result=thankyou");
Intent URILaunchIntent = new Intent(Intent.ACTION_VIEW, mdliveCustomUri);
startActivity(URILaunchIntent);


But my webview is reloaded into first screen. Can anyone tell me how to avoid webview reload and i tried this solutions but am getting app crash (am using three activities)



android:launchMode="singleInstance"
android:alwaysRetainTaskState="true"

0 comments:

Post a Comment