FORUMS

Dr.Ketan Brings The S6 Theme Store To The Note 4

Dr.Ketan has submitted a video to the forums showing a functional port of the Galaxy S6 … more

Do You Have Insurance on Your Smartphone?

While affordable smartphones are becoming more available, the majority of high-end flagships … more

Apple Music Will Increase iTunes Match to 100,000 Songs

The battle for music streaming subscription dominance is starting to really heat … more

Xposed Framework Updated to v65

Xposed Framework is an extremely popular modification platform for Android, so much so that we included … more

Big problem with google account authentication

126 posts
Thanks Meter: 32
 
By jgittins, Senior Member on 12th May 2011, 07:32 PM
Post Reply Subscribe to Thread Email Thread
22nd June 2011, 08:30 PM |#31  
Member
Flag Reigate
Thanks Meter: 1
 
More
Is it going to turn out to be some really daft and simple issue? I mean, if it works when you change the Language to US (it did for me on Google Goggles), perhaps it is something like the date format in a text string being sent during authentication? i.e. changing language updates the regional settings.
 
 
22nd June 2011, 09:51 PM |#32  
(.)'s Avatar
Senior Member
Galaxy>Earth
Thanks Meter: 100
 
More
try to use wlan instead of 3g, this maybe helps..

I know that it is not a connection problem.. google just makes you think it is, when in fact its about to register your data.
28th June 2011, 12:25 PM |#33  
Junior Member
Thanks Meter: 1
 
More
I'm the developer of Andlytics and found a solution for my app. (Andlytics user Paulo told me about this)

I think the problem is related to the translation strings which Samsung changed from the default ones on the SGS2.

The original String which pops up on authentication requests is:

Code:
<string name="permission_request_notification_with_subtitle">Permission Requested\nfor account %s</string>
Samsung changed it to something without the '\n', that's why a IndexOutOfBounds error occurs (AccountManagerService.java):

Code:
final String titleAndSubtitle = mContext.getString(R.string.permission_request_notification_with_subtitle, account.name);
final int index = titleAndSubtitle.indexOf('\n');
final String title = titleAndSubtitle.substring(0, index); <--IndexOutOfBounds
final String subtitle = titleAndSubtitle.substring(index + 1);
The solution for me was to use a different method on authentication requests:

Code:
public AccountManagerFuture<Bundle> getAuthToken (Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler)
instead of what I was using before:

Code:
public AccountManagerFuture<Bundle> getAuthToken (Account account, String authTokenType, boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler)
Last edited by andlytics; 28th June 2011 at 12:44 PM.
The Following User Says Thank You to andlytics For This Useful Post: [ View ]
21st September 2011, 06:18 PM |#34  
drmacinyasha's Avatar
Senior Member
Flag Sacramento
Thanks Meter: 279
 
More
Just for the hell of it: This bug is present on the Epic 4G Touch. GG Samsung.
8th November 2011, 12:31 AM |#35  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by drmacinyasha

Just for the hell of it: This bug is present on the Epic 4G Touch. GG Samsung.

After reading about various I9100 users solving this by switching to English (US) I figured I'd try something similar. Since the only other language available on a Sprint Epic Touch 4G is Spanish I switched to Spanish, went back to Goggles and tried to save --> SUCCESS!

Now switch back to English and proceed to take stupid pictures to see just how much Google can recognize.
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes