스마트폰앱

오늘:
737
어제:
2,208
전체:
2,860,628

고객센타 : 070-7752-2000
팩스 : 070-7752-2001
휴대폰 : 010-9513-0019
email : voipkorea@yahoo.co.kr

국민은행
(주)제이에스솔루션
047101-04-155519

Flag Counter
■ 무료 : 유선 집전화 휴대폰 ( 한국 미국 중국 카나다) ↔ (국내 해외 여행자 상사 주재원 유학생) / 가입무 무제한무료■

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.
조회 수 :
637
등록일 :
2017.08.25
10:47:07 (*.160.88.18)
엮인글 :
http://webs.co.kr/index.php?document_srl=3311102&act=trackback&key=11a
게시글 주소 :
http://webs.co.kr/index.php?document_srl=3311102
List of Articles
번호 제목 글쓴이 날짜 조회 수
65 Package org.linphone.core Description admin 2017-10-22 244
64 Sqlite detail easy tutorial. admin 2017-09-09 560
63 Change package name Linphone Android admin 2017-08-25 668
62 Liblinphone - import Linphone library in Android Studio 2017 admin 2017-08-25 664
61 I am able to build the limphone on mac by follow the steps describe here admin 2017-08-25 641
» To build liblinphone for Android, you must COMPILATION INSTRUCTIONS admin 2017-08-25 637
59 sipdroid source code admin 2017-08-08 742
58 안드로이드 주소록 전체가져오기 이름만가져오기 사진가져오기 코드 admin 2015-04-13 6539
57 the sipdroid Research Miscellaneous admin 2015-03-26 3162
56 HSS070 English Korean 무료 국제전화 미국 중국 카나다 무료 통화 제공 admin 2014-12-28 4591
55 Softphones admin 2014-09-20 4853
54 /xxxxx/gen already exists but is not a source folder. Convert to a source folder or rename it. admin 2014-09-03 5300
53 CSIPSimple building Rebuilding Detail on Eclips Good All is heare perfect admin 2014-08-15 5238
52 Improving QoE of SIP-based Automated Voice Interaction in Mobile Networks file admin 2014-03-20 6032
51 speex support in android admin 2014-03-19 6249
50 voxmobile Source and how to build admin 2014-02-18 6653
49 PJSIP hung the phone constantly corrected the problem admin 2014-02-09 7100
48 Csipsimple code rebuilding source sip 통신 Call Mechanism admin 2014-02-09 21765
47 Csipsimple code rebuilding source sip 통신 technical interviewer admin 2014-02-09 7012
46 Csipsimple code rebuilding source 주요인터페이스분석 admin 2014-02-09 40720
45 Csipsimple code rebuilding source 다운로드 구성 csipsimple 소스 프로젝트 admin 2014-02-09 8095
44 Android DialogFragment Tutorial admin 2014-02-09 7456
43 Creating a fullscreen DialogFragment with a custom background admin 2014-02-09 9935
42 [Android API] 네트워크 상태 체크하기 admin 2013-12-19 8805
41 [안드로이드] 네트워크 연결 상태 체크 함수. admin 2013-12-19 7992
40 안드로이드 인터넷연결체크 ( 3g/lte/wifi ) 메서드 admin 2013-12-19 14501
39 Android Get Phone Contacts details with Contact Image admin 2013-12-15 7328
38 안드로이드 커스텀 타이틀바 How to add custom title bar to android application admin 2013-10-02 9767
37 How to create a custom title bar admin 2013-07-15 10003
36 Rotary Dialer clip art admin 2013-04-20 17621
35 Java 프로그램 실행화일 만들기 : Launch4j admin 2013-02-21 10731
34 java network programming source code, learning socket programming admin 2012-12-04 10722
33 2X Client Configuration | Android Remote Desktop 안드로이드 PC 리모트 데스크탑 admin 2012-12-02 12528
32 WIFI 3G 인터넷 연결 실시간 체크 소스코드 Broadcast Receiver 사용 (Adnroid) admin 2012-10-31 17013
31 통신사별 와이파이 비밀번호 admin 2012-10-31 14995
30 팁, wifi 패스워드 모음집 password admin 2012-10-21 11090
29 Android User Session Management using Shared Preferences admin 2012-10-16 32872
28 Unicode Tables v4 admin 2012-10-16 23355
27 HTML Codes admin 2012-10-16 10046
26 IBM Scan Codes EBCDIC Codes admin 2012-10-16 12251
25 ASCII Table and Description admin 2012-10-16 11519
24 How to Show Alert Dialog in Android (간단하고 쉬운설명) admin 2012-10-15 22682
23 How to read contacts on Android 2.0 admin 2012-10-14 13690
22 WIFI 3G 인터넷 연결 체크 소스코드 직접 사용한 코드 android admin 2012-10-14 15549
21 Android Detect Internet Connection Status admin 2012-10-12 21121
20 JAVA + SSL (server and client examples) admin 2012-10-07 22584
19 Querying The Android Contact Database admin 2012-09-30 10925
18 Manage Contacts android admin 2012-09-30 12900
17 Android Contacts API 2 example admin 2012-09-30 14009
16 Android 2.0 주소록 동기화 기능 admin 2012-09-30 39301
15 안드로이드용 앱 개발 마켓등록 까지 해본거 샘플 무료국제전화 앱 FreeDialer admin 2012-09-27 15001
14 아이폰 IPhone 앱 개발 기본 admin 2012-09-27 11621
13 [안드로이드/개발] Intent admin 2012-09-23 18140
12 안드로이드 타이머 절적한 설명과 간단한소스코드 등 안드로이드 프로그램 설명 깔끔 admin 2012-09-23 28931
11 google voice source code admin 2012-09-22 10949
10 [안드로이드] 서버/클라이언트 소켓(Socket) 통신하기 admin 2012-09-20 21209
9 FreeDial 무료국제전화는 프리미엄 국제전화 다이렉트 회선사용 admin 2012-09-20 12004
8 Android SQlite 사용 admin 2012-09-04 11890
7 안드로이드마켓에 앱 등록하는 순서 admin 2012-08-19 42808
6 전화관련 안드로이드함수 admin 2012-08-18 15619
5 자바 ,이클립스,Android SDK, ADT 설치하여 무료국제전화 다이얼러를 만들어봅시다. admin 2012-08-06 16127
4 아이폰용 무료국제전화용 무료 다이얼러 Speedydialer 설치및 사용방법 file admin 2012-07-14 11477
3 접속번호 + 상대방번호 # 를 주소록에 전화번호로 저장하여 사용하면 편리하다 admin 2012-06-17 13443
2 App Store - ILD Dialer admin 2012-06-17 10015
1 한국휴대폰에서 미국 중국 카나다 무료 국제전화 서비스 admin 2012-04-27 10367