Android :: Bluetooth Serial Port Programming.
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
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
Mar 8, 2010
I'm working on an undergraduate level senior design project with the HTC Sprint Hero. We want to connect a device that constantly sends a serial string of data. Does anyone have any hints, tricks, or shortcuts to be able to read a serial string from the USB port and save it on the phone? I know there is not a really simple way but I'm no where near an expert in programming and wanted to see if anyone has come across anything that might help.
View 2 Replies
View Related
May 26, 2009
I have just started to develop android application. My question is: Can I communacate with serial port by using android application? If yes, how can I start,need help.
View 3 Replies
View Related
Sep 2, 2009
I am trying to figure out if there is any way by which I can access any USB device which is connected to my Android phone's USB port and read data off it? For ex. Can I connect a camera to my phone and pull pictures out of it? I know that we need a HOST-DEVICE configuration to be able to do that... have tried doing this on other devices before picking up my android phone.. thought there would be an easier way to get this done. now, when I connect my phone to a digital picture frame, I can see on the phone that it identifies the USB device it is connected to and goes into a USB mass storage mode. What I want to know is if after this, I can read data from the frame or send data to it. I want to write an app that pulls data over USB and stores it into the phone memory.
View 3 Replies
View Related
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
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
Dec 24, 2009
I have made apps for the iPhone, but want to also code for the Android but want to know if it is first worth my time, second worth my having to learn another language, and third worth the effort in the sense that am I going to make a profit from this. Also if in any way Android code is similar, then will it be hard to bring the iPhone (Xcode) files, or copy and paste my iPhone code into the Android code.
View 2 Replies
View Related
Jul 15, 2010
How do I tell my droid X to port all audio to my headset? I used to do this with my windows mobile phone and I cannot seem to find the correct setting.
View 4 Replies
View Related
Jul 1, 2009
I want to interface my serial device on TMobile G1 Phone I want to know if there is a possibility to use a usb to serial converter or Blue tooth as a comm port to interface to my serial device.
View 2 Replies
View Related
Oct 18, 2010
I am a beginner in Android and i want to establish a serial port communication(UART RS232) library in Android Framework Layer. My applications want to use that libary to send messages to some serial port devices. here we wan to use android as a embedded device and not a mobile device. can you suggest me how to establish a seria communication and to add that library on android framework layer.
View 3 Replies
View Related
Jun 23, 2009
Is there any way to get some type of serial number or unique string, that no other android device should have? It can't be relative to the sim card, I'm looking for some type of hardware identification number...
View 2 Replies
View Related
Aug 16, 2010
I've had an inquiry about whether my Android app can interface with a serial device via USB cable. Before I invest too much time in this path, I'd like to know: Is this even possible? Some previous threads indicate Android won't do host USB. Would it require root access and/or the NDK? Would it be better to advise the potential client to look for a serial blue tooth adapter? I can see that there is a Blue tooth Sock class which may do the job.
View 4 Replies
View Related
Mar 10, 2010
I've got a fairly unique situation: I'm a teacher with a magnet school that focuses on rocketry and technology. I've got a rocket payload that has a video overlay board which does the following: Code...
View 3 Replies
View Related
Jul 27, 2010
How can I programatically read the SD Card's CID register, which contains a Serial Number and other information? Can I do it through Android Java, or Native code?
View 4 Replies
View Related
Jun 21, 2010
Iam using a command: adb devices
and get this:
C:>adb devices
List of devices attached
HT9CTP820385 device
My question is: where this serial number comes from? Does it burned on flash of device one time during a manufectoring or adb drivers assignees it dynamically or it comes with release that is burned on device?
View 2 Replies
View Related
Aug 12, 2010
I would like to be able to generate unique serial numbers for each Android device for use in unlocking an application. How could I do this? EDIT: The reason is I want to revamp a paid application and provide users who have paid for the old version, which will have a different package name, a way to obtain the full version by downloading an unlikable free version of the application. I would push an update to the old version that would generate and display the code that they could enter to turn the Free version into a fully functional version.
View 3 Replies
View Related
Sep 17, 2010
How to read the device serial number (not IMEI) of a Samsung Android phone (same value that you get when you call 'adb devices') but from within an app or from the device; not using PC/USB/adb.I found a solution for HTC and other devices, which is - to call. Code...
View 1 Replies
View Related
Nov 10, 2010
How do I access the SIM serial number and IMSI in Android?
View 1 Replies
View Related
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
Sep 6, 2010
Where do I find the serial number on my HTC? I have tried all the codes under the cover of my phone, however non work.I require it to download HTC Sync
View 2 Replies
View Related
Apr 11, 2010
I have 2 Hero's, one factory unlocked which runs the HTC firmware and a locked Orange Hero that runs the Orange firmware.
If i entered the serial number of the factory unlocked phone and downloaded the HTC firmware could i then install that on the Orange handset?
View 7 Replies
View Related
Jul 28, 2009
does any body know were i can get the serial number for copilot 8
View 2 Replies
View Related
Jun 14, 2012
I have an Ainol Novo 7 Paladin tablet running android ICS 4.0.3 (rooted) that I want to use in one of my projects. And I need it to communicate with an arduino - one with FTDI or prolific PL2303 serial interface. Now I know that the Paladin should work as an USB host but I need something more. I need an high level Java library that can use this serial interface. I've worked with rxtx on a desktop machine before and that is the most complicated that I would like to get. The main reason is that I simply don't have enough knowledge to write myself an serial driver. I just need a simple character based two way communication.
[URL]
View 1 Replies
View Related
May 14, 2010
Two things, please help! When I go to setup ADB, in the cmd dialog box it reads it as "Samsung T929" but doesn't show a specific serial number. Am I okay or is that bad? Then I get to the following line trying to root: data/local/try3 /system/bin/sh Then it tells me that it can't find that file or something. Any ideas?
View 3 Replies
View Related
Nov 10, 2009
Anyone manage to register online at Product Registration SAMSUNG ? I cannot find a working serial anywhere - on the phone itself, on the box, in the phone menus.
View 9 Replies
View Related
Feb 14, 2010
So i was trying to root my sprint htc hero. iam coming from windomo so i am a noob. I set up ADB and my serial number comes up after i write cdcd AndroidSDKToolsadb devices (with a space after each slash.) but next to the serial it says offline. Why is this? i tied doing the rooting process and when i write adb push asroot2 /data/local/ a bunch of stuff comes up in cmd and then next when i write adb shell chmod 0755 /data/local/asroot2. It says device offline, why is this and how do i fix it?
View 1 Replies
View Related
Jul 2, 2013
After I have rooted my G4 and installed the CWM 6 the serial number of my phone changed to "0123456789ABCDEF". How can I restore the original one?
View 1 Replies
View Related
Jan 18, 2010
I have the sprint HTC Hero with the latest update and when I'm to create a back up it doesn't let me do it. I then tried to downgrade the phone installing the the Sprint RUU and when I tried to install the AndroidSDK drivers I can't get to see the Serial Number of my device when I search in the command bar (following the steps of the Unlock). I'm using Windows XP with Service Pack 2. Any help will be appreciated.
View 4 Replies
View Related
Jul 28, 2010
Possible Duplicate: Good book for beginning android development. what is the best book for start programming for android?
View 2 Replies
View Related