this application will run in mobile phones

Posted on 2003-11-22
Last Modified: 2013-11-24
     i have done the application in j2me  for mobile is used to check the mail from pop3 server.i gets the username and password from the user and i used java mail API to used to connect to the pop3 server and read the mail.
then this application will run in the mobile phones.the java mail API   is in the javax pakage.
tell me this will work in the mobile phones, if not tell me how to connect to the pop3 server to read the mail in the accont.
Question by:deeppradeep
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
LVL 35

Accepted Solution

TimYates earned 20 total points
ID: 9804721
I don't think javamail works on J2ME...

What you will have to do, is write a servlet which checks email using j2me, then call the servlet from your j2me application...

That should work ok :-)

Hope this helps!

LVL 35

Expert Comment

ID: 9804732

Author Comment

ID: 9806202
fine, i have the same idea of creating servlet, but how can i connect to the servlet and send the parameter to the servlet. i think this can do with the HTTPconnection class and then what r r the properties to me set like content length,content type,ect..
or i can send the parameter through the url to the servlet
tell me what to do?
and i dont had server on my own.can u tell me any free servers to upload upload my servlet and use it in my application.

LVL 35

Expert Comment

ID: 9806352
> but how can i connect to the servlet and send the parameter to the servlet.

That linik has source code which should show you...

yeah, HTTPConnection should do it :-)

> can u tell me any free servers to upload upload my servlet and use it in my application.

seems to do it...

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
jboss wildfly 10.1 10 439
ejb wildfly example 2 75
ejb message driven bean mdb creation steps 2 37
Eclipse for Java EE development 2 46
Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
I had a project requirement for a displaying a user workbench .This workbench would consist multiple data grids .In each grid the user will be able to see a large number of data. These data grids should allow the user to 1. Sort 2. Export the …
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question