cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Android Logging in

Hi,

I'm trying you quickstart for android https://developer.authorize.net/integration/fifteenminutes/android/ but the application stop at the loggin in processs

 

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

 

 https://developer.authorize.net/integration/fifteenminutes/android/

This happens on Android 4.0.4 and above.

I tried the same example on HTC 2.3.5, and it seems to work fine

Can anyone help me on this. Thanks

 

omkara
Member
13 REPLIES 13

Hello Omkara,

 

Our integration team believes they have found the cause of this issue and are working on a solution.  

 

 I'd recommend subscribing to this topic so that you'll be alerted via email if anyone else from the community is able to respond with any comments. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.

Thanks,

Richard

RichardH
Administrator Administrator
Administrator

Hi, 

I am also facing same issue. I am unable to use APIs in higher android versions like ICS and Jellybean. while authentication case itselft it is not atall entering further. But it is doing fine in Gingerbread. Please suggest.

Same issue, hangs on login. Android 4.1.2  Is there any solution ? Can the Android SDK be bypassed and just use AIM with http get/posts ?

Hello Mr. Bill :smileyhappy:

The solution is currently in QA.  I'll post an update when it is available.

 

I'd recommend subscribing to this topic so that you'll be alerted when that happens. To subscribe, click Topic Options at the top of this thread and then select Subscribe. You'll then receive an email once anyone replies to your post.

Thanks,

Richard

Version 1.3.0 of the Android SDK is now available and should correct this issue.  Thanks for your patience.

 

Richard

I'm also having this problem ... But a little weirder...

The sample SDKActivity works fine ... but when I'm doing another project(based on the steps from here https://developer.authorize.net/integration/fifteenminutes/android/ or by following the sample) I'm stuck at login ...

 

The devices I teste it on are:

Samsung Galaxy S4(4.2.2) -> NOT WORKING

Samsung Galaxy Tab 2(4.0.3) -> NOT WORKING

Htc Desire Bravo(4.2.2 - custom) -> NOT WORKING

Emulator 2.2 -> WORKING

Emulator Nexus4(4.2.2) -> NOT WORKING

 

Can I fix this ? Is there an workaround ?

IonutNegru
Member

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

After strugging with the SDK with no success, I decided to use the direct post using the AIM API and a simple https get. An SDK that requires a username and password to be entered manually on every transaction isn't a solution that would would work anyway even if the SDK worked perfectly.

Can you please show me the sample you have changed sir.. it will be very useful for me

at ashok.k@adodis.com