Goodreads Developers discussion
examples / showcase
>
GoodReads Android App
date
newest »


Awesome, glad the new release works for you!
The tab issue you are seeing is fairly unpleasant to solve. The tab behavior changes a bit between Android versions. In 1.6 the tab background follows the application style setting, which is why you are seeing nearly unreadable text on a white background. In 2.2 the background color is independent of app style. The extra space at the top is reserved for an icon. I've read a couple of articles on how to force the tabs to a particular color / font / size. It effectively involves creating custom tab widgets. I'd really like to solve it to have consistent and efficient use of that space on all versions, but I haven't gotten there yet.


Just installed this app to try to gain some kind of control over my library, but on clicking the Login button I get a toast popup with an error about not being able to contact http://www.goodreads.com/oauth/reques...
Data access on the phone is fine though.

Are you behind some sort of firewall or proxy that would prevent you from accessing the Goodreads site?

Yeah, I had a bit a of a rummage about on the oauth API before I commented.
Should've said: the URL works fine both via the browser on the phone and my desktop. i.e. I get the "Invalid OAuth Request" response.
The exact message in the popup is "Communication with the service provider failed: " followed by the OAuth URL.
Phone is a HTC Magic running Android 1.6. It's vodaphone in the uk. I can search for books via YAGRAC just fine. Just not the auth url :-/

Thanks for your help in getting this debugged!

Not been able to test via WiFi instead of via 3g yet, will do so when I get home.


Oh, now that *is* interesting. At home, on WiFi, the browser pops straight up and goes to the authentication page -- authentication and access works just fine and I can add books via the scan.
Turn wifi off, logout and go to 3g -- exactly the same message as before, browser still doesn't get triggered.
Login via wifi, then revert to 3g *without* logging out and I can access my shelves, friends updates etc. But if I try to do anything that requires write priveleges (such as adding a new book) I get a "HTTP/1.1 401 Unauthorized" toast message.

I suppose the good news is that you can use the app on wifi. I will keep investigating to see if there is something I can do to get it working on GPRS.

I took your advice and set all the tabs to a white background with black text. This makes the text visible, but it is difficult to tell which tab is selected. The theme is ignored in later version of Android. I also squished down the tab button height. If you would like to give it a try the APK is available from the project site: http://code.google.com/p/yagrac/downl...
I have a couple of other features and bugs I would like to address before I push this to the market, which should be in a week or so.

Changes in 1.4:
- Added 'Events' screen which displays upcoming events near you.
- Able to view comments on a review
- Bulk scan mode which allows scanning a collection of books to selected shelves all at one go.
- Lots of UI tweaks, fixes, and changes to improve usability and performance

A tad slow, but mostly on API calls.
EVO on 2.2 over wifi.

I only ran the app in the android simulator BTW.


Click the 'Find Books' button. On this screen, click the menu button on your phone and you will get the option to scan / batch scan

Now I just have to actually start using the app to see how it works :-)
One minor thing I immediately noticed: If I search for a book and go to a book page, there are a pair of tabs at the top: details and reviews (or something like that). On my phone, the unselected tab has white text on an almost white background (white to gray fade) making it almost impossible to read. In fact, I didn't even realize the second tab had text at all, but clicked on it because it looked like it should be clickable and it was only afterwards I discovered the faint text. The tabs also seem overly large (height), but that may not be controllable.