public void handleMessage(Message msg) { switch(msg.what) { case DATA_STATE_CHANGE: switch(msg.arg1) { case BluetoothConnect.STATE_LISTEN: Intent startActivit=new Intent(MyService.this,BluetoothTransferActivity.class); startActivit.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); startActivity(startActivit); break; } break; }}};
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)