No description
Find a file
2012-11-12 15:56:14 +01:00
jni Add x86 target. 2012-08-21 16:26:28 +02:00
libs Sending regId to flexisip using proxyconfig contact params 2012-09-07 11:13:49 +02:00
patches integrate ffmpeg patch to 2011-09-30 21:31:07 +02:00
res Improved incall layouts 2012-11-12 15:56:14 +01:00
src/org/linphone Fix some leaks + optimized layouts for 7 and 10 tablets 2012-11-12 14:52:15 +01:00
submodules Improved in-app contact editor + updated liblinphone 2012-11-09 10:03:30 +01:00
tests PSTN gateway test 2012-10-03 18:09:15 +02:00
.classpath Fix classpath for eclipse. 2012-10-15 10:12:38 +02:00
.gitignore Improve build.xml to prevent copying the one from the Android SDK. 2012-10-22 15:53:25 +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 Improved tablet version for some devices 2012-11-12 11:59:18 +01:00
ant.properties Improve build.xml to prevent copying the one from the Android SDK. 2012-10-22 15:53:25 +02:00
build.xml Improve build.xml to prevent copying the one from the Android SDK. 2012-10-22 15:53:25 +02:00
custom_rules.xml Check validity of JNI at compilation time using javah. 2012-10-23 11:20:29 +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 Define USE_JAVAH to generate the linphonecore_jni.h file. 2012-10-25 15:56:25 +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 Updated README 2012-10-26 10:52: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, then add both 'tools' and 'platform-tools' folders in your path.
1) download the Android ndk (>=r5c) from google and add it to your path.
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 Makefile script in the top level directory. This will download iLBC source files and convert some assembly files in VP8 project.
	$ make

To create an apk with a different package name, you need to edit the custom_rules.xml file:
1) look for the property named "linphone.package.name" and change it value accordingly
2) run again the Makefile script. You can only regenerate the apk if you already built it before.
	$ make install-apk

Some options can be passed to ndk-build, like "ndk-build SOME_OPTION=SOME_VALUE". Put them into the Makefile script, under the generate-libs target

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.