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); }
/// <summary> /// Determines if the specified component(Activity or Service) exists on this device. /// </summary> /// <returns><c>true</c> if the specified component(Activity or Service) exists on this device, otherwise <c>false</c></returns> public static bool ComponentExists(ComponentOptions options) { return(false); }