LocationListener using google api1 Google map Location (구글맵 위치) - LocationListener using google api 이 방법은 구글에서 권장하는 방법입니다. Google API Client를 이용하여서 위치를 가져오는 방법입니다. 먼저 GoogleApiClient부분을 interface해줍니다. 1public class BaseFragment extends Activity implements GoogleApiClient.OnConnectionFailedListener,GoogleApiClient.ConnectionCallbackscs 그리고 접속하는 부분에 LocationService를 넣어줍니다. 12345mGoogleApiClient = new GoogleApiClient.Builder(this) .addConnectionCallbacks(this) .addOnConnectionFailedListener(this).. 2015. 10. 26. 이전 1 다음 인기글