diff --git a/LDP/inprogress/Linux-Android-HOWTO.sgml b/LDP/inprogress/Linux-Android-HOWTO.sgml index ececa6f3..a6669e58 100644 --- a/LDP/inprogress/Linux-Android-HOWTO.sgml +++ b/LDP/inprogress/Linux-Android-HOWTO.sgml @@ -4,7 +4,7 @@ Linux and Android HOWTO Guido Gonzato, Ph.D. guido.gonzato at gmail.com -March 2016, version 0.0 +March 2016, version 1.0.0 This HOWTO provides information on how to manage your Android device @@ -58,7 +58,7 @@ with Android devices. With a bit of hacking, as usual. In the following, I will share a few tricks I have collected: - + using the Android Debug Bridge; understanding and using the Android file system; installing programs from other markets; @@ -102,7 +102,7 @@ refer to Android forums. Among the many available, I find the following especially helpful: - + @@ -112,7 +112,7 @@ following especially helpful:

-Besides: if you find any error in this guide, please report them to +Besides: if you find any errors in this guide, please report them to me.

@@ -196,7 +196,7 @@ options to get an information screen. You should become familiar at least with the following options: - + adb devices: list connected devices adb push: copy file/dir from Linux to device adb pull: copy file/dir from device to Linux @@ -1433,13 +1433,13 @@ kbox$ _ Once you have a terminal emulator, you can add a lot of command-line based software to your Android box. If you're a geek, this is an invaluable extension that makes your Andbox closer to a ``real'' -computer ; but even if you're a casual user, please read on. +computer; but even if you're a casual user, please read on.

-You can compile C programs both on your Andbox and, obviously, -on your Linux box. In the latter case, you use a so-called cross -compiler toolchain: a compiler and associated binutils that -produce code for Android. In this case, for the ARM cpu. +You can compile C programs directly on your Andbox, and also on your +Linux box. In the latter case, you use a so-called cross compiler +toolchain: a compiler and associated binutils that produce code +for Android. In many cases, but not only, for the ARM cpu.

Most Linux distributions provide one or more cross compiler toolchains @@ -1454,7 +1454,7 @@ name="http://developer.android.com/ndk/downloads/index.html">

Another toolchain that targets Android on x86 CPUs is called -gcc-arm-linux-androideabi. +gcc-i686-linux-android.

Choose the relevant architecture and download the binary package for @@ -1539,6 +1539,7 @@ ls: cannot open directory /android_root/data/local/tmp: permission denied kbox$ cp /android_root/data/local/tmp/hello . kbox$ ls hello +kbox$ chmod 755 hello kbox$ ./hello hello, world! kbox$ _