282930313233343536
/** * @see ScriptableFunctionBase#execute(Object, Object[]) */ public Object execute( Object thiz, Object[] args ) { Application app = Application.getApplication(); app.requestForeground(); return UNDEFINED; } }
126127128129130131132133134135136
_mv = (MapView) context; // Get the UiApplication instance and display the GUI screen. final UiApplication app = UiApplication.getUiApplication(); app.pushScreen(new MapsMenuItemScreen(_mv)); app.requestForeground(); } return null; } }
425426427428429430431432433434435
final DemoMessageScreen previewScreen = new DemoMessageScreen(message); final UiApplication uiApplication = UiApplication.getUiApplication(); uiApplication.pushScreen(previewScreen); uiApplication.requestForeground(); } return context; } /**