Warning: Cannot modify header information - headers already sent by (output started at /home/zundersk/blog.v-lad.org/wp-content/plugins/adsense-immediately/adsense-immediately.php:316) in /home/zundersk/blog.v-lad.org/wp-content/plugins/adsense-immediately/adsense-immediately.php on line 277
android » Vlad's blog

Archive for android

Port of RXTX library to Android platform

Just ported a google RXTX library to the Android platform.    Check out the picture below, it shows the Motorola Droid phone talking to the FreeNAS device over the serial port.

 

Testing android with serial



 

More information and binaries are here http://v-lad.org/projects/gnu.io.android/.   The source code of port is here  https://github.com/vladistan/gnu.io.android/ .

If you have any questions, comments or support request post them below.

 

 

Comments (18)

Compiling native programs for Android

There is an excellent tutorial by Nirnimesh on how to compile native programs for Android here http://android-tricks.blogspot.com/2009/02/hello-world-c-program-on-using-android.html

Unfortunately things have changed a bit since last year when this post was written. Andy’s agcc script doesn’t work with the most recent Google NDK release 4B.

I have changed the script a little bit to address new path changes. The new script is available here http://android-cruft.googlecode.com/files/agcc-0.2.tgz.

Make sure to add this to your path

$HOME/AndroidNDK/build/prebuilt/linux-x86/arm-eabi-4.4.0/bin/

where AndroidNDK is your NDK installation directory.

Hope this works for you.

Comments (5)