permaculture playing cards
The moose likes Java Micro Edition and the fly likes http connection problem...... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "http connection problem......" Watch "http connection problem......" New topic

http connection problem......

rajaryan java

Joined: Sep 07, 2006
Posts: 2
Hello Friends,

Presently I am developing a J2ME application. In which I try to connect with remoter server. It's running successfully on emulator and sonny erricson w750i but when I run my application on nokia mobile like 6630, 6600, nothing is happened for long time and afte that connection time out error occured.

I have developed application using MIDP 1.0 and CLDC 1.0. Please tell me what is wrong here.
Mark Spritzler

Joined: Feb 05, 2001
Posts: 17276

What is wrong is basically the main problem with J2ME and devices. While there are great specs out there, vendors don't necessarily implement them correctly. That is where a tool like J2ME Polish comes in. It has a database for each device and what APIs work and don't, so that you can pre-processor your code to include the code that works for specific devices and can create jad and jar files for specific devices, vendor of devices, etc.


Perfect World Programming, LLC - iOS Apps
How to Ask Questions the Smart Way FAQ
rajaryan java

Joined: Sep 07, 2006
Posts: 2
Thnx for reply

Let me try with J2me polish.....
I agree. Here's the link:
subject: http connection problem......
jQuery in Action, 3rd edition