Aug 17, 2011

Android Bluetooth Door Unlock

Now we move to Android.
There's a free application called BlueScripts, it can connect to a bluetooth serial port and send a text only by pushing a button on the Android phone screen. All you need to do is writing a xml file as below

  <name>Open Door</name>
  <name>Open Another Door</name>

Name it with BlueScripts.xml and save in the sdcard root directory.
But if you want to modify and recompile the source code, you will need Eclips and Android SDK.
Here is the Android tutorial

You can copy the source code to a directory then create a new Androit project and open the existing project. I have tested it with my Samsung Galaxy Tab and HT Desire HD. By enabling USB debugging on your phone settings, you can directly run the application from Eclips and see the result on the phone.

Have fun with bluetooth and Android.

No comments:

Post a Comment

Water Level Sensor of Washing Machine (STM32F103C8T6)

Washing Machine Typical work principle of water level sensor of a washing machine shown on the picture. Sensor is located above the wa...