About Me

Mein Bild
Freelancing software developer / architect, mobile geek. Topics: Software technologies (java, groovy, agile), politics, web, science, green, mobile, android.
Homepage: www.tutaona.com

"The absence of limitations is the enemy of art." - Orson Welles

Dienstag, 15. März 2011

Using your phone from your computer via BT-HFP

When I'm at work I'm using a bluetooth headset with my android phone and a cable headset with my computer in order to listen to music or use skype. Sudenly it got on my nerves that I had to switch headsets all the time and I thought there must be a way to make and take calls with my mobile from my computer, so I can use the computer headset all the time.

After some research I found the 'HFP for Linux' project.

The receipe

  1. Check out the sources:
    svn co https://nohands.svn.sourceforge.net/svnroot/nohands/trunk
  2. cd into the source directory, then compile and install the software. I had to install the packages automake, libtool, libbluetooth-dev, libasound2-dev and libspeexdsp-dev before.
    ./autogen.sh
    ./configure
    make

    sudo make install
  3. Make phone bluetooth discoverable. Somewhere in your phone's settings 
  4. search devices
  5. Configure audio to OSS /dev/dsp

- launcher use /usr/local/share/hfconsole/icon.png

5 Kommentare:

  1. hello ,
    i am doing a similar project for my academics.
    please give some more details on this project.....
    i dont know how to use the /.configure command.
    thanks in advance.

    AntwortenLöschen
  2. Sorry, I more like noted down quickly the steps rather than compiling a decent howto. Moreover I have mistakes in the steps. There is no source bundle to untar, you have to check out the sorces with subversion. I hope you are familiar with the shell as these are all shell commands. After getting the source, cd into the source code directory and then issue the commands as I listed them. I try to improve my notes soon. cheers

    AntwortenLöschen
  3. i am getting error during make
    click the link to see the error : https://dl.dropboxusercontent.com/u/25423238/error

    please help , i am using ubuntu 13.04

    AntwortenLöschen
  4. any how at last i installled it bu not detecting my phone

    AntwortenLöschen
  5. Hey,
    i am able to run the console application, but it is not able to discover my phone. I believe the problem is with the different versions of bluez ( bluez has seem to made changes in the names and location of their configuration files). i tired to debug the code for the location where it looks for these files but i am unable to. can you please help by pointing me in the right direction.
    Thanking You in Advance :)

    AntwortenLöschen