Enable the built-in alarm:
Intent intent = new intent ();
Intent. setaction ("android. Intent. Action. set_alarm ");
Startactivity (intent );
Enable all programs:
Startactivity (new intent ("android. provider. settings. action_manage_all_application_settings "));
Enable the details of a specified program:
// Obtain all packagename
Packagemanager PM = getpackagemanager ();
List <packageinfo> packanames = PM. getinstalledpackage (packagemanager. get_activities );
For (INT I = 0; I <packanames. Size (); I ++ ){
String packagename = packanames. Get (I). packagename;
}
// Here, packagename is the packagename above, which specifies the name of the activity package. Of course, because not all of them are specified, we recommend that you select the specified method.
Intent intent = new intent ("android. provider. settings. action_application_details_settings, Uri. parse (" package: "+ packagename )");
Startactivity (intent );