I launch skype with this code.
Intent skype_intent = new Intent("android.intent.action.VIEW"); skype_intent.setClassName("com.skype.raider", "com.skype.raider.Main"); skype_intent.setData(Uri.parse("skype: skype_name")); startActivity(skype_intent);
It's okay But if there is no skype on the phone, the application crashes. How can I call Skype another way, so that it does not crash the application or make a check for skype on the phone. If you have run the code, if not output "You do not have skype"?