应用科技
應用科技
응용과기
YING YONG KE JI
2015年
3期
35-39
,共5页
Android系统%Linux内核%3G模块%JNI技术%Android NDK
Android繫統%Linux內覈%3G模塊%JNI技術%Android NDK
Android계통%Linux내핵%3G모괴%JNI기술%Android NDK
Android operating system%Linux kernel%3G module%JNI technology%Android NDK
为了研究Android系统的应用程序如何通过JNI技术实现对底层设备的操作,文中以3G模块实验为例,介绍了Android系统的Linux内核对3G模块常用控制引脚的驱动实现。结合JNI和Android NDK技术调用本地方法,并在E?clipse下编程实现Android应用程序对3G模块的常用操作(如复位、飞行模式等)。实践证明通过JNI技术可实现An?droid应用程序操作底层设备。
為瞭研究Android繫統的應用程序如何通過JNI技術實現對底層設備的操作,文中以3G模塊實驗為例,介紹瞭Android繫統的Linux內覈對3G模塊常用控製引腳的驅動實現。結閤JNI和Android NDK技術調用本地方法,併在E?clipse下編程實現Android應用程序對3G模塊的常用操作(如複位、飛行模式等)。實踐證明通過JNI技術可實現An?droid應用程序操作底層設備。
위료연구Android계통적응용정서여하통과JNI기술실현대저층설비적조작,문중이3G모괴실험위례,개소료Android계통적Linux내핵대3G모괴상용공제인각적구동실현。결합JNI화Android NDK기술조용본지방법,병재E?clipse하편정실현Android응용정서대3G모괴적상용조작(여복위、비행모식등)。실천증명통과JNI기술가실현An?droid응용정서조작저층설비。
In order to get the way by which the application of Android system can control the bottom devices through JNI technology, the 3G module is used for the experiment. The driver implementation of 3G module controlling pins in Linux kernel of Android operating system was introduced. Besides, using JNI and Android NDK technology, and calling the native methods, it achieves the Android application which is developed in the IDE of Eclipse to operate 3G module, such as reset, flight mode, and so on. It is verified that the bottom equipment can be operated by An?droid application program through JNI technology.