How, in android, do I start an app set as the default (i.e. Handcent for Messaging, Dolphin for browsing)?
I can only find how to use definite package names for intents:
Intent i = new Intent(Intent.ACTION_MAIN);
i.addCategory(Intent.CATEGORY_LAUNCHER);
switch (position) {
case 0: //messages
i.setPackage("com.android.mms");
break;
case 1: //inbox
i.setPackage("com.android.email");
break;
case 2: //browser
i.setPackage("com.android.browser");
default:
i = null;
}