Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/session.php on line 1007: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781

Strict Standards: Non-static method utf_normalizer::nfc() should not be called statically in /www/htdocs/w006661d/anddev/includes/utf/utf_tools.php on line 1781
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4362: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4364: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4365: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
[phpBB Debug] PHP Notice: in file /includes/functions.php on line 4366: Cannot modify header information - headers already sent by (output started at /includes/utf/utf_tools.php:1781)
anddev.org • View topic - Search default activity or apps

Search default activity or apps

Put your problem here if it does not fit any of the other categories.

Search default activity or apps

Postby jaumard » Fri Sep 10, 2010 11:06 am

Hello,

I search a way to open default activity "alarms" of the phone.

For the moment I use :
Syntax: [ Download ] [ Hide ]
Using java Syntax Highlighting
  1. Intent intenta = new Intent();
  2. intenta.setClassName("com.android.deskclock","com.android.deskclock.AlarmClock");
  3.  
  4. PendingIntent pendingintent = PendingIntent.getActivity(context, 0,intenta, 0);
  5. updateViews.setOnClickPendingIntent(R.id.heure, pendingintent);
  6.  
  7.  
Parsed in 0.012 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
jaumard
Freshman
Freshman
 
Posts: 8
Joined: Sat Aug 21, 2010 1:51 pm

Top

Return to Other Coding-Problems

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 10 guests