 @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_first);

        Log.d(TAG , "Task id is :"+getTaskId());
       
        Button button1 = (Button) findViewById(R.id.button_1);
        button1.setOnClickListener(new View.OnClickListener( ){
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(FirstActivity.this , SecondActivity.class);
                //startActivityForResult(intent , 1);
                startActivity(intent);
            }
        });
    }