Intent callIntent =
new
Intent(Intent.ACTION_CALL,Uri.parse(
"tel:12345678"
));
startActivity(callIntent);
Intent dialIntent =
new
Intent(Intent.ACTION_DIAL,Uri.parse(
"tel:12345678"
));
startActivity(dialIntent);
Intent touchDialerIntent =
new
Intent(
"com.android.phone.action.TOUCH_DIALER"
);
startActivity(touchDialerIntent);
Intent webIntent =
new
Intent(Intent.ACTION_VIEW,Uri.parse(
"http://www.baidu.com"
));
startActivity(webIntent);
Intent contactListIntent =
new
Intent(
"com.android.contacts.action.LIST_CONTACTS"
);
startActivity(contactListIntent);
Intent settingsIntent =
new
Intent(
"android.settings.SETTINGS"
);
startActivity(settingsIntent);
Intent wifiSettingsIntent =
new
Intent(
"android.settings.WIFI_SETTINGS"
);
startActivity(wifiSettingsIntent);
Intent audioIntent =
new
Intent(Intent.ACTION_GET_CONTENT);
audioIntent.setType(
"audio/*"
);
startActivity(Intent.createChooser(audioIntent,
"选择音频程序"
));
Intent gohomeIntent =
new
Intent(
"android.intent.action.MAIN"
);
gohomeIntent.addCategory(
"android.intent.category.HOME"
);
startActivity(gohomeIntent);