libftdi Archives

Subject: Re: How to get receive or fetch data from external USB device (FDTI FT232BM chip) to android tab device ?

From: Tim Schneider <schneid5@xxxxxxxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Wed, 27 Apr 2011 11:52:16 +0200
Hi,

first: you do know that you replied to the mailinglist? Basically everybody got 
both emails you replied... Next time simply answer once :)

> How to start , i am downloading ftd2xxj-2.1.jar , javax.util_1.4.0.jar this
> files are useful 
> for this functionality ? 
I actually did not try the jar files you mentioned but instead started with the 
source code of libftdi. You should download the Android NDK and compile libftdi 
with it. I wrote a Android Makefile for this task and posted it to the 
Mailinglist a while ago:
http://developer.intra2net.com/mailarchive/html/libftdi/2011/msg00085.html

once you have the library compiled you need to use it in some program. Since 
normal Android Java Activities can not run with root privileges, I wrote a 
small c program that communicates with the ftdi device and opens a socket over 
which it can communicate with the java activity. You can use the java activity 
to start the c program with the appropriate rights.

I don't know if there is a easier way to do this, but this works for me.

- Tim

> 
> how to communicating application to external usb device ? if possible than
> please send us any reference or sample code how it can possible  ? 
> 
> Please suggest which steps follow for this ? 
> 
> Thanks..
> 
> --
> View this message in context: 
> http://libftdi.141977.n3.nabble.com/How-to-get-receive-or-fetch-data-from-external-USB-device-FDTI-FT232BM-chip-to-android-tab-device-tp2865970p2869348.html
> Sent from the libFTDI mailing list archive at Nabble.com.
> 
> --
> libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
> To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   
> 


--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx

Current Thread