Welcome, Guest. Please login or register.

Login with username, password and session length
February 04, 2012, 11:26:53 PM
Pages: [1]
  Print  
Topic: Simple application for connecting mobiles via bluetooth  (Read 1745 times)
« on: October 30, 2007, 07:13:43 AM »
frankge973
Newbie

View Profile
*
Karma: +0/-0
Posts: 1



I wish to connect two mobile phones via bluetooth and exchanging some data. I'm a programmer but I don't know java very well. From what I can start or can I use another language such as the old VB?
Which development environment can I use? I have downloaded some examples but I don't know from which point I can start. Thank you very much.
Logged
« Reply #1 on: November 05, 2007, 06:17:40 PM »
vjpamorim
Newbie

View Profile
*
Karma: +0/-0
Posts: 1



Hi...

If you starting with bluetooth programming, i think that you can use J2ME.  But, you can use C++ (Windows Sockets in mobile version) or Python (PyblueZ) too.

If you choose J2ME, take a look in some tutorials on http://www.jsr82.com/. Basically you must follow the same 3 steps to perform the data sharing between two devices. If your two devices act as a client and server, you need to perform this in both:

    1) Publish the service that you provides;
    2) Perform a device discovery;
    3) Inquiry each device discovered about your services.

Another good reference is:

http://www-128.ibm.com/developerworks/java/library/wi-boogie1/
http://www-128.ibm.com/developerworks/java/library/wi-boogie2/

Logged
 
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.2 | SMF © 2006-2007, Simple Machines LLC