Solved

this application will run in mobile phones

Posted on 2003-11-22
4
371 Views
Last Modified: 2013-11-24
hi,
     i have done the application in j2me  for mobile phones.it 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.
0
Comment
Question by:deeppradeep
  • 3
4 Comments
 
LVL 35

Accepted Solution

by:
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!

Tim
0
 
LVL 35

Expert Comment

by:TimYates
ID: 9804732
0
 

Author Comment

by:deeppradeep
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.

0
 
LVL 35

Expert Comment

by:TimYates
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.

http://www.mycgiserver.com/

seems to do it...
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

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 …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

707 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now