I have written the following code in java file in eclipse to make launch of snapchat application on my android device through my application. But when i am running it in my android device it shows "no apps can perform this action".
if(view.getId()==R.id.LaunchSnapchat){
intent= new Intent(android.content.Intent.ACTION_VIEW);
intent.setData(Uri.parse("snapchat://details?id=com.snapchat.android&hl=en&rdid=com.snapchat.android"));
chooser=Intent.createChooser(intent,"Launch Snapchat");
startActivity(chooser);
}
what is the solution??