javax.mail.internet.InternetAddress cannot be found?

by Noam » Mon, 09 Mar 2009 10:12:25 GMT


Sponsored Links
 Hello everyone,
I am using Eclipse to develop and application for the android
platform.
When I try to tell it "import javax.mail.internet.InternetAddress", it
does not recognize it.
Does anyone know why?

Thanks,
Noam.
--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Noam » Mon, 09 Mar 2009 21:12:48 GMT


 bump



--~--~---------~--~----~------------~-------~--~----~


Sponsored Links


javax.mail.internet.InternetAddress cannot be found?

by Al Sutton » Mon, 09 Mar 2009 21:30:37 GMT


 unbump.

Now try reading the SDK documentation.

Al.






-- 

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Noam » Tue, 10 Mar 2009 06:08:02 GMT


 Could anyone please answer this in a detailed manner?

Thanks,
Noam.
--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Mark Murphy » Tue, 10 Mar 2009 06:38:20 GMT


 


Android does not ship with JavaMail. javax.mail.internet.InternetAddress
is a JavaMail class. Ergo, unless you are taking steps to add JavaMail
specifically to your project, javax.mail.internet.InternetAddress will
not be available to you.

Mr. Sutton's comment regarding the SDK documentation was probably
pointing out that the documentation does not say
javax.mail.internet.InternetAddress is available in Android.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Noam » Tue, 10 Mar 2009 07:47:13 GMT


 If that is so, how is google using it in their program?

 http://code.google.com/p/salesforceandroid/source/browse/trunk/SalesforceAndroid/src/com/android/salesforce/operation/ErrorLogMailSender.java?spec=svn72& ;r=72
--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Mark Murphy » Tue, 10 Mar 2009 07:51:14 GMT


 


FWIW, I see no evidence that Google is writing that program.

Presumably, they are importing the source code or the JAR of JavaMail
with their application.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
_The Busy Coder's Guide to Android Development_ Version 2.0 Available!

--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Noam » Tue, 10 Mar 2009 08:30:09 GMT


 Could I import the JAR of JavaMail into my Application also?
--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Mark Murphy » Tue, 10 Mar 2009 08:31:28 GMT


 


You can try. I had problems the last time I tried, but I didn't try very
hard, and presumably the project you cited has it working.

You might wish to contact them for advice.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 

Android Training on the Ranch! -- Mar 16-20, 2009
 http://www.bignerdranch.com/schedule.shtml 

--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Noam » Tue, 10 Mar 2009 09:38:34 GMT


 Where could I download the JAR?
--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Al Sutton » Tue, 10 Mar 2009 15:37:08 GMT


 Can I suggest moving this over to the Android-Beginners google group?

Al.







-- 

* Written an Android App? - List it at  http://andappstore.com/  *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~---------~--~----~------------~-------~--~----~



javax.mail.internet.InternetAddress cannot be found?

by Noam » Tue, 10 Mar 2009 21:24:48 GMT


 If you say so
--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. Notice for Free Google TV Box

Google is not SantaClaus

On Thu, Nov 4, 2010 at 11:07 PM, Maps.Huge.Info (Maps API Guru)


> 

2. How to use bringchildtofront in List

Hi All,


Please suggest me how to use bringchildtofront in the listview of an
activity.


Please suggest any example of it or something.


--
D

-- 

3. Console prompt is getting now

4. how to customize theme of default home application

5. OOT foto2 merapi

6. Listener for ListItem click

7. ConcurrentModificationException in SQLite