Sunday, February 22, 2009

When you have a bluetooth dongle you can receive business card/files/contacts from mobile devices using your bluetooth software. Now if you want to receive contacts/file in your own software and you also don't want to install any application in your mobile device then you can continue reading.

The main thing is to open a obex receiver in your bluetooth device from your application, then other remote device can do ServiceSearch and find your dongle to send contact/vcard/business card without installing any application.

The trick is done using OBEX, to know about OBEX google please.
I am going to use Java as my source language as there is already a API made named bluecove

I tried to find an already made project and couldn't find after some searching(may be my search strings were weak)

After one/two day i came to the bluecove code repository, there i found the source of it.

So i made a netbeans project of my own and is posted at the end of this post(i think if you are interested then you are now looking into the end section for the code ;) )

Ok no rush, the original source code of bluecove people are here. Thanks god i found it.

And my code in netbeans can be found here.

To run it in windows no problem, but to run in it newer ubuntu when this post was written you had to include bluecove-gpl with the project, which is already included and you will need to install libbluetooth-dev for ubuntu 8.10 with this command
sudo apt-get install libbluetooth-dev

I hope the code works.

4 Comments:

  1. hafeez said...
    This comment has been removed by the author.
    hafeez said...
    sorry...im wondering to ask u about the idea of ur application..is it possible to do certain task such as add contact,delete contact edit contact...then, save all those changes..and re-send them back to mobile device...
    Anonymous said...
    This mobile device having java application has lot of facility.
    Plastic Business Cards
    trailmarky said...
    whoa!!!, you had a passion in blogging, thumbs up for your work of love.. Hehe very inspiring ideas,


    anyway I'm william
    mind if I put a link back to you?


    see my works here ------> Alligators Shoes

Post a Comment