基于Qt的Android应用程序C/C++开发方法与实践
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

中央高校基本科研业务费专项资金(Z109021423);农业部现代农业装备重点实验室开放课题(201603002);国家自然科学基金(51302221);西北农林科技大学校教学改革项目(JY1504046);国家重点研发计划专项(2017YFD0502000)


Qt-Based C/C++ Development Pattern and Its Application for Android APP
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 增强出版
  • |
  • 文章评论
    摘要:

    Android Java应用程序(APP)运行时需依赖Dalvik虚拟机环境,从而影响APP的性能表现.C/C++程序具有极好的硬件适应能力,但不能直接开发Android APP.针对该问题,利用Dalvik虚拟机支持JNI (Java Native Inter-face)调用的特点,设计了基于Qt的Android APP C/C++开发方法框架体系,给出了框架的详细工作机制和解决方案,系统总结了利用C/C++开发Android APP的主要过程和步骤.最后,以Android版机械CAD导教APP的开发工作为例,验证了方法的有效性和可行性,为直接利用C/C++开发Android APP提供了一种新途径.

    Abstract:

    Android Software Development Kit (SDK), a collection of Android tools, is an effective Java-based kit to develop Android APPlication (APP). However, Android APP's performance is usually limited by the backend Dalvik virtual machine environment. A novel practical model that Android APP developed by C/C++ codes is proposed, because Java Native Interface (JNI) can support C/C++ dynamic library callback mechanism. This paper firstly analyzes and compares the characters between the general development mode for Android APP and Qt cross-platform development framework, and presents a novel principle and a technical relationship between Android APP and Qt framework. Then, it describes the main processes, abstract implementation steps, and software list for the solution. Finally, the development of a sample APP, Mechanical CAD Teaching Assistant, is given as an example to verify the effectiveness and feasibility of the development pattern. This work provides a new way to use C/C++ programming language to develop APPs running on Android operating system.

    参考文献
    相似文献
    引证文献
引用本文

闫锋欣,牛子杰,杜烁炜,潘天丽.基于Qt的Android应用程序C/C++开发方法与实践.计算机系统应用,2018,27(7):96-102

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2017-10-31
  • 最后修改日期:2017-11-27
  • 录用日期:
  • 在线发布日期: 2018-06-27
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京海淀区中关村南四街4号 中科院软件园区 7号楼305房间,邮政编码:100190
电话:010-62661041 传真: Email:csa (a) iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号