摘要
研究了多传感器技术在Android移动设备上的应用,提出了基于Android传感器应用的实现方法,使用户与设备发生更为直观的操作和交互.本文首先介绍了开发环境搭建,利用Android程序框架实现此应用程序,JNI(Java Native Interface)调用数据融合相关函数的步骤,以及采用Android NDK(Native Development Kit)生成共享库的过程.然后阐述了利用Android传感器和动态调用数据融合算法获得数据开发指南针,水平仪,动态立方体的方法;最后描述了开发的MFC服务器端软件通过Socket进行实时位置坐标数据的传送和绘制轨迹信息的功能.实验结果表明,该系统实现了所需展示的性能和应用功能,并可扩展到移动设备的其他应用程序中.
This paper studies the application of multi-sensor technology on Android mobile devices, and raises the method of implementations of Android sensor applications, allowing users and equipment more intuitive operation and interaction.First introduced the development environment to build Android application framework to achieve this application, the steps of calling correlation function of data fusion with JNI (Java Native Interface), as well as the process of generating shared libraries with Android NDK (Native Development Kit). Then elaborated the use of the Android sensor and the methods of development of compass, spirit level, dynamic cube; at the same time develop of the MFC server-side software, implementing the transfer of location coordinate data through Socket and draw the trajectory. Experimental results, which show that the system achieve the required function to demonstrate the application, and can be extended to other applications of mobile devices.
出处
《计算机系统应用》
2013年第8期72-75,共4页
Computer Systems & Applications