Page 1 of 1

Imported Plugins

Posted: Sun Jan 18, 2015 1:38 pm
by Deon

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

}


Imported Plugins

Posted: Mon Jan 19, 2015 7:16 am
by Illya Stepanov

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