Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void start(){
- new Thread(new Runnable() {
- public void run() {
- while(true){
- try {
- Log.d("", "123");
- /* if(flag==1){
- Bundle abc = new Bundle();
- abc.putInt("123", 1);
- Message msg = new Message();
- msg.setData(abc);
- mHandler.sendMessage(msg);
- }*/
- Thread.sleep(1000);
- } catch (InterruptedException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
- }
- }
- });
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement