Hello,
Iam trying to do a MIDLET to send a bookmark from one phone to the other vıa bluetooth. (It is impossible to do it, for example with my 6600)
My midlet will work on only my phone and client phone will use its default bluetooth protocols(services)
Up to today I am able to do
1-device discovery
2-get url for service records on the mobile phone.
3-Create a simple string and convert it to byte array
4-create a connection and send it through all the services possible.
But remote phone is unable to get my message. It only says "k6600" is trying to connect your phone do you accept? And when I say "yes" it says connection closed to k6600(bt friendly name of my phone)
Now comes my questions.
1-Which protocol should I decide? I think object push is the most suitable one but it is not avaible on 6600.
2-is it possible to do it via RFCOMM?
3-How can I send a text file or bookmark via obex or Rfcomm(I prefer Rfcomm but an obex example should be as good as rfcomm also)
4-Can anyone direct me to the related documents ? (PDF or etc) Or give a small piece of sample code ?
Thanks for your time and reading...

Reply With Quote



