There is android service listening for bluetooth socket connection.
This connection is realized in permanent loop where commands are received.
This service is started and bounded in activity onStart()
with:
intent.putExtras(b);
getActivity().startService(intent);
getActivity().bindService(intent, mConnection, Context.BIND_AUTO_CREATE);
any idea why the main thread is getting stopped?