한국어

스마트폰앱

온누리070 플레이스토어 다운로드
    acrobits softphone
     온누리 070 카카오 프러스 친구추가온누리 070 카카오 프러스 친구추가친추
     카카오톡 채팅 상담 카카오톡 채팅 상담카톡
    
     라인상담
     라인으로 공유

     페북공유

   ◎위챗 : speedseoul


  
     PAYPAL
     
     PRICE
     

pixel.gif

    before pay call 0088 from app


https://github.com/BelledonneCommunications/linphone-android



To build liblinphone for Android, you must:

  1. Download the Android sdk (API 25.2.3 at max) with platform-tools and tools updated to latest revision, then add both 'tools' and 'platform-tools' folders in your path and the android-sdk folder to ANDROID_HOME environment variable.

  2. Download the Android ndk (version r11c or 13b) from google and add it to your path (no symlink !!!) and ANDROID_NDK environment variable.

  3. Install yasmnasmantpythonintltoolizecmake and vim-common.

  • On 64 bits linux systems you'll need the ia32-libs package.
  • With the latest Debian (multiarch), you need this:
    • dpkg --add-architecture i386
    • aptitude update
    • aptitude install libstdc++6:i386 libgcc1:i386 zlib1g:i386 libncurses5:i386
  1. Run ./prepare.py in the top level directory. This will configure the build and generate a Makefile in the top level directory. Some options can be passed to choose what you want to include in the build and the platforms for which you want to build. Use ./prepare.py --help to see what these options are.

  2. Run the Makefile script in the top level directory, make.

  3. (optional) To install the generated apk into a plugged device, run make install.

  4. (optional) To generate a liblinphone SDK zip containing a full jar and native libraries, run make liblinphone-android-sdk

  5. (optional) To generate a libmediastreamer2 SDK zip containing a full jar and native libraries, run make mediastreamer2-sdk

  6. (optional) To generate a signed apk to publish on the Google Play, run make release. Make sure you filled the gradle.properties values for version.name, store file, store password, key alias and key password to correctly sign the generated apk:

  • RELEASE_STORE_FILE=""
  • RELEASE_STORE_PASSWORD=
  • RELEASE_KEY_ALIAS=
  • RELEASE_KEY_PASSWORD=

If you don't, the passwords will be asked at the signing phase.

  1. (optional) Once you compiled the libraries succesfully with 'make', you can reduce the compilation time using 'make quick': it will only generate a new APK from java files.

To run the tutorials:

  1. Open the res/values/non_localizable_custom.xml file and change the show_tutorials_instead_of_app to true.

  2. Compile again using make and 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 build.gradle file:

  1. look for the function named "getPackageName()" and change it value accordingly
  2. also update the values in the AndroidManifest file where the comment appears
  3. change the package name also in the files: res/xml/syncadapter.xml, res/xml/contacts.xml and res/values/non_localizable_custom where appears
  4. run again the Makefile script by calling "make"

To run the liblinphone test suite on android

Simply run make liblinphone_tester. This will be build everything, generate an apk, and install it on the connected device if any.

You can speed up the compilation by using ccache (compiler cache, see ccache.samba.org). Give the "-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache" options to the prepare.py script.

PUSH NOTIFICATION

Firebase

To enable firebase in Linphone, just add your 'google-service.json' in project root, add your key at 'push_sender_id' and add 'firebase' at 'push_type' in 'res/values/non_localizable_custom.xml' Be sure to have all services for Firebase in your 'AndroidManifest.xml'

Google

To enable google push in Linphone, remove 'google-service.json' file if it exist, add your key at 'push_sender_id' and add 'google' at 'push_type' in 'res/values/non_localizable_custom.xml' Be sure to have every permissions and services for GCM in your 'AndroidManifest.xml'

TROUBLESHOOTING

If you encounter the following issue:

E/dalvikvm( 2465): dlopen("/data/app-lib/org.linphone-1/liblinphone-armeabi-v7a.so") failed:
Cannot load library: soinfo_relocate(linker.cpp:975): cannot locate symbol "rand" referenced
by "liblinphone-armeabi-v7a.so"

It's because you have installed the android-21 platform (which is chosen automatically because it's the most recent) and you deployed the apk on a android < 5 device.

