Now we just need to look for these extra values in the payment information activity. This can be done by modifying the onCreate()function. For example:
// In the Activity containing a CardInputWidget object called// mCardInputWidget@OverrideprotectedvoidonCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);setContentView(R.layout.activity_enter_card); mCardInputWidget = (CardInputWidget) findViewById(R.id.card_input_widget);Bundle b =getIntent().getExtras();if(b !=null) {mCardInputWidget.setCardNumber(b.getString("cardNumber"));if(b.getInt("expiryYear") >0 ) {mCardInputWidget.setExpiryDate(b.getInt("expiryMonth"),b.getInt("expiryYear")); } }}