Commit 1cd9c571 authored by Rafaël Carré's avatar Rafaël Carré

remove HOWTO, it's redundant with install.sh

parent a4dc6d22
Basic how to compile VLC on Android platform.
- Get Eclipse, the Android SDK and the Android NDK.
- Read the Android HOWTO and setup all that stuff correctly.
- Get the Android SDK Platform 2.2 and 2.3 API (version 8 and (9 or 10)),
or modify numbers in configure.sh and vlc-android/default.properties.
- Create an AVD with this platform.
- Set $ANDROID_NDK to point to your android NDK directory
export ANDROID_NDK=/path/to/android-ndk
- If you plan to use the emulator, you need a build without neon
export NO_NEON=1
make sure it is set for both the contribs bootstrap next and the configure.sh later.
- Build the contribs
cd extras/contrib
./bootstrap -t arm-eabi -d android
make
cd -
- Bootstrap VLC from the root vlc directory:
./bootstrap
- Create a build directory:
mkdir builddir
- Go to this directory:
cd builddir
- Launch the Android configure script:
../extras/package/android/configure.sh
- Start the VLC compilation with:
./compile
Some module cannot be compiled at this time, just skip them with "./compile -k"
- Go to the extra/package/android directory:
cd extras/package/android
- Build the JNI interface for libvlc
VLC_BUILD_DIR=path_to_vlc_builddir ANDROID_SDK=path_to_android_sdk make
- Note: Edit jni/Android.mk and locally delete the line containing HAS_NDK_V7 if you are using Android NDK older than v7
- In Eclipse, create a new Android project from existing source by giving the extra/platform/android/vlc-android path.
- Compile your project using Eclipse (or make will do it with ant if available).
- Run it and enjoy!
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment