How to connect to a local server from J2ME enabled i88s phone?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vaibhav_Sanas
Posted On:   Thursday, March 6, 2003 10:06 AM

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 i   More>>

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.

   <<Less

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

Posted By:   james_bond  
Posted On:   Wednesday, March 19, 2003 05:01 AM

i m trying with the same environment and its working fine with simulater when used with tomcat....still to use practically.
if u can help me vaibhav for following problem- with tomcat it was one way communication start i.e. only the client could start the communication however server would respond nicely on request....
To overcome this thing and to make server able to start communication now i m using server socket with StreamConnectionNotifier.acceptAndOpen() method but the problem i m facing is- it gets blocked when given a call to this method however it reads and write on the port...but doesnot allow anyother thread to work....can anybody help me out !! thanks
About | Sitemap | Contact