Linphone is an internet phone or Voice Over IP phone (VoIP).
- With Linphone you can communicate freely with people over the internet, with voice, video, and text instant messaging.
- Linphone makes use of the SIP protocol, an open standard for internet telephony. You can use Linphone with any SIP VoIP operator, including our free SIP audio/video service.
- Linphone is free software (or open-source), you can download and redistribute it freely.
- Linphone is available for desktop computers: Linux, Windows, Mac OSX, and for mobile phones: Android, iPhone, Blackberry.
Linphone-android is a good example to show the integration of Java code based on Android SDK with native CODEC, network protocols. Not like XBMC-Android that is almost total c++/c project.
Perform the following steps to build a linphone-android project:
1. git clone git://git.linphone.org/linphone-android.git --recursive
2. sudo apt-get install autoconf automake libtool pkg-config
3. "cd" to the root of "git clone" : cd /home/user/linphne-android // wherver git'ed linphone-android is
4. export PATH=/home/user/android-ndk:$PATH //wherever your android-ndk, android-sdk tools, and platform-tools, and ANT are stored in.
For example on my PC.
export PATH=/home/alanz/android-ndk-r8d:/home/alanz/android-sdk-linux/tools:/home/alanz/android-sdk-linux/platform- tools:/home/alanz/bin/apache-ant-1.8.4/bin:$PATH
Note: PATH contains the ndk, sdk, and ant.
5. Make sure the network is working, then execute "./prepare_sources.sh" at the linphone-android root
6. Then, execute "/home/alanz/android-ndk-r8d/ndk-build", it will take a while to be finished
7. Modify Makefile as following example, modify it accordingly.
NDK_PATH=/home/alanz/android-ndk-r8d
SDK_PATH=/home/alanz/android-sdk-linux/tools
SDK_PLATFORM_TOOLS_PATH=/home/alanz/android-sdk-linux/platform-tools
.....................
generate-libs:
$(NDK_PATH)/ndk-build ....... (remove -j$(NUMCPUS) by the end of this command line)
8. execute "make", after finish, the apk file can be found under bin/ subdirectory.