1.判断调用的activity是否存在:
Intent intent =
new Intent(Intent.ACTION_DIAL, Uri.parse("tel:555-2368"));
PackageManager pm = getPackageManager();
ComponentName cn = intent.resolveActivity(pm);
if (cn == null){}
原文:http://www.cnblogs.com/caigaobin/p/5212371.html