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
[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 - Open Mail client and Web browser

Open Mail client and Web browser

All your problems with Audio, Video and Images.

Open Mail client and Web browser

Postby and.modi » Fri Dec 12, 2008 8:15 pm

Hi,
I have one activity in my project which shows my email address and my wewb page..
I want to konw that how can make that text clickable so whenver user clicks on my email id it will open the default email client and clicks on wewb link it opens the web browser.
How can I do this?
I am using string from strings.xml file. So should I have to change that for that?
Thanks,
Mitul Modi
and.modi
Junior Developer
Junior Developer
 
Posts: 14
Joined: Sat Jul 26, 2008 9:17 am

Top

Postby haden » Thu Dec 18, 2008 3:23 pm

You can try this.

//for emails
android.text.util.Linkify.addLinks(theTextView, EMAIL_ADDRESSES);

//for urls
android.text.util.Linkify.addLinks(myTextView,WEB_URL);
haden
Experienced Developer
Experienced Developer
 
Posts: 74
Joined: Thu Sep 11, 2008 11:51 am

Top

Return to Multimedia Problems

Who is online

Users browsing this forum: No registered users and 8 guests