No description
Find a file
2012-09-05 14:08:04 +02:00
jni Add x86 target. 2012-08-21 16:26:28 +02:00
libs Update support library 2012-07-20 17:17:58 +02:00
patches integrate ffmpeg patch to 2011-09-30 21:31:07 +02:00
res Improved slider content display + refresh registers on click 2012-09-05 14:08:04 +02:00
src/org/linphone Improved slider content display + refresh registers on click 2012-09-05 14:08:04 +02:00
submodules Add jpeg encoder to no-neon ffmpeg 2012-08-29 11:21:38 +02:00
tests Improved slider content display + refresh registers on click 2012-09-05 14:08:04 +02:00
.classpath Merge remote-tracking branch 'newui/newUI' into newUI 2012-07-11 11:53:33 +02:00
.gitignore Improved slider content display + refresh registers on click 2012-09-05 14:08:04 +02:00
.gitmodules add g729 integration 2012-02-17 11:30:39 +01:00
.project add ilbc 2010-06-30 09:54:16 +02:00
AndroidManifest.xml Bad layout for preferences fixed 2012-08-29 17:37:11 +02:00
build.xml Fix nine patches issue when using ant 2012-08-07 16:52:24 +02:00
convert.sh Proximity sensor added while in call 2012-08-01 17:25:27 +02:00
default.properties Added blank default.properties 2012-07-11 13:57:27 +02:00
deliver_sdk.sh fix deliver_sdk.sh 2012-03-02 15:35:39 +01:00
Makefile Makefile: No parenthesis for getting Linphone version 2012-08-07 16:08:21 +02:00
prepare_sources.sh Fix android compilation issue with updated srtp 2012-04-27 17:57:15 +02:00
project.properties Added project.properties 2012-08-10 13:00:21 +02:00
README Colored led for account status in preferences 2012-09-04 09:43:59 +02:00

			   LINPHONE for ANDROID
			****************************

To build liblinphone for Android, you must:
0) download the Android sdk with platform-tools >= 13, tools >= 20 (20.0.3 for linux) and sdk platform >= 16
1) download the Android ndk (>=r5c) from google.
2) install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig
2bis) on some 64 bits systems you'll need the ia32-libs package
3) run the ./prepare_sources.sh script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
	$ ./prepare_sources.sh

4) finally from directory linphone-android, just execute command:
	$ ${my google ndk directory}/ndk-build


To create an apk with a different package name, you need to use the ant script:
1) first you have to generate first the local.properties file using android sdk
	$ ${my google sdk directory}/tools/android update project --path ${my project path}
2) change inside the build.xml file the value of the property "linphone.package.name"
3) run the ant script
	$ ant debug
4) to install the newly created apk, run the following command
	$ ant installd

Some options can be passed to ndk-build, like "ndk-build SOME_OPTION=SOME_VALUE"

Option Name     |     Possible values                                                                                                   | Default value 
-------------------------------------------------------------------------------------------------------------------------------------------------------
BUILD_X264            0 (don't build x264) or 1 (build x264)										
BUILD_AMRNB           0 (don't build amrnb codec), light (try to use amrnb codec from android), full (build your own amrnb codec)       |     light
BUILD_AMRWB           0 (don't build amrwb codec), 1 (build your own amrwb codec)                                                       |     1
BUILD_GPLV3_ZRTP      0 (don't support ZRTP), 1 (support ZRTP and make the whole program GPLv3)
BUILD_SILK            0 (don't build silk plugin), 1 (build silk) [silk is Skype nonfree patented audio codec]
BUILD_G729            0 (don't build g729 plugin), 1 (build g729) [g729 is nonfree patented audio codec, contact Sipro lab for more details]
BUILD_TUNNEL          0 (don't build tunnel), 1 (build tunnel) [requires a tunnel implementation in submodules/linphone/tunnel]

In order to use ZRTP you also need to define the media_encryption property to
"zrtp" in the sip section of linphonerc file.