如何在现有的Android项目中集成Linphone

时间:2023-01-17 13:34:56

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

我是Linphone的新手,我有问题关于linphone与我的android项目的集成。由于没有足够的关于Linphone库的教程以及如何使用它。因此,我想请一步一步向我提供有关linphonoe与我的android项目集成的帮助

Thanks in Advance

提前致谢

2 个解决方案

#1


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:-

在对android linphone进行了大量研究之后,我发布了两个教程并添加了一个excel表来设置和更改android linphone的代码。要设置android linphone项目,您需要拥有Mac / Linux系统。这是链接: -

  1. Android Linphone Tutorial-1
  2. Android Linphone教程-1
  3. Android Linphone Tutorial-2
  4. Android Linphone教程-2

#2


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:

从git克隆linphone-android项目并使用android NDK R9构建。在linux上构建它,在开始构建之前,请确保您拥有README文件中提到的所有软件包。要构建项目,只需键入:

# make

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

编译成功后,使用以下命令生成linphone SDK:

# make linphone-sdk

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

它将生成一个zip文件,它将linphone.jar文件和本机.so模块集成在不同的目录中,用于不同的体系结构。

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.

在eclipse中创建一个新的android应用程序项目,复制linphone.jar和新创建的android项目下libs目录中的其他目录,并在eclipse中刷新你的项目。它会自动添加linphone.jar和其他原生linux(android)模块。

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

你很高兴...你的android活动中的导入包使用API​​。

#1


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:-

在对android linphone进行了大量研究之后,我发布了两个教程并添加了一个excel表来设置和更改android linphone的代码。要设置android linphone项目,您需要拥有Mac / Linux系统。这是链接: -

  1. Android Linphone Tutorial-1
  2. Android Linphone教程-1
  3. Android Linphone Tutorial-2
  4. Android Linphone教程-2

#2


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:

从git克隆linphone-android项目并使用android NDK R9构建。在linux上构建它,在开始构建之前,请确保您拥有README文件中提到的所有软件包。要构建项目,只需键入:

# make

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

编译成功后,使用以下命令生成linphone SDK:

# make linphone-sdk

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

它将生成一个zip文件,它将linphone.jar文件和本机.so模块集成在不同的目录中,用于不同的体系结构。

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.

在eclipse中创建一个新的android应用程序项目,复制linphone.jar和新创建的android项目下libs目录中的其他目录,并在eclipse中刷新你的项目。它会自动添加linphone.jar和其他原生linux(android)模块。

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

你很高兴...你的android活动中的导入包使用API​​。