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. Tanya rom magic 2.1 apps2sd

Guys,
Yg masih ngoprek htc magic, numpang tanya dong, sekarang rom magic yg eclair
dan support apps2sd rom yg mana ya?

Dah lama ninggalin magic, skrg lagi mau ngoprekin lagi :-)

TIA

Salam,

Lucky Sebastian

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

2. super.onResume() at beginning or end of method? Does it matter?

I'm not positive about this, but I have never run into any issues
doing it the following way: In any method that runs when something
starts [ie: onCreate, onResume], I call through to super FIRST,
allowing the system to start up whatever it needs to before I do
anything. On methods that run when it closes [ie: onPause] I call
through to super AFTER all my closing logic. This way just makes sense
to me... Maybe someone with more technical knowledge could explain
this more accurately :)

-Nick






-- 

3. Paging androider Lampung

4. Ads in apps... How to successfully generate a larger revenue?

5. Langkah-langkah MengRoot

6. hangup outgoing call programmatically - is this even possible?

7. Rootcertificates