|
@ -21,18 +21,18 @@ public class OpenOtherApp extends Plugin {
|
21
|
21
|
Intent intent = new Intent();
|
22
|
22
|
intent.setClassName("com.ai.ipu.display", "com.ai.ipu.display.MainActivity");
|
23
|
23
|
intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
|
24
|
|
intent.putExtra("pageAction", pageAction);
|
|
24
|
intent.putExtra("PAGE_ACTION", pageAction);
|
25
|
25
|
|
26
|
26
|
if(params.length() > 1) {
|
27
|
27
|
JSONArray array = params.getJSONArray(1);
|
28
|
28
|
String pageParams = array.getString(0);
|
29
|
29
|
if (pageParams != null && pageParams.length() > 0) {
|
30
|
|
intent.putExtra("pageParams", pageParams);
|
|
30
|
intent.putExtra("PAGE_PARAMS", pageParams);
|
31
|
31
|
}
|
32
|
32
|
|
33
|
33
|
String contextParams = array.getString(1);
|
34
|
34
|
if (contextParams != null && contextParams.length() > 0) {
|
35
|
|
intent.putExtra("contextParams", contextParams);
|
|
35
|
intent.putExtra("PAGE_CONTEXT", contextParams);
|
36
|
36
|
}
|
37
|
37
|
}
|
38
|
38
|
|