• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to connect to a local server from J2ME enabled i88s phone?

 
Vaibhav Sanas
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi !
I've developed a client-server application in J2ME. This application works fine when run from emulator. It connects to the server, gets the data from the server and displays it on emulator screen. But when the application is installed and run from the phone, it fails to connect to the server.
Environment details are as follows:
Client: Motorola's i88s phone.
Service provider: Nextel
The application is developed using Motorola iDEN SDK.
Emulators used for testing the application are: J2ME Wireless Toolkit 2.0 and Motorola iDEN Emulator.
Nextel's Data plans on client(i88s phone): packet stream. ( Also tried with 'PowerApps' plan)
Server : Tomcat 4.0 in LAN.
Software used to load the application on the phone: iDEN WEBJal( Java Application loader )
Name of the application: Drivers Handheld application.
Did anybody come across the similar problem? Do I need to have any other data plans from Nextel? Or is there any special configuration needed on the server side? Do I need to have any subscription/permission from Nextel or Motorola in order to make my phone enable to talk with my local server?
I've been talking with Motorola and Nextel's software and developer groups for more than 2 weeks now. Any suggestions/solution are highly appreciated.
~Vaibhav.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What exactly is the error message? Have you tried any other network aware MIDP application on your phone? As I understand it, you can only provision your MIDlet to NexTel phones via its MAM. But I might be wrong ...
 
Vaibhav Sanas
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Michael,
I dont get any error message, the application just gets stuck after displaying message "Ph2Server Starting ..." ( Ph2Server is the name of my application ). This shows that the application tries to connect to my local server but doesnt get its attempt successsfull.
I have tried other MIDP network applications on this phone and they work...They can talk to yahoo and nextel servers.
By the way what is MAM ?
let me know if you have any suggestions.
~Vaibhav.
 
Michael Yuan
author
Ranch Hand
Posts: 1427
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you check your Tomcat log to see whether it logs a connection from the device? Also, try a direct IP URL if you were using DNS names before.
MAM is Mobile Application Manager. Since you already installed the app on the device, you already passed this step.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic