Ragul Murugan

Results 3 comments of Ragul Murugan

But I'm closing UART before passing the Intent in every activity and this problem occurs randomly if it occurs always I can consider I forget to Close somewhere even I...

I'm closing it before passing the intent like try { closeUart(); } catch (IOException e) { Log.e(TAG, "Error closing UART device:", e); } Intent i = new Intent(MainActivity.this,MainActivity2.class); String strName...

I have tried using main thread timer before passing the intent. Like Thread.sleep(1000). This time I'll try your idea let me use handler . Thanks dude