Hi domnic.. My name is Haryadi.. I just read your massage on java forum now after you posted 1 year.. I think u must be finished and solve all of you this program.. Now, I just take a project same with you.. I so confuse with this project so much.. I hope u want to help me to solve this project problem.. If you will help me, please massage me to my email in h_kewell21@hotmail.com.. Thx be4

If you have not included the avetana in java library path (-Djava.library.path=your_path) do it. If the problem still appears - check what kind of system architecture do you have. I have discovered, that on 64bit it does not work.

I think using JSR82 implementation such as BlueCove or Atinav is not good idea. Them required Widcomm-Software installed or the Bluetooth drivers that Microsoft ships with Windows XP SP2. So what with drivers for IVT Corporation (BlueSoleil) or other less popular? I did not find any library supporting all blutooth devices. Maby better idea could be establish a serial connection (over bluetooth)? In this case PC sever application sholul be work on every machine with any bluetooth device. But i dont't know how to do this in Java... Have anybody a solution of this problem?

i am using jsr75 for directory access of mobile device.
it is working in j2me side. it is taking directory structure of emulator by default.
but i want to access this directory system from j2se. for that what i have to do? Is there any jar file missing?

Hi!all..
I am doing the same thing...in my project actually i want to transfer data from pc to mbile back and forth..using bluetooth
In that i am able to transfer data from mobile to pdesktop pc successfully..
in my application desktop pc is server and mobile j2me application is client....
Now i am able to connect both mobile and pc and as i have told u already i am to send data from mobile to pc and pc receives them and prints them but when i am trying reverse thing my mobile receives data randomly i.e. it may happen that mobile doesn't receive data at all or mobile receives all the data...and in that ratio of not receiving data in mobile at alll is more than receiving successfully....

I have also tried to communicate between two mobiles in which one is server and other mobile is client using same code to receive and send data....they both communicate well successfully back and forth...

but problem is only between pc and mobile....

Another thing i have also tried to make my mobile server and pc as client but in that case when in service search completed method when pc client tries to connect to mobile server which is already successfully in waiting mode the pc throws an exception "java.io.exception : Connection failed"

So i mnot getting the reason why it is happening....

pc server can receive data from mobile client successfully and can slao send data successfully but mobile client doesn't receives or some times receives....

mobile server and mobile client both successfully communicate with each other successfully.......

And mobile server and pc client case mobile server goes into waiting mode but client is not able to connect with server throws and io exception: "Connectionfailed"

So is there any one who has same problem as mine???????

or is there any one who can tell me the reason why it is not receiving data or why connection failed exception is coming?????????

Or is there any one who has done successful communication between pc server and mobile client???????????

if some one is there then plz help me because in my project to transfer data back and forth between mobile and pc is necessary....in any case...

Hi!all..
I am doing the same thing...in my project actually i want to transfer data from pc to mbile back and forth..using bluetooth
In that i am able to transfer data from mobile to pdesktop pc successfully..
in my application desktop pc is server and mobile j2me application is client....
Now i am able to connect both mobile and pc and as i have told u already i am to send data from mobile to pc and pc receives them and prints them but when i am trying reverse thing my mobile receives data randomly i.e. it may happen that mobile doesn't receive data at all or mobile receives all the data...and in that ratio of not receiving data in mobile at alll is more than receiving successfully....

I have also tried to communicate between two mobiles in which one is server and other mobile is client using same code to receive and send data....they both communicate well successfully back and forth...

but problem is only between pc and mobile....

Another thing i have also tried to make my mobile server and pc as client but in that case when in service search completed method when pc client tries to connect to mobile server which is already successfully in waiting mode the pc throws an exception "java.io.exception : Connection failed"

So i mnot getting the reason why it is happening....

pc server can receive data from mobile client successfully and can slao send data successfully but mobile client doesn't receives or some times receives....

mobile server and mobile client both successfully communicate with each other successfully.......

And mobile server and pc client case mobile server goes into waiting mode but client is not able to connect with server throws and io exception: "Connectionfailed"

So is there any one who has same problem as mine???????

or is there any one who can tell me the reason why it is not receiving data or why connection failed exception is coming?????????

Or is there any one who has done successful communication between pc server and mobile client???????????

if some one is there then plz help me because in my project to transfer data back and forth between mobile and pc is necessary....in any case...

Greetings !
We are currently working on the same project but we are not able to identify the bluetooth stack via our usb connections.You think it would be a better idea to switch over to serial port ?
We would like some help and guidance from your sid eif possible.If you could mail me a part of your connection code that would be really appretiated.Also if you know any reference sites that could help us get our way through this mess, it would be more than enough :)
thanking you in advance :D

Now i am able to receive data that's only string in mobile 5300 but there is problem in that...
It is like when it receives data the mobile client show that it is disconnected automatically from the connection..
So after that i am not able to send that data to pc server as before i do anything after service search it first promplt me that it is disconnected...
So i can read the data only once and it shows the exception that"java.io.exception:InputStream is closed"

And after that when try to send that data to pc it shows me exception "Symbian Os error -36" is. disconnected..
As it is obviouse that it is disconnected as it promplts me first...

But the odd behaviour is here that when i m trying to read int it show that available bytes are 4i.e.for integer data type but it reads 0 instead integer pc has send to monile...So in this case it won't automatically get disconnected...So if i send data to pc the application will lwt me to send as many time as i want...

So the observation of this behaviour is that when mobile receives string it reads it successfully and display it perfectly...and get automatically disconnected ...but when it read any data type except string it show the data in stream while checking with method is.available() according to data type but it doesn't read that data from stream so displaying nothing and in this case it won't get disconnected automatically...so i m able to send data to pc..

Is there any body who has same problem ????
Is there any body who can help me to sort out my this problem...????