| With the development of mobile Internet technology in the new generation of information technology, as the smartphone operating system Android has been developing rapidly. Its application is no longer limited to supporting mobile phones, and gradually extended to the Tablet PC and even industrial areas. With the rapid development of the Internet of things, GPS devices as sensing devices, has also become one of the focus of attention. GPS can provide personnel positioning, anti-theft, anti-robbery, vehicle driving route control and call the command.Android OS provides a perfect interface for GPS application, but in Android HAL layer, the driver layer, there is no uniform standard. As a result, this paper, developing and port an Android GPS module in a development board as the background, introduced the development environment of Android system and the porting of android and researchs the porting of Android GPS module, to help developers to understand and solve Android GPS related issues as soon as possible.In this paper, there are three main works.The first one is researching Android system architecture, analyzing the Android system transplantment in the Linux development environment and realizing the port of Android in a Samsung6410development board which includes the realizing of Bootloader,Linux kernel and the file system of Android. The second one is analyzing and summarizing Android GPS module architecture, including GPS application layer, GPS framework layer, GPS HAL layer and GPS driver layer and studying the GPS module working principle,and designing and implementing GPS JNI layer, HAL layer and driver layer,. The last one is developing a GPS application to test GPS function, with the summary method the the Android GPS module. Finally this paper realized the Android GPS function on the development board. |