问题
I want to integrate my app with Authorize.Net. I have followed the Steps given in tutorial http://developer.authorize.net/integration/fifteenminutes/android/.
my library project anet_android_sdk showing no error. But when I created a new project as in step 3. I am getting error.
import net.authorize.android.AuthNet;
import net.authorize.android.AuthNetActivityBase;
import net.authorize.android.SimpleActivity;
import net.authorize.android.button.AuthNetButton;
回答1:
Within the anet_android_sdk folder you will find the src folder and within that you will find some packages and classes.Just take the necessary packages and classes like net.authorize.android.aim,net.authorize.android.arb,net.authorize.android.button,net.authorize.android.cim,net.authorize.android.notification etc. in your project.Maintain them within different packages as in the src folder.
The full source code can be found here:
https://drive.google.com/file/d/0B5tCy5V7jKsdOEdPS3c1VTc2MTA/edit?usp=sharing
来源:https://stackoverflow.com/questions/24485899/issues-in-integrating-authorize-net-apis-for-android