public void resume() { mTelephonyManager.listen( mCellMonitorPhoneStateListener, PhoneStateListener.LISTEN_CELL_LOCATION | PhoneStateListener.LISTEN_SIGNAL_STRENGTHS); Criteria criteria = new Criteria(); String bestProvider = mLocationManager.getBestProvider(criteria, false); mLocationManager.requestLocationUpdates(bestProvider, 0, 0, mGpsLocationListener); /* * Resume the Kaa client. Restore the Kaa client workflow. Resume all the Kaa client * tasks. */ mClient.resume(); }