안드로이드 위치찾기1 android location (위치찾기) 위치찾기 소스 android에서 위치를 찾기위해서 android api의 android.location class를 사용하였는데 이제 google location services API를 사용하라고 하는군요. Google Location Services API 위 링크로 가면 위치정보를 좀 더 쉽게 가져올 수 있습니다. 1. 최신위치 찾기 ( Getting the Last Known Location) 이건 디바이스에서 최신 위치를 찾아오는 겁니다. 일단 레이아웃 입니다. 간단하게 버튼과 아래는 텍스트뷰로~ 이제 build.gradle로 가셔서 dependency를 추가해 줍니다. 12345dependencies { compile fileTree(include: ['*.jar'], dir: 'libs') .. 2015. 4. 29. 이전 1 다음 인기글