how to pass values from one activity to another activity in android
  • how i can send value one activity to another in android ?
    Thank You
    Software Engineer
  • 1 Comment sorted by
  • Page 1..
    you can send value from this code

    Intent intent = new Intent(Login.this,AttendanceRecorder.class).putExtra("result",result);

    page 2..
    you can get value from second activity from this code

    Intent intent = new Intent("");
            intent.putExtra("SCAN_MODE", "QR_CODE_MODE");
            startActivityForResult(intent, 0);   

    hope you can enjoy

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook


Popular Posts of the Week