No description
Find a file
2013-01-29 09:39:49 +01:00
jni Added libneon to detect neon in NDK instead of reading /proc/cpuinfo 2013-01-18 11:50:50 +01: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 Updated russian translation thanks to Maxim Solodovnik 2013-01-29 09:39:49 +01:00
src/org/linphone Remove useless code. 2013-01-23 12:31:31 +01:00
submodules Update linphone submodule. 2013-01-28 14:14:08 +01:00
tests Fixes in tests 2012-12-07 12:20:10 +01:00
.classpath Liblinphone updated (fix) + tutorials back 2013-01-16 16:06:57 +01:00
.gitignore Other changes for release 2012-12-13 14:32:50 +01:00
.gitmodules Use public url for webrtc submodule. 2012-11-15 13:10:14 +01:00
.project add ilbc 2010-06-30 09:54:16 +02:00
AndroidManifest.xml Added setting to run tutorials directly from the app + updated README 2013-01-16 16:33:15 +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 Added forgot file in previous commit 2013-01-10 17:14:20 +01:00
custom_rules.xml Don't store auth info in linphonerc. 2013-01-16 16:07:55 +01:00
default.properties Added blank default.properties 2012-07-11 13:57:27 +02:00
deliver_sdk.sh Updated deliver_sdk script 2012-12-07 12:20:10 +01:00
Makefile Added back X264 compilation as default 2013-01-22 12:13:34 +01: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 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