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. How to dynamically add Image view inside a for loop

I have the code


int resID = getResources().getIdentifier(  String.valueOf(orginal[0]),
"drawable",  getPackageName());
        imageview.setImageResource(resID);


Orginial[] is an character  array and i wanted to print the image view
inside a for loop with each arraycharacter corresponding to an image
in the Drawable folder

Please Help me to get rid of his code


-- 

2. gesture Color change

Hello sir

i have done a code for gesture color change.
 GestureOverlayView overlay = (GestureOverlayView)
findViewById(R.id.gestures_overlay);
        overlay.setGestureColor(Color.BLACK);

but it works after config change means change after orientaion,
initially shows yellow  .

Please help me

-- 

3. Bluetooth socket connection issue

4. : Android market versi web

5. [isat-android] Wtshare claim nexus one mantap

6. [WTA] Wifi tether native froyo di spica CM a8.3 ga bisa

7. HH android korban banjir Makassar.