pass value from one activity to another android
  • how can send value fom one activity to another activity in android.
  • 1 Comment sorted by
  • Hi you can try this 

    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);    

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