get current Location in Android
问题 I tried to get the current location in Android. At least, I took this example from this post. How do I get the current GPS location programmatically in Android? While this post is five years old, commonsware told me to ask a new question. Here is my code Snippet. @Override public void onCreate(Bundle arg0) { super.onCreate(arg0); Log.i(TAG, "onCreate"); setHasOptionsMenu(true); mActivity = (CustomerTabs) this.getActivity(); mActivity.getActionBar().hide(); if (checkGooglePlayServicesAvailable