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。