초록
최근 위치 기반 서비스를 사용하는 안드로이드 앱이 널리 사용되고 있다. 안드로이드 플랫폼에서 지원되는 여러 위치 제공자 중 GPS (Global Positioning System) 위치 제공자의 동작에 대한 이해는 관련 안드로이드 개발자에게 중요한 과제이다. 본 고는 안드로이드 플랫폼의 GPS 서브시스템 소스를 분석하여, GPS 위치 제공자의 동작을, 주요 쓰레드를 중심으로 그리고 초기화 단계부터 최종 위치 보고 단계까지 단계별로 일목요연하게 제시하고자 한다.
Recently Android apps utilizing location based services are widely used. Understanding the operation of the GPS location provider, among various location providers supported in the Android platform, is an essential task for developers using the Android. This paper, based on the analysis of source codes of the GPS subsystem in the Android platform, shows clearly and orderly the operation of the GPS location provider, in key threads' perspectives as well as in a stepwise fashion from the initialization up to the final location report steps.