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
    Regards,
    M.Hussain
    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);
    startActivity(intent);

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

    Intent intent = new Intent("com.google.zxing.client.android.SCAN");
            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

Tagged

Popular Posts of the Week

    Optimum Creative