9

I am new to Linphone and I am having problem Regarding integration of linphone to my android project. As there are no enough Tutorial Regarding Linphone Libraries and How to Use it. So I would Like to reguest to Provide me step by step guide to help me regarding Integration of linphonoe to my android project

Thanks in Advance

Meena
  • 121
  • 1
  • 4
  • 1
    Nice that you want to work on Linphone.. I am tryinh from past 6 month and still no results.. – Prakash Jul 20 '13 at 11:13
  • @Prakash did ur linphone library run's ?? i also need help in this – iPhnQ Sep 16 '13 at 12:31
  • @iPhnQ... No.. they didn't work. whenever I try to run the project from git, is shows that its missing avutils, neon etc libraries. I tried to make it using the prepare.sh file but it stopped in middle with error. – Prakash Sep 17 '13 at 13:46
  • 2
    @Prakash try out my answer i posted on your question http://stackoverflow.com/questions/15086307/linphone-for-android-is-not-working-missing-libraries/18864971#18864971 ... accept my answer if it works for you – iPhnQ Sep 18 '13 at 06:10

2 Answers2

5

After doing lots of research on android linphone, I have published two tutorials and add an excel sheet to setup and change code of android linphone. To setup android linphone project, you need to have Mac/Linux System. Here are links:-

  1. Android Linphone Tutorial-1
  2. Android Linphone Tutorial-2
Md Mohsin
  • 1,568
  • 1
  • 18
  • 28
  • If I integrate liblinphone in my existing app, do I need a voip server to make audio video calls? – Umair Feb 12 '20 at 09:47
  • You can use your own server or can use Linphone server free of cost. – Md Mohsin Feb 13 '20 at 10:20
  • After integrating liblinphone to my app, how will I tell my app which server to use. In other words, which file to edit? – Umair Feb 13 '20 at 13:41
2

Clone linphone-android project from git and build using android NDK R9. Build it on linux and before starting build, make sure that you have all the packages mentioned in README file. To build the project, just type:

# make

and after successful compilation, generate linphone SDK using following command:

# make linphone-sdk

It will generate a zip file congaining linphone.jar file and native .so modules in different directories for different architectures.

Create a new android application project in eclipse, copy linphone.jar and other directories in libs directory under newly created android project, and refresh your project in eclipse. It will automatically add linphone.jar and other native linux (android) modules.

You are good to go... import packages in your android activities use the API.

Muhammad Shahbaz
  • 319
  • 1
  • 3
  • 10
  • After that how to start work on it? Any tutorial or guide line? – Md Mohsin Feb 19 '15 at 12:26
  • @MdMohsin have you find any solution for same? – Nik Jul 04 '18 at 06:51
  • @MdMohsin I checked that link. I am successfully make linphone and after I added project to Android studio. but I am getting error here: https://github.com/BelledonneCommunications/linphone-android/issues/303 can you please help me to resolve this? and How to add linphone in my existing project? I need sip call functionality only. – Nik Jul 05 '18 at 08:10
  • Looks like you have forgot something to do at the time of Linphone building process else it will run well. – Md Mohsin Jul 05 '18 at 17:18
  • @Muhammadshahbaz If I integrate liblinphone in my existing app, do I need a voip server to make audio video calls? – Umair Feb 12 '20 at 09:48