I search a way to open default activity "alarms" of the phone.
For the moment I use :
Using java Syntax Highlighting
- Intent intenta = new Intent();
- intenta.setClassName("com.android.deskclock","com.android.deskclock.AlarmClock");
- PendingIntent pendingintent = PendingIntent.getActivity(context, 0,intenta, 0);
- updateViews.setOnClickPendingIntent(R.id.heure, pendingintent);
Parsed in 0.011 seconds, using GeSHi 1.0.8.4
My problem is if the default apps of android (AlarmClock) was not on the phone nothing was opened.
Anyone have a idea or solution for me?
Thanks
Cheers
Jim