Android :: USB Host / Serial Port Access

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.

Android :: USB Host / Serial Port access


Android : Droid Emulator Access Redir Port From Other Host?

Oct 27, 2010

Have a server-socket running in an android application, which I debug using the emulator. Using the emulators console and "redir add tcp:8888:8888" I can make the service available to a program running on my development machine (as localhost:8888).

The redir port is however not available on any other network interface, meaning I can't access it through the host-ip on either the local development machine, or from a secondary machine on the network. Anyone know if its possible to make the emulator bind to all network interfaces, or have some other trick to enable other hosts on the network to connect to the emulator?

View 1 Replies View Related

Android :: Bluetooth / Serial Port Profile

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

Android :: Reading Serial Data From USB Port

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

Android :: Serial Port Communication Support

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

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 View Related

Android :: Way To Access Serial Device On G1?

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

Android :: Access SIM Serial Number And IMSI In Droid?

Nov 10, 2010

How do I access the SIM serial number and IMSI in Android?

View 1 Replies View Related

Android :: Access Virtual Host

Mar 20, 2010

i have set up virtual host in apache and and added relevent information in windows host file. it works fine for desktop browsers but i am not able to access this from android simulator's browser. as a example a i created a virtual host "testweb" i added this information in widows hosts file also so in desktop browser it works fine with the url http://testweb/ but in android simulator browser it displays error tht page has been moved. so plz give me solution what i shud do to work it and where i am getting wrong..

View 2 Replies View Related

Android :: Emulator Can't Access Host Os's Network

Mar 10, 2009

I install sdk on centos.At first it works well. But I encounter a strange issue:One day my emulator can not access it's host os's network any more.

View 2 Replies View Related

General :: IPv6 Access From Host To Android Device?

Jan 1, 2012

I'm trying to connect from a host (PC or other) to a mobile cellular Android device on the Verizon/AT&T cellular network. This device uses only the 3G network and has its Wi-Fi turned off. The Android device has a listening socket and I need the remote host to be the connection initiator. As far as I know, Verizon/AT&T uses NAT traversal for mobile phones and assigns local IP addresses to them on the cellular network. This prevents me from initiating a connection to the device from a remote host.

With the usage of IPv6 assignments there shouldn't be any practical limitation (virtually unlimited) to the number of "real" IPs that can be assigned.Therefore my questions are:

1. Does the Verizon/AT&T cellular network support IPv6 and assigns IPv6 addresses to capable Android devices?

2. Does Android 2.2+ have enough support for IPv6 to implement such solution?

I am aware of other methods that can be used, such as C2DM, but it has some drawbacks (such as unknown response time) that prevent me from using it.

View 1 Replies View Related

General :: Access Ext2/3 With USB Host?

Oct 27, 2013

It seems strange to me: ext2/3/4 is the native filesystem for the device - but with device as USB host I can't access. It seems only FAT and NTFS is available.

Is there any ways to make this possible?

Background: my Sat-Receiver records to an ext2/3 partition and I would like to transfer this smoothly to my nook.

Currently my solution is to use my laptop, there I need a ext2/3 driver and transfer via MPT. This is not very comfortable and slow.

View 1 Replies View Related

Android :: Setup Android Emulator To Access The LAN Of Host Machine

Jun 9, 2010

I would like to access a web service provided by one of the machines on my LAN from the android emulator.

If the service was running on the same machine where the emulator is running (called host), I could add a network redirection and access the 10.0.2.2 (host loopback interface in the emulator) with the correct port.

However it is running on another machine on the LAN. I guess I could add another redirection on the host additionally to the above one (would have to fight with iptables though ... ), but does a more simple solution exist ?

View 2 Replies View Related

Android :: Access USB Port On Droid Phones?

Nov 22, 2010

Is it possible to access the USB port on Android phones? (Droid X for example)

Here is my usage case:
Have a USB device attached to the Android phone. The phone listens for data on this USB device. (The USB device is connected to a USB->RS-232 converter that has I/O attached to it)

This would be slick if possible. Does anyone know if this is possible?

View 2 Replies View Related

Android :: How To Establish A Serial Communication?

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

Android :: Get A Unique String / Serial Number?

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

Android :: Serial Ports Reading / Writing?

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

Android :: Creating Simple Serial Output

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

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 View Related

Android :: How To Read SD Card ID Serial Number?

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

Android :: Serial Number Of Device That Presented Upon Adb Devices

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

Android :: Generating Device Specific Serial Number

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

Android :: How To Read Serial Number On A Samsung Device?

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

Android :: Receive Bluetooth Serial Data / Graph

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

Android :: Google Platform For Robotics - Serial Connection Support

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

HTC Hero :: Need Serial Number On My HTC?

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

HTC Hero :: Using A Different Serial Number To Download Firmware

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

HTC Magic :: Get Serial Number For Copilot Live 8?

Jul 28, 2009

does any body know were i can get the serial number for copilot 8

View 2 Replies View Related

General :: How To Easily Use USB Serial Communication Library

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

Android :: Tab Host Disappears

Aug 10, 2010

I am developing an Android application consisting of 4 tabs. On the first tab I have a button, which again calls an Activity called ActivityA.When my ActiviyA is started, the tab control is not shown anymore.

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved