No description
Find a file
2013-09-02 11:52:46 +02:00
jni Autodetect need for openssl. 2013-09-02 11:52:46 +02:00
liblinphone_tester fix liblinphone_tester build issue 2013-07-04 09:05:53 +02:00
libs Use submodule for aXMLRPC. 2013-03-18 12:38:41 +01:00
patches integrate ffmpeg patch to 2011-09-30 21:31:07 +02:00
res Added auto answer call option in custom xml 2013-08-30 11:55:42 +02:00
src/org/linphone Added auto answer call option in custom xml 2013-08-30 11:55:42 +02:00
submodules update belle-sip (bugfix) 2013-08-28 17:09:54 +02:00
tests Updated tests to fix some changes in interface and API 2013-08-14 13:43:19 +02:00
.classpath New tests 2013-06-12 15:10:13 +02:00
.gitignore Added sqlite compilation to liblinphone 2013-08-08 12:46:41 +02:00
.gitmodules Same fix for linphone submodule 2013-07-30 11:58:25 +02:00
.project add ilbc 2010-06-30 09:54:16 +02:00
AndroidManifest.xml Version bump 2.2.0.2 2013-08-29 11:23:45 +02:00
ant.properties Use submodule for aXMLRPC. 2013-03-18 12:38:41 +01:00
build.xml add ant terget to deliver sdk 2013-03-04 08:36:24 +01:00
check_tools.sh Merge branch 'master' into bellesip 2013-02-06 12:22:28 +01:00
custom_rules.xml Add JNI for presence. 2013-06-24 18:04:05 +02:00
deliver_sdk.sh Updated deliver_sdk script 2012-12-07 12:20:10 +01:00
Makefile Use liblinphone chat storage as default 2013-08-19 15:05:04 +02:00
project.properties Add xml2lpc/lpc2xml support and remote provisioning 2013-02-05 10:04:00 +01:00
README Added sqlite compilation to liblinphone 2013-08-08 12:46:41 +02:00

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

To build liblinphone for Android, you must:
0) download the Android sdk with platform-tools and tools updated to latest revision (at least API 16 is needed), then add both 'tools' and 'platform-tools' folders in your path.
1) download the Android ndk (>=r8b) from google and add it to your path.
2) install the autotools: autoconf, automake, aclocal, libtoolize, pkgconfig
	On 64 bits linux 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
4) To install the generated apk into a plugged device, run
	$ make install
5) (Optional) To generate a liblinphone SDK zip containing a full jar and native libraries, run
	$ make generate-sdk



To run the tutorials:
1) open the res/values/non_localizable_custom.xml file and change the value of the show_tutorials_instead_of_app to true.
2) compile again using make && make install.
3) /!\ don't forget to put it back to false to run the linphone application normally. /!\

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 by calling "make"

Some options can be passed to make, like "make SOME_OPTION=SOME_VALUE".

Option Name     |     Possible values                                                                                                   	 | Default value 
-------------------------------------------------------------------------------------------------------------------------------------------------------
BUILD_X264            0 (don't build x264) or 1 (build x264)																				 | 0
BUILD_AMRNB           0 (don't build amrnb codec), light (try to use amrnb codec from android), full (build your own amrnb codec)       	 | full
BUILD_AMRWB           0 (don't build amrwb codec), 1 (build your own amrwb codec)                                                       	 | 0
BUILD_GPLV3_ZRTP      0 (don't support ZRTP), 1 (support ZRTP and make the whole program GPLv3)												 | 0
BUILD_SILK            0 (don't build silk plugin), 1 (build silk) [silk is Skype nonfree patented audio codec]								 | 1
BUILD_G729            0 (don't build g729 plugin), 1 (build g729) [g729 is nonfree patented audio codec, contact Sipro lab for more details] | 0
BUILD_TUNNEL          0 (don't build tunnel), 1 (build tunnel) [requires a tunnel implementation in submodules/linphone/tunnel]				 | 0
BUILD_WEBRTC_AECM     0 (don't build echo canceler), 1 (build echo canceler)																 | 1
USE_JAVAH             0 (don't generate header), 1 (generate header for linphone_core_jni) [used to check errors at liblinphone compilation] | 1
BUILD_FOR_X86		  0 (don't generate liblinphone libraries for x86 architecture), 1 (build liblinphone libraries for x86 architecture)    | 1
BUILD_SQLITE	      0 (don't build sqlite3), 1 (build sqlite3) [used to store chat messages inside liblinphone]			| 1 

If you encounter troubles with the make clean target and you are using the 8e android ndk, the solution can be found here: https://groups.google.com/forum/?fromgroups=#!topic/android-ndk/3wIbb-h3nDU