Connect to bluetooth device with Android/Java
-
I'm trying to make an android app that will connect to a device that I have that I suspect uses bluetooth frequencies. However, it seems that all the constructors in the android.bluetooth package are private. Does anyone have any experience they can share with me? As a note, yes I've already looked at the API. I think I know what to use, but, again, I can't call any of the constructors of any of the classes.
-
Answer:
Have you taken a close look at the BluetoothChat example provided? This will show you how to scan for and connect to bluetooth devices as well as how to use the API to do so. http://developer.android.com/resources/samples/BluetoothChat/index.html
Supuhstar at Stack Overflow Visit the source
Related Q & A:
- How to connect Sql Server Database from android app?Best solution by Stack Overflow
- How to update Android OS on a device through an App?Best solution by Stack Overflow
- How can I access my localhost from my Android device?Best solution by Stack Overflow
- What is the best bluetooth home phone device?Best solution by bluetooth.com
- How to connect a Bluetooth to a Samsung Sleek without a manual?Best solution by fixyourthinking.com
Just Added Q & A:
- How many active mobile subscribers are there in China?Best solution by Quora
- How to find the right vacation?Best solution by bookit.com
- How To Make Your Own Primer?Best solution by thekrazycouponlady.com
- How do you get the domain & range?Best solution by ChaCha
- How do you open pop up blockers?Best solution by Yahoo! Answers
For every problem there is a solution! Proved by Solucija.
-
Got an issue and looking for advice?
-
Ask Solucija to search every corner of the Web for help.
-
Get workable solutions and helpful tips in a moment.
Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.