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
  • 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

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
print map entry 34 72
tomcat startup error 5 104
Chrome and Firefox Java 5 51
add projects t working set in maven 2 23
INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

828 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