Is there a way to check and see if an Activity exists on your device? If I have a youtube video link I want to specify it open in the YouTube PlayerActivity. However, I don\
I don't think I can catch the runtime exception
Actually, this works:
try { startActivity(new Intent(..)); } catch (ActivityNotFoundException e) { Toast.makeText(this, "Not installed.", LENGTH_SHORT).show(); }