Open GoogleCodeExporter opened 9 years ago
Oh, I forgot about the first point :-)
Reproducing the problem is easy with the following lines:
SpreadSheetFactory factory = SpreadSheetFactory.getInstance(new
AndroidAuthenticator(
ListOverview.this));
factory.getAllSpreadSheets();
Original comment by ullg...@gmail.com
on 31 Oct 2011 at 11:38
Can u pls try the Sample (GSS_Client_Android.apk) included in the release ?
I just tested and it works fine. Pls let me.
Original comment by pprasant...@gmail.com
on 31 Oct 2011 at 11:50
[deleted comment]
[deleted comment]
The sample app doesn't work, either. It takes a little while until an error
occurs. Here is the LogCat output:
11-01 13:30:11.333: I/System.out(14816): [SpreadSheetFactory] New Auth...
11-01 13:30:11.483: I/System.out(14816): [HttpConHandler]
URL=https://spreadsheets.google.com/feeds/spreadsheets/private/full
11-01 13:33:22.039: I/System.out(14816): [HttpConHandler] Error in connection:
java.io.FileNotFoundException:
https://spreadsheets.google.com/feeds/spreadsheets/private/full
11-01 13:33:22.039: I/System.out(14816): [HTTP_Response] HTTP Response Code: 401
11-01 13:33:22.039: I/System.out(14816): [HTTP_Response] HTTP Response: Token
expired
11-01 13:33:22.049: I/System.out(14816): [HTTP_Response] Error Msg from Server:
<HTML><HEAD><TITLE>Token expired</TITLE></HEAD><BODY BGCOLOR="#FFFFFF"
TEXT="#000000"><H1>Token expired</H1><H2>Error 401</H2></BODY></HTML>
11-01 13:33:22.049: I/System.out(14816): [HTTP_Response] Error in Connection:
https://spreadsheets.google.com/feeds/spreadsheets/private/full
11-01 13:33:22.109: I/System.out(14816): [SpreadSheetFactory] No SpreadSheet
Feed received from Server!!
Original comment by ullg...@gmail.com
on 1 Nov 2011 at 12:37
If I open the link
(https://spreadsheets.google.com/feeds/spreadsheets/private/full) in a browser
where I'm logged into my Google Account, I recieve the full feed. Also, when I
use the official app for Android, I can open and edit my spreadsheets, so it
can't be an error with my account.
Original comment by ullg...@gmail.com
on 1 Nov 2011 at 12:44
Hi,
I guess its b'coz of missing gmail account on your mobile/emulator.
AndroidAuthenticator will not work in emulator. In emulator you need to use
BaseAuthenticator (pls check Java doc) and manually add user/password. The
sample APK will not work in emulator.
Prior to test this on device you need to add one Gmail account under Settings
-> "Accounts and sync". I tested the sample and it works fine.
Hope it helps.
-Prasanta
Original comment by pprasant...@gmail.com
on 1 Nov 2011 at 12:47
I have a Google account on my device (HTC Desire HD). I have now tested my app
on an emulator with an account and it worked fine! I don't know what's the
problem on my DHD... I will inform you if I found the error.
Original comment by ullg...@gmail.com
on 1 Nov 2011 at 1:13
I'm having the same problem... have you solved?
Original comment by rciovati@gmail.com
on 26 Nov 2011 at 9:27
Hi,
I'm using a samsung tab. But I can't access spreadsheets. This code worked
perfectly and now it's not. I'm using the second account to access the
spreadsheets.
Any help please....
Original comment by sal...@fortunaglobal.com
on 11 Feb 2012 at 8:19
Attachments:
I'm also getting the same error after it was running fine ... any Help ??
Original comment by sara.tar...@gmail.com
on 15 Feb 2012 at 10:08
This issue is still happening, I put the beta version of my app on the market
and it works for everyone except for one phone, where this error happens. It
works perfectly fine on his phone using a stock rom, but switching to
cyanogenmod 7 makes this error occur. Has anyone solved this?
Original comment by tywholl...@gmail.com
on 12 May 2012 at 7:02
Original issue reported on code.google.com by
ullg...@gmail.com
on 31 Oct 2011 at 11:37