To fix this, in the Makefile, force ANDROID_MOST_RECENT_TARGET=android-19.

If you encounter troubles with the make clean target and you are using the 8e android ndk, the solution can be found here.

If you built the app using eclipse, ensure you ran at least once the make command (see above steps 0 to 3) ! Else you'll have this exceptions:

FATAL EXCEPTION: main
java.lang.ExceptionInInitializerError
...
Caused by: java.lang.UnsatisfiedLinkError: Couldn't load linphone-armeabi-v7a: findLibrary
returned null

BUILD OPTIONS

The build options are to be passed to the prepare.py script. For example to enable the x264 encoder give the "-DENABLE_X264=YES" to prepare.py.

The available options can be listed with the ./prepare.py --list-features

CONTRIBUTIONS

In order to submit a patch for inclusion in linphone's source code:

  1. First make sure your patch applies to latest git sources before submitting: patches made to old versions can't be merged.
  2. Fill out and send us an email with the link of pullrequest and the Contributor Agreement for your patch to be included in the git tree. The goal of this agreement to grant us peaceful exercise of our rights on the linphone source code, while not losing your rights on your contribution.
조회 수 :
5343
등록일 :
2017.08.25
10:47:07 (*.160.88.18)
엮인글 :
http://webs.co.kr/index.php?document_srl=3311102&act=trackback&key=2de
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3311102
List of Articles
번호 제목 글쓴이 날짜 조회 수
66 mjsip sip sample code program admin 2019-09-07 54
65 Package org.linphone.core Description admin 2017-10-22 4784
64 Sqlite detail easy tutorial. admin 2017-09-09 4954
63 Change package name Linphone Android admin 2017-08-25 5120
62 Liblinphone - import Linphone library in Android Studio 2017 admin 2017-08-25 5467
61 I am able to build the limphone on mac by follow the steps describe here admin 2017-08-25 5023
» To build liblinphone for Android, you must COMPILATION INSTRUCTIONS admin 2017-08-25 5343
59 sipdroid source code admin 2017-08-08 5123
58 안드로이드 주소록 전체가져오기 이름만가져오기 사진가져오기 코드 admin 2015-04-13 24893
57 the sipdroid Research Miscellaneous admin 2015-03-26 8403
56 HSS070 English Korean 무료 국제전화 미국 중국 카나다 무료 통화 제공 admin 2014-12-28 14474
55 Softphones admin 2014-09-20 10785
54 /xxxxx/gen already exists but is not a source folder. Convert to a source folder or rename it. admin 2014-09-03 13982
53 CSIPSimple building Rebuilding Detail on Eclips Good All is heare perfect admin 2014-08-15 11712
52 Improving QoE of SIP-based Automated Voice Interaction in Mobile Networks file admin 2014-03-20 12535
51 speex support in android admin 2014-03-19 11915
50 voxmobile Source and how to build admin 2014-02-18 13228
49 PJSIP hung the phone constantly corrected the problem admin 2014-02-09 13201
48 Csipsimple code rebuilding source sip 통신 Call Mechanism admin 2014-02-09 73861
47 Csipsimple code rebuilding source sip 통신 technical interviewer admin 2014-02-09 13221
46 Csipsimple code rebuilding source 주요인터페이스분석 admin 2014-02-09 179216
45 Csipsimple code rebuilding source 다운로드 구성 csipsimple 소스 프로젝트 admin 2014-02-09 15058
44 Android DialogFragment Tutorial admin 2014-02-09 12954
43 Creating a fullscreen DialogFragment with a custom background admin 2014-02-09 16113
42 [Android API] 네트워크 상태 체크하기 admin 2013-12-19 18222
41 [안드로이드] 네트워크 연결 상태 체크 함수. admin 2013-12-19 14797
40 안드로이드 인터넷연결체크 ( 3g/lte/wifi ) 메서드 admin 2013-12-19 20767
39 Android Get Phone Contacts details with Contact Image admin 2013-12-15 13860
38 안드로이드 커스텀 타이틀바 How to add custom title bar to android application admin 2013-10-02 17042
37 How to create a custom title bar admin 2013-07-15 15470