quickhac / qhac-android

A port of QuickHAC to Android.
2 stars 1 forks source link

Degrade gracefully when no connection is available #6

Closed xsznix closed 10 years ago

xsznix commented 10 years ago

Currently, when there is no mobile connection, QuickHAC crashes when trying to reload cycle grades and throws "Invalid username, password, or student ID" when trying to reload overall averages.

When no connection is available, the app should show something along the lines of "Could not update grades" and display the grades that are cached in the database.

patil215 commented 10 years ago

The app used to do that... Must be a bug. I'll fix it when I get the chance. On Jan 8, 2014 4:44 PM, "Xuming Zeng" notifications@github.com wrote:

Currently, when there is no mobile connection, QuickHAC crashes when trying to reload cycle grades and throws "Invalid username, password, or student ID" when trying to reload overall averages.

When no connection is available, the app should show something along the lines of "Could not update grades" and display the grades that are cached in the database.

— Reply to this email directly or view it on GitHubhttps://github.com/quickhac/qhac-android/issues/6 .

xsznix commented 10 years ago

It might be something to do with the way you interact with qhac-common… if it requires changes to the API, let me know.