Android :: 2.1 Bluetooth Serial Connection With Computer
Jul 1, 2010
I thought it would be quite easy to develop a bluetooth application on Android, but it looks like the support is very bad. While pairing works, my Nexus One with Android 2.1 can't connect to the PC. It's the same in Windows and Ubuntu. I used on my Desktop computer, in Windows, Hyperterminal and waited on an incoming bluetooth com-port. I searched already a bit, Maybe this:
http://code.google.com/p/backport-android-bluetooth/
or this library:
http://code.google.com/p/bluecove/
View 2 Replies
Oct 21, 2010
1) What Android-compatible hardware platforms (boards, like "beagle board") can you recommend for hobby robotics? Where can I see a list of Android-friendly boards with support of serial (or parallel) connections?
We are going to move our Java ME robotics project (http:// www.RoboHobby.com) to Android platform, but what hardware to choose?
2) What can you say about support of serial connection on Android- based phones? Does it work in reality? As I remember, in the Java ME world not all cell phones manufacturers supported serial connections on their J2ME implementations. For example serial connections were supported on some models of Siemens and Sony-Ericson, but they were not supported on Nokia and Sumsung, etc.
What is going on with serial connection support in the Android World? Is this supported in reality? On which cell phones?
3) Is it possible to use on Android devices (boards) not BlueTooth/USB conection, but wired connection, like RS232 "COM" port on PC?
I see funny wordplay - Android as a Google project and Android as a human-like robot. :-)
-- http://www.RoboHobby.com - Java Robotics, Code Examples. PICkit2 tutorials, J2ME mobile phone Java as a robot's brain, KAP (Kite Aerial Photography)
View 3 Replies
View Related
Apr 21, 2009
I realize that the Blue tooth API is subject to change over time and that the only available profiles are A2DP and AVCRP, but I am really interested about the options I have to develop an application using the Serial Port Profile. I don't really care if the API will later change, this application is meant to be used only by me (I am trying to communicate to a mirocontroller using Blue tooth and the only supported profiles are SPP and GAP). I am going through the /core/java/android/blue tooth/ classes at the moment but I don't see anything that refers to the SPP or otherwise. I am willing to invest time to learn and write a SPP implementation, provided I have someone to guide me. This is valuable to me because I am doing this project as a final year project so I'm not exactly waiting for someone else to do my work. In conclusion, does anyone have any suggestions on where I could start looking and studying to be able to use the SPP in an application?
View 19 Replies
View Related
Sep 24, 2010
I may be doing some Blue tooth Serial Port programming work for a client and I'm just looking for some tips in determining complexity/ workload. The work is similar to reading from a blue tooth GPS (not making the phone a blue tooth GPS), but it is some custom hardware, so not exact. Here's what (I think) I know so far: I will need to pair devices with a Serial Port Profile. I need to connect using a Bloodsucker which works on Android 2x -I don't know yet if the Android I will be a server or a client in this scenario. I will open an InputStream (no output stream needed) and have a thread continually blocking for input I believe "BluetoothChat" is the best example to start with. What I would want to know. - Are there devices/manufacturers who block the blue tooth serial port, trying to block tethering or something like that? (-I've seen posts here that imply that, but I don't see a bunch of comments like "Doesn't work on my @#$$" in Blue tooth GPS Providers in the market). -Are there going to be hardware specific oddities, or can I develop with my Nexus One and just hope it works on everything else? -Is pairing something that will require a lot of education for the users, and would a good app try to initiate this inside their app, or just assume it is already done. -Is Blue tooth programming going to be my worst nightmare, like it sometimes was on Windows Mobile, or smoother than I could ever hope?
View 6 Replies
View Related
Apr 28, 2010
I'm very new to the Android platform, but i was hoping to write a quick and neat little android app which will receive data from blue tooth and to graph the data. I'm trying to use a LM Technologies LM049 blue tooth adapter to send serial data to my HTC Dersire 2.1 android handset. At the moment i'm trying to just prove i can send ascii characters to the phone. Not quite sure where to begin.
View 2 Replies
View Related
Nov 11, 2012
I am creating an Android application. This application should send message to computer via internet and Wifi (check whether if the device is using internet). The main function is by pressing on a button in Android device a message should go to computer via internet (I don't know, but I think it should be with UDP). I know that I need to set the server for computer and write down IP and port to the android app code. I don't have any clue how to do it. I kinda need to create a computer (windows 7) server receiver, which would receive messages. I am using Eclipse Android SDK
View 1 Replies
View Related
Nov 18, 2010
Does anyone know if it is possible to get the sound to play with the USB connection on a computer? I know I could probably get a head phone jack, but it would be much easier to have one cable. (example, I'd like to play the fm radio through PC speakers)
View 1 Replies
View Related
May 21, 2010
I want to stream audio directly from my mac via bluetooth to my nexus one. This might sound crazy, but I actually want to be able to control the audio from my mac. I just want to be able to connect an audio jack to my nexus one and let it stream the audio via bluetooth. Is there an app for that?
View 4 Replies
View Related
Nov 2, 2009
Is there any way to comunicate an android phone with a computer trough bluetooth? Ive made a server/client applicattion in Java using bluetooth, but i need to do the client in Android and i dont know how to start, I dont know even if is possible. I only need to send a text message.
View 2 Replies
View Related
Oct 27, 2010
I was running the JI6 2.2 with cognition beta5.5 and was attempting to update however I needed to swap kernels since the current kernel didn't verify signatures. I was using vmware on a mac and i started it but then continued to use the mac side however the computer disconnected the phone from the windows side and now it is stuck showing an image of a phone next to a computer with a triangle with a ! in it between the two. Pressing all hardware buttons does nothing but black the screen and go back to the same screen. I've taken out the battery, sim, unplugged the cord, everything. Can't get back into download mode to redo the kernal swap. It's definitely connected to a valid, and working, usb port and i am now on windows itself instead of vmware. What do I do?
View 4 Replies
View Related
Sep 16, 2010
Is there a way to view my Gmail contacts on my computer without an internet connection? I travel outside the country and may not have internet from time to time and without cdma coverage I may need to get my contacts from my computer instead of my Droid.
View 4 Replies
View Related
Nov 11, 2010
I'm creating an application that uses an android to send and receive data via bluetooth. but I'm having problems when creating the socket. He gets caught in that line mmSocket btserver.accept = (); And I can not pair with any device.I have another doubt, I can make that communication with an android and a symbian?
View 1 Replies
View Related
Oct 26, 2010
I have program that runs a bluetooth connection. The socket connects fine. We then read/write from the related streams. This works fine for about a minute, then we start to get IOExceptions from the InputStream.available() and OutputStream.write() functions. The IOException indicates that the socket has been closed. Could anybody take a stab at what might be going on here?
View 2 Replies
View Related
Jul 6, 2010
I paired EVO with my HP HDX (model HDX X18T-1200 CTO) easy enough, but it says 'paired but not connected' on my phone. I'd want to utilize this for PDAnet and file transfer if possible but hit a brick wall since it won't connect. I'm wondering whether this is something on the computer side of things, I've never done it before (because the hero would never be discovered on bluetooth) so I am curious as to how to proceed.
View 28 Replies
View Related
Nov 11, 2009
I have my Droid connected to my computer via the USB that came in the box. The phone recognizes the cable, chimes, and has the USB icon on the screen. But the computer doesn't recognize the phone at all. It could be a problem with my computer, but I'm checking here in case I just can't find the option on the phone to "allow USB connection" or something.
View 8 Replies
View Related
Mar 3, 2010
I'm having an issue here while trying to connect to an RS232 device with the BluetoothChat sample program.
1- If I first pair my phone with the device through Bluetooth Settings, no problem. The connection is made perfectly and the program works.
2- If not bonded beforehand, I get two errors in a row when I click on my device :
CODE:.................
View 2 Replies
View Related
Apr 21, 2010
I'm able to discover devices which r bluetooth ON from my application. But when i try to connect using the Bluetoothsocket's connect() method, I'm getting an IOException: Connection refused.
I'm using the following UUID private static final UUID MY_UUID = UUID.fromString("00001101-0000-1000-8000-00805F9B34FB");
View 5 Replies
View Related
Aug 13, 2010
I am using Bluetooth APIs to establish the connection. I using the Bluetooth chat application as a reference to communicate with the Bluetooth headset.
When I try to connect with Bluetooth headset I am getting IOException with the reason Connection refused.
Can any one tell me the reason for this exception if possible give me the solution if you already resolved the same.
Here is the code which i am using to establish the communication with the Bluetooth. And i also added the Bluetooth and Blutooth_Admin permissions to my manifest file. Code...
View 2 Replies
View Related
Nov 1, 2010
i have htc desire phone. i have problem with bluetooth.while transferring files from my computer mp3,some files are transferred instantly while with others same mp3 format the bluetooth connection goes off and files are not transferred.i dont know why?
View 1 Replies
View Related
Oct 12, 2010
okay so here is my problem. My evo wont do anything once paired to my computer via bluetooth. i paired it successfully, then later i wanted to send a file from my phone to my computer via bluetooth, (i have ftp enabled) and told my computer to expect a file and nothing. it doesn't work. also when i check the pairing profile on my computer, under services it is COMPLETELY blank, there should be some services like dial-up modem and bluetooth speakers and stuff shouldn't there be?
here is what i want to be able to do.
1. i want to send files from my EVO to my computer via Astro Bluetooth.
2. i would also like to use my laptop speakers via bluetooth, example, play Pandora on my phone using my laptop speakers via bluetooth connection
that is really all i want to do but i cant get ANYTHING working. could this be solved by rooting my evo? i really just wanna be able to do basic bluetooth functions with my phone.
View 5 Replies
View Related
Aug 13, 2010
In my understand, Anroid app supports only SPP connection not HFP and A2DP. However, I want to initiate HFP and A2DP connection in Android app just like selecting Bluetooth device in Bluetooth Settings menu. I'm not sure it is possible to use a intent including BluetothDevice object, so the intent receiver can initiate HFP and A2DP connection. If you have a idea, could you let me know that?
View 1 Replies
View Related
Dec 30, 2009
I want to implement an application which can successfully transfer a file from my android eclair device to any other bluetooth device.Please if anybody know the solutions, kindly help me out, mail me at narendraprabh...@gmail.com or post back here please...
View 3 Replies
View Related
Jan 27, 2010
I need to know the signal strength of a Bluetooth connection to a remote device that I make with my Android 2.1 phone. From the SDK, I can see that I can determine the RSSI at the time I discover the remote device. But I can't see how to update that RSSI value over time.
Can someone give me a hand?
View 3 Replies
View Related
Aug 4, 2010
I want to write a separate Thread within my application (to do Bluetooth connection). Any idea where I can find any reference for help to write Threads in Android? I searched online but could not find any proper reference.
View 5 Replies
View Related
Jun 25, 2012
I am working on an application to connect to an ELM327 OBDII bluetooth dongle. My main problem is that I am trying to use the BluetoothChat example from the developers website, and I cannot get the device to connect. I have gotten it to connect with other applications, ELM327 Terminal, and torque, but cannot get my own to connect?
View 2 Replies
View Related
Oct 24, 2010
Is there a way to view my droid 2 display on my computer via usb or bluetooth?
View 1 Replies
View Related
Oct 2, 2011
I currently am able to connect my android phone to my computer (via bluetooh) to transfer files but I want to be able to use my computer headset to receive/dial calls to/from my phone. This would be just like I can already do in my car over bluetooth.
View 3 Replies
View Related
Aug 6, 2010
I want to connect my Droid to OBDKey I use BluetoothChat as example to connect via bluetooth I connect to OBDKey succesfully but after send message to OBDKey connection lost How can I prevent this?
View 1 Replies
View Related
Mar 30, 2010
When my Bluetooth application is about to create SPP connection to the unpaired remote device, pairing notification is displayed. From the documentation I can see that pairing request can display a dialog or sent notification. I'd like to know what logic causes my app to sent notification than display a regular pairing dialog. Maybe I'm blind but the problem is I were not aware of that notification and was fighting with pairing problem for few hours :) And I'd really would prefer my app to trigger dialog display.
View 6 Replies
View Related
May 23, 2010
Is there a way to observe a bluetooth pairing and then be aware of when the connection no longer exists? Basically I want to observe when my phone connects to another device and what that connection is dropped to that I may execute an action based on that connection.
You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 6 Replies
View Related