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 - Accessing email client configuration

Accessing email client configuration

Common bugs/problems with the Android SDK the Emulator and the ADT-Plugin.

Accessing email client configuration

Postby shardulp » Thu Oct 28, 2010 12:41 pm

Hello,
I am creating send email application which uses default email client shipped with android.

There are some "I dont wants" in the default client so I was planning to do the sending programmatically, using may b JAVA Mail API.

So I was thinking is there a way , some content URI that can provide me details of default email client configuration?
I want to know if client is configured or not ? And what are client settings such as Username password ports and stuff..
shardulp
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 28, 2010 7:42 am

Top

Re: Accessing email client configuration

Postby jayesh.thadani » Thu Nov 18, 2010 8:03 am

startActivity to load email application..

startActivity(Intent.ACTION_VIEW,Uri.parse("mailto:tom@example.com"));

Put startActivity in try and catch ActivityNotfoundException and try to resolve it.

Thanks,
Jayesh
jayesh.thadani
Junior Developer
Junior Developer
 
Posts: 18
Joined: Tue Jan 13, 2009 2:50 pm
Location: India

Re: Accessing email client configuration

Postby shardulp » Thu Nov 18, 2010 8:08 am

Thanx, but thats not what I was looking for, I want to read configuration information from Email client,
that is if user has setup his account with some abc@xyz.com email and has port something 80 and like wise.
shardulp
Freshman
Freshman
 
Posts: 6
Joined: Thu Oct 28, 2010 7:42 am

Top

Return to SDK/ADT/Emulator Problems

Who is online

Users browsing this forum: No registered users and 4 guests