title: How to test Bluetooth Based Application on Androidx86 on top of VirtualBox with inbuilt laptop bluetooth
body: <p>How can I run Bluetooth Based application on Android emulator on my laptop. When I run the Bluetooth application, it's said, Bluetooth Device not connected. I was googled and I found a way for using <code>Oracle VM VirtualBox</code>. and I followed this steps too,</p>
  
  <ol>
  <li>Download Androidx86 from <a href="http://www.android-x86.org/" rel="noreferrer">http://www.android-x86.org/</a>. This is an .iso file, so you'd need something like VMWare or VirtualBox to run it. Me, I use VirtualBox.</li>
  <li>When creating the virtual machine, you need to set the type of guest OS as Linux instead of Other.</li>
  <li>After creating the virtual machine, set the network adapter to 'Bridged'.</li>
  <li>Start the VM and select 'Live CD VESA' at boot.</li>
  <li>Now you need to find out the ip of this VM. Go to terminal in VM (use Alt+F1 &amp; Alt+F7 to toggle) and use the netcfg command to find this.</li>
  <li>Now you need open a command prompt and go to your android install folder (on host). This is usually C:\Program Files\Android\android-sdk\platform-tools>.</li>
  <li>Type adb connect IP_ADDRESS</li>
  <li>There done! Now you need to add Bluetooth. Plug in your USB Bluetooth dongle.</li>
  <li>In VirtualBox screen, go to Devices>USB devices. Select your dongle.</li>
  <li>Done! now your Android VM has Bluetooth. Try powering on Bluetooth and discovering/paring with other devices.</li>
  <li>Now all that remains is to go to Eclipse, and run your program. The Android AVD manager should show the VM as a device on the list.</li>
  </ol>
  
  <p>I did this and it's working fine. but the problem is, if I use Bluetooth Dongle it's working good, but I can't use my Laptop's inbuilt Bluetooth device with VM Machine. How can I connect my inbuilt Bluetooth device with VM Machine and how can I use it for Test Bluetooth Based Application.? Kindly suggest some ideas. thanks in Advance..</p>