How to stop AlarmClock in Android? -
itemprop = "text">
I want to use an alarm clock I found the seller and did not know how to stop this alarm Any help to catch?
PackageManager PackageManager = getApplicationContext (). GetPackageManager (); Intimacy AlarmClock transmitted = new intent (intestinal_action) .addcategory (intestine. CATEGORY_LAUNCHER); // clock implementation string clock [] [] = {{"HTC Alarm Clock", "com.htc.android.worldclock", "com.htc.android.worldclock.WorldClockTabControl"}, {"stander alarm clock", " Com.android.deskclock "," com.android.deskclock.AlarmClock "}, {" frio nexus alarm clock "," com.google.android.deskclock "," com.android.deskclock.DeskClock "}, {" motto Blur Alarm Clock "," Comm. Mautola Blur, AlarmClock "," Comm. Moutola Blower, AlarmClock, AlarmClock "}, {" Samsung Galaxy Clock "," Comm. Sand.Android, App ClockPackage "," Com. Sec.android.app.clockpackage.ClockPackage "}, {" S Tender Alarm Clock 2 "," com.google.android.deskclock "," com.android.deskclock.AlarmClock "}, {" Sony Ericsson Xperia Z "," Com.sonyericsson.organizer "," com.sonyericsson.organizer. Organizer_WorldClock "}}; Boolean foundClockImpl = false; For (int i = 0; i " + Vendor, "---- & gt;" + PackageName + Classname); FoundClockImpl = True; } Hold (NameNotFoundException E) {Log.e ("+ + Vendor," does not exist); }} If (foundClockImpl) {// what can I do here ??? }
Comments
Post a Comment