Hi,
I'm trying you quickstart for android https://developer.authorize.net/integration/fifteenminutes/android/ but the application stop at the loggin in process. :s
In the logcat I only can see:
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
D/AuthNetActivityBase( 5859): sleeping getMerchant()
My Android version is: 4.0.4
Can you help me with that?
thanks
https://developer.authorize.net/integration/fifteenminutes/android/
01-14-2013 03:42 PM
My best guess is that the connection is failing to make it to Authorize.Net, but I really can't say from just this log. I would recommend to you that you change the logging level while you are working so that you get a more informative message. The SDK does make use of android.util.log.
01-18-2013 03:00 PM
I've also struggeled with this problem. I downloaded the newest Android SDK V1.3.0 on 20 Aug 2013 and followed the instruction given by Authroize.NET to create a sample project.
After several hours of analysis I found the root cause - at least in my case.
Please have a look into the SDK class:
net.authorize.android.security.MobileMerchantAuthActivity
In the method "showCredentialsPage" a new "ExecuteTransactionTask" object is created and the task is started. Unfortunatyl the AsyncTask thread does not start for whatever reason. This is a welknown Android problem, but can have several causes.
I solved the problem by changing the implementation from AsyncTask to Thread within the "MobileMerchantAuthActivity" class. It works now. I can login in.
If anyone wants to have a look into the changed code in this class, I can provide it.
Hope that helps,
Michael
08-21-2013 04:49 AM
Hi,
I also suffered the same logging... problem . Can you please give me the changed class?
Thanks,
Neetu
11-13-2014 03:09 AM
Can you share your code please, i am having the same issue.
Thank you
11-14-2014 06:10 PM
I cannot find what you mention above !
"net.authorize.android.security.MobileMerchantAuthActivity"
11-14-2014 06:20 PM
Question?
On the info at
https://developer.authorize.net/integration/fifteenminutes/android/
It states that minumun sdk shoud be 8, in Android studio i dont have 8 available. I have from 12 and higher. Can this be the issue?
Thank you
11-15-2014 08:51 AM
no luck, i tried that and ended up with errors about android.fontfamily not available on sdk below 16 ! Commented out the fontfamily text and reran it and still i was not able to login. OK ! I am back at running it on compile sdk 16, Min SDK 8, Target sdk 16.
11-15-2014 09:52 AM