I am creating an app to send (and receive) hardcoded gmail messages
from a single button click. I was able to get the android javamail
components running by using the example at 
http://www.androidsnippets.org/snippets/166/.
To get the android javax components working I downloaded mail.jar,
activation.jar, and additional.jar from 
http://code.google.com/p/javamail-android/downloads/list
and added them to my project as "Referenced Libraries." So now I get
"could not connect to smtp host smtp.gmail.com port 465" but I doubt
this is an Android problem. I also don't think it is a firewall,
proxy, or virus scan issue since it is happening on both the desktop
development environment and the target (nexusone). I have also tried
port 587 which has worked for some when 465 didn't. Oh well, it could
be worse.


On Jun 24, 8:44 am, Mark Murphy <[email protected]> wrote:
> On Thu, Jun 24, 2010 at 8:29 AM, jack.n <[email protected]> wrote:
> > This may be a dumb question, but how do I add the Mail Java API App
> > Engine classes to an Android project?
>
> You don't. You add Mail Java API App Engine classes to an App Engine
> project, to run on App Engine (or an App Engine-compatible host).
> Android does not run on App Engine; App Engine does not run on
> Android.
>
> > Android, Java programming, XML,
> > and the Eclipse development environment are (unfortunately) all new to
> > me and I didn't find a quick answer in any of the CommonsWare Android
> > books.
>
> Because I don't cover App Engine, and the Mail Java API App Engine
> classes have nothing to do with Android, any more than they have to do
> with can openers, AFAIK.
>
> Can we back up a few steps? Ignore App Engine and the Mail Java API
> App Engine classes for a bit. What is it that you're trying to do,
> from a high level standpoint?
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to