private static void HandleGPSClick(jQueryEvent e) { e.PreventDefault(); IntentOptions options = new IntentOptions(); options.Action = "android.settings.LOCATION_SOURCE_SETTINGS"; Chameleon.Intent(options); }
private static void SetSwitchState(Dictionary data) { IntentOptions options = new IntentOptions(); options.Component = settings_service_component; options.Data = data; Chameleon.Intent(options); }
private static void HandleBrightnessClick(jQueryEvent e) { e.PreventDefault(); //launch display settings IntentOptions options = new IntentOptions(); options.Action = "android.settings.DISPLAY_SETTINGS"; Chameleon.Intent(options); }
private static void UpdateSwitchStates() { IntentOptions options = new IntentOptions(); options.Component = settings_service_component; options.Result = delegate(Dictionary data) { HandleUpdateSwitchStatesData(data); }; Chameleon.Intent(options); }
private static void LaunchGlobalSettings(jQueryEvent e) { if (e != null) { e.PreventDefault(); } IntentOptions options = new IntentOptions(); options.Action = "android.settings.SETTINGS"; Chameleon.Intent(options); }
private void Intent() { ComponentOptions componentOptions = new ComponentOptions(); componentOptions.Package = "com.twitter.android"; componentOptions.Name = "com.twitter.android.StartActivity"; Chameleon.ComponentExists(componentOptions); IntentOptions intentOptions = new IntentOptions(); intentOptions.Component = componentOptions; intentOptions.Action = "android.intent.action.MAIN"; Chameleon.Intent(intentOptions); }