put extra in intent code example Example: intent android Intent intent = new Intent(MainActivity.this,Activity.class);