No description
Find a file
2013-04-02 15:40:23 +02:00
jni add build option to disable polarssl 2013-04-02 09:18:25 +02:00
liblinphone_tester Merge branch 'bellesip' of git.linphone.org:linphone-android-private into bellesip 2013-03-13 15:11:02 +01: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 Merge remote-tracking branch 'public/master' into bellesip 2013-03-26 17:12:21 +01:00
src/org/linphone add missing file 2013-03-27 08:49:12 +01:00
submodules Update linphone submodule 2013-04-02 15:40:23 +02:00
tests update bellesip/linphone 2013-03-29 14:30:46 +01:00
.classpath Remove old xmlrpc jar from classpath 2013-03-19 11:09:50 +01:00
.gitignore Add files to .gitignore 2013-03-07 17:36:11 +01:00
.gitmodules integrate polarssl to linphone-android. 2013-03-28 17:19:11 +01:00
.project add ilbc 2010-06-30 09:54:16 +02:00
AndroidManifest.xml implement keep alive handler every 10mn 2013-03-26 15:59:09 +01: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 Merge remote-tracking branch 'master/master' into bellesip 2013-03-22 12:08:46 +01:00
deliver_sdk.sh Updated deliver_sdk script 2012-12-07 12:20:10 +01:00
Makefile add build option to disable polarssl 2013-04-02 09:18:25 +02:00
prepare_sources.sh Fix android compilation issue with updated srtp 2012-04-27 17:57:15 +02:00
project.properties Add xml2lpc/lpc2xml support and remote provisioning 2013-02-05 10:04:00 +01:00
README Added setting to run tutorials directly from the app + updated README 2013-01-16 16:33:15 +01: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
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
4) To install the generated apk into a plugged device, run
	$ make install

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