Happy Porting x86 Application
to Android
2010-07
Owen Hsu
Outline
• Motivation
• Solutions
• Examples
Why Bother?
• Different instruction set
– Most applications were programmed
under x86 architecture, Android is
run under ARM by default.
• Different variable types
– There is NO standard C library in
Android, it provides Bionic C
library instead.
Solutions?
• The Traditional Make way
• The NDK way
The Traditional Make Way
• Loop
– 1. Configure
– 2. Modify the Makefile
– 3. Make
– 4. Patch
• …