Code example for BluetoothAdapter

Methods: getAddress

0
    private class UILoaderAsyncTask extends AsyncTask<Void, Void, Boolean> {
        @Override 
        protected Boolean doInBackground(Void... sVoid) {
        	boolean result = true;
            try { 
            	String call = RESTCaller.getStandings(mBtAdapter.getAddress(), -1, "");
                RESTCaller caller = new RESTCaller();
                restJSONObject = caller.execute(call);
            } catch (Exception e) {
            	result = false;
            } 
            return result;
        } 
         
        @Override 
        protected void onPreExecute() { 
            super.onPreExecute(); 
            mProgressDialog.show();
        } 
         
Experience pair programming with AI  Get Codota for Java