Imported Plugins
Hi
I have imported the card.io plugins from github.
On the press of a button, I need to implement the following code. How would I convert this for appery to understand? Is there a way?
public void onScanPress(View v) {
Intent scanIntent = new Intent(this, CardIOActivity.class);
Code: Select all
// customize these values to suit your needs.
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_EXPIRY, true); // default: true
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_CVV, false); // default: false
scanIntent.putExtra(CardIOActivity.EXTRA_REQUIRE_POSTAL_CODE, false); // default: false
// MY_SCAN_REQUEST_CODE is arbitrary and is only used within this activity.
startActivityForResult(scanIntent, MY_SCAN_REQUEST_CODE); }