socket = BD.createRfcommSocketToServiceRecord(); } catch (Exception e) {Log.e("","Error creating socket");} try { socket.connect(); Log.e("","Connected"); } catch (IOException e) { Log.e("",e.getMessage()); try { Log.e("","trying fallback..."); socket =(BluetoothSocket...
Process: com.sample.rfid, PID: 9982 java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$3.done(AsyncTask.java:325) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:354) at java.uti...