因此,位置需要尽可能准确,但当我的应用程序试图获得准确的位置时,我不想让用户等待太久。LocationRequest.PRIORITY_HIGH_ACCURACY);LocationServices.FusedLocationApi.requestLocationUpdatesmLocationHandler.sendEmptyMessageDelayed(0, 15000); // Time out location request
我有Handler mLocat
void onStart(Intent intent, int startId) { mlocManager.requestLocationUpdatesLog.e(TAG, "Service created and location manager and listener created");
mlocManager.requestLocationUpdatesLog.e(TAG, "Service cre