mirror of https://github.com/tLDP/LDP
final corrections from Guido
This commit is contained in:
parent
a95aa6d7ae
commit
45b7d61c38
|
@ -88,6 +88,33 @@ on my devices; hopefully, they should work on your device too. If you
|
||||||
want me to cover more Android versions, I'll be glad to receive new
|
want me to cover more Android versions, I'll be glad to receive new
|
||||||
equipment; or just tips. Equipment is preferred :-)
|
equipment; or just tips. Equipment is preferred :-)
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Currently, the majority of Android devices are ARM based; others are
|
||||||
|
based on x86 or MIPS CPUs, in both 32 and 64 bit flavours. This is not
|
||||||
|
a significant difference: most applications are written in Java with
|
||||||
|
no native code, so they are CPU-agnostic. Instructions in this HOWTO
|
||||||
|
should work for these Android versions, too. I guess that relevant
|
||||||
|
differences concern security policies.
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Should you have trouble with your Android device, I suggest that you
|
||||||
|
refer to Android forums. Among the many available, I find the
|
||||||
|
following especially helpful:
|
||||||
|
|
||||||
|
<itemize>
|
||||||
|
|
||||||
|
<item> <htmlurl url="http://forum.xda-developers.com/"
|
||||||
|
name="http://forum.xda-developers.com/">
|
||||||
|
|
||||||
|
<item> <htmlurl url="http://forums.androidcentral.com/"
|
||||||
|
name="http://forums.androidcentral.com/">
|
||||||
|
|
||||||
|
</itemize>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Besides: if you find any error in this guide, please report them to
|
||||||
|
me.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Thoughout this HOWTO, all instances of ``Linux'' actually mean
|
Thoughout this HOWTO, all instances of ``Linux'' actually mean
|
||||||
``GNU/Linux''. The GNU part is very important, and I'm very grateful
|
``GNU/Linux''. The GNU part is very important, and I'm very grateful
|
||||||
|
@ -646,7 +673,7 @@ Linux:~$ _
|
||||||
<p>
|
<p>
|
||||||
An Andbox can easily share its installed programs with another
|
An Andbox can easily share its installed programs with another
|
||||||
device, provided that the Android versions are compatible. All you
|
device, provided that the Android versions are compatible. All you
|
||||||
need is Ghost Commander. In the next paragraph, you can see how to
|
need is Ghost Commander. In the next paragraph, you can see how to
|
||||||
send a file to Alice using Bob's Andbox.
|
send a file to Alice using Bob's Andbox.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
@ -994,8 +1021,8 @@ come in handy.
|
||||||
<sect1>Backing up applications
|
<sect1>Backing up applications
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Installed pplications are stored in <tt>/data/apps/</tt>, which is
|
Installed applications are stored in <tt>/data/apps/</tt>, which is
|
||||||
inaccessible on unrooted devices. You can, however, backup your
|
inaccessible on unrooted devices. You can, however, backup your
|
||||||
<tt>.apk</tt> files using Ghost Commander or the <tt>adb backup</tt>
|
<tt>.apk</tt> files using Ghost Commander or the <tt>adb backup</tt>
|
||||||
command. I prefer the former, which is way faster and more convenient
|
command. I prefer the former, which is way faster and more convenient
|
||||||
(IMHO).
|
(IMHO).
|
||||||
|
@ -1405,7 +1432,8 @@ kbox$ _
|
||||||
<p>
|
<p>
|
||||||
Once you have a terminal emulator, you can add a lot of command-line
|
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
|
based software to your Android box. If you're a geek, this is an
|
||||||
invaluable extension; but even if you're a casual user, please read on.
|
invaluable extension that makes your Andbox closer to a ``real''
|
||||||
|
computer ; but even if you're a casual user, please read on.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
You can compile C programs both on your Andbox and, obviously,
|
You can compile C programs both on your Andbox and, obviously,
|
||||||
|
@ -1425,7 +1453,12 @@ toolchain from the NDK home page:
|
||||||
name="http://developer.android.com/ndk/downloads/index.html">
|
name="http://developer.android.com/ndk/downloads/index.html">
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Download the binary package for Linux 32-bit or 64-bit. The directory
|
Another toolchain that targets Android on x86 CPUs is called
|
||||||
|
<tt>gcc-arm-linux-androideabi</tt>.
|
||||||
|
|
||||||
|
<p>
|
||||||
|
Choose the relevant architecture and download the binary package for
|
||||||
|
Linux 32-bit or 64-bit. The directory
|
||||||
|
|
||||||
<tscreen><verb>
|
<tscreen><verb>
|
||||||
toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/
|
toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/
|
||||||
|
@ -1433,12 +1466,13 @@ toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin/
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
contains prebuilt binaries: include that directory in the
|
contains prebuilt binaries: include that directory in the
|
||||||
<tt>$PATH</tt>.
|
<tt>$PATH</tt>. MIPS and x86 binaries are also available.
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
The compiler is called <tt>arm-linux-androideabi-gcc</tt>. You use it
|
Supposing you're compiling for ARM, the compiler is called
|
||||||
instead of <tt>gcc</tt> to compile Android binaries. In general, all
|
<tt>arm-linux-androideabi-gcc</tt>. You use it instead of <tt>gcc</tt>
|
||||||
binutils have a <tt>arm-linux-androideabi-</tt> prefix.
|
to compile Android binaries. In general, all binutils have a
|
||||||
|
<tt>arm-linux-androideabi-</tt> prefix.
|
||||||
|
|
||||||
<tscreen>
|
<tscreen>
|
||||||
<verb>
|
<verb>
|
||||||
|
@ -2023,3 +2057,4 @@ Enjoy,
|
||||||
<tt> </tt>Guido <tt>=8-)</tt>
|
<tt> </tt>Guido <tt>=8-)</tt>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue