No description
Find a file
2012-12-10 09:43:06 +01:00
jni Add WebRTC echo canceller. 2012-11-15 11:40:19 +01:00
libs Wizard for Android 2012-02-02 10:34:29 +01:00
patches integrate ffmpeg patch to 2011-09-30 21:31:07 +02:00
res Deactivate echo limiter in speaker mode. 2012-11-15 11:59:14 +01:00
src/org Added some methods to the API to remove custom notifs 2012-12-07 14:30:00 +01:00
submodules Update linphone submodule. 2012-12-10 09:43:06 +01:00
.classpath Update linphone submodule for echo canceller. 2012-10-17 09:58:58 +02:00
.gitignore Updated ant build 2012-12-06 11:18:30 +01:00
.gitmodules Use public url for the webrtc submodule. 2012-11-15 12:57:17 +01:00
.project add ilbc 2010-06-30 09:54:16 +02:00
AndroidManifest.xml Fix Manifest for tablets 2012-11-06 11:29:15 +01:00
ant.properties Added forgotten file needeed for ant compilation 2012-12-06 12:43:20 +01:00
build.xml Updated ant build 2012-12-06 11:18:30 +01:00
custom_rules.xml Updated deliver_sdk 2012-12-07 11:49:11 +01:00
deliver_sdk.sh Improved deliver_sdk script 2012-12-07 12:10:26 +01:00
Makefile Make only compiles, make install run the app on the device 2012-12-06 14:40:46 +01:00
prepare_sources.sh Fix android compilation issue with updated srtp 2012-04-27 17:57:15 +02:00
README Update the README about the NDK version. 2012-12-06 09:25:13 +01:00

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

To build liblinphone for Android, you must:
1) download the latest Android ndk from google.
2) install the autotools: autoconf, automake, aclocal, libtoolize pkgconfig
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.