Code example for BluetoothAdapter

Methods: getAddress

        protected Boolean doInBackground(Void... sVoid) {
        	boolean result = true;
            try { 
            	if(debug) Log.d(DEBUG_TAG, "Starting to execute REST call!");
            	String call = RESTCaller.userStatsCall(mBtAdapter.getAddress());
                RESTCaller caller = new RESTCaller();
                restJSONObject = caller.execute(call);
            } catch (Exception e) {
            	result = false;
            return result;
        protected void onPreExecute() { 
            if(debug) Log.d(DEBUG_TAG, "Starting UserStatsActivity UILoaderAsyncTask");
Stop searching for code, let great code find you!  Add Codota to your java IDE