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. Help.. Nexus1 NewBie

Buat semua Bos-bos id-android...

Numpang tanya..

Apa aja langkah2 yg musti di"tempuh" Nexus yg baru..

saya udah ngeroot..(sukses).. custom recovery (amon-ra).. apalagi ya?

mohon bantuannya..

-- 
"Indonesian Android Community [id-android]" 

2. K9 ga bs send mail

Kok k9 sy ga bs send email ya? Apa ada yg hrs disetting lg?

Mohon pencerahannya.

-- 
"Indonesian Android Community [id-android]" 

3. Doubts while doing app's with graphics

4. urgent help Integrating code with Android home screen code.

5. IP Adress of android device

6. paging of a listview

7. Modal Dialogs: the definitive solution