可以导入eclipse的 linphone android 源码,如何在現有的Android項目中集成Linphone

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​​。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值