Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

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

}

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Imported Plugins

Hi Deon -

The part of a code you've posted is Java -- and creation or debugging 3rd party plugins is outside the scope of our support. (http://devcenter.appery.io/support-po...)

Return to “Issues”