| Reply | « Previous Thread | Next Thread » |
|
Hi all,
In order to get familiar with the tools for j2me programming, I am currently using this book: Bluetooth Application programming with Java Apis by Kumar/Kline/T. I have copied the codes provided in the book to run them (page 45 through 50) for client-server communication but unfortunately when I run the codes I got blank phone display. No activities going on the phone neither for client, nor on the server and midlet codes. I am using three classes (BluetoothMIDlet.java,HelloClient.java,HelloServer.java) in my src folder. No error or warning shown so far. Tools used: Eclipse, EclipseMe, java wireless toolkit. My aim is to be able to send any text from one phone(client) to another (server)..... Can you please help ? does anyone have working codes for this purpose ? thank you for reading...! /H
Last edited by heroine : 2006-11-27 at 01:49.
|
|
To test the client-server application you need to run the bluetooth server first and then the client within the WTK. The first step in the client app should be to perform a device discovery that will find the other device.
You could verify that the application is working by printing some debugging messages that will be displayed in the console. |
|
hey,
can u tell me in detail which one is server and which one is client, if u are making same phone as clent and server then u may get the problem, try it with two different phones that i think u will be able to acheive what u want. with regards, siva_guduru. |
| siva_guduru |
| View Public Profile |
| Find all posts by siva_guduru |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| TinyLine SVG Minute Toolkit: Optimizing SVG for J2ME | girow | Mobile Java Media (Graphics & Sounds) | 0 | 2003-05-05 19:44 |
| TinyLine SVG Minute Toolkit for J2ME: version 1.4 released | girow | Mobile Java General | 0 | 2003-05-05 17:25 |
| run j2me application as service | imjdev | Mobile Java General | 2 | 2003-04-24 11:47 |
| who run the socket sample successful? | chinazou305 | Symbian Networking & Messaging | 1 | 2002-12-19 00:33 |
| Nokia Series 60 MIDP SDK Beta 0.1 and J2ME WTK 1.04 | raymondyau | Mobile Java Tools & SDKs | 6 | 2002-10-08 11:28 |