Letme / give-me-coinsMonitoringApp

Android app for monitoring workers on give-me-coins.com mining pool.
GNU General Public License v3.0
24 stars 21 forks source link

Switching coins doesnt do anything #17

Closed greg84 closed 10 years ago

greg84 commented 10 years ago

I have FTC and LTC selected, but when switching between them only the background colour changes.

Letme commented 10 years ago

Do you wait some time after switch? Does notification bar have values in or is 0 there as wel?

greg84 commented 10 years ago

I've waited for several minutes after switching the coin type but nothing happens. I'm only actually mining FTC at the moment but would expect values to display 0 for LTC when I switch to that - if a delay is expected it would be good to see a "loading" or "switching to ..." message. The notification bar doesn't change - it just shows the coin and speed selected when the app started.

Also when I tick and untick the "show in notification bar" checkbox I have to exit and restart the app before the notification appears or is removed.

Letme commented 10 years ago

This notification bar is working like that because it does not receive any data, etc. What phone are you using? This same thing is happening to me as we speak but I also cannot connect to give-me-coins website api key from my browser- so this is probably related

greg84 commented 10 years ago

HTC One with Android 4.3

Letme commented 10 years ago

OK here was testing and how it went. If you change coins fast enough then some does not get updated and have data from other coins while background changes instantly. We have two solutions here and I'd choose first, but I'm willing to discuss it: 1.) This is more optimization issue as currently we only receive data for selected coin, yet we would have to receive data for all coins so that once user swaps coins the data is already there. Please discuss guys if it is valid to increase download rate of app in order to refresh all data. 2.) We implement progress bars or notifications to let user know we are connecting or where service is at the moment. This is normally an ugly popup and that is why I do not like this solution.

justinmuller commented 10 years ago

What about setting all of the values to 0, "Offline", etc. at the same time the background is switched?

greg84 commented 10 years ago

I think it's fine to have a "loading" period when you switch coins, at least that would make it clear that something was happening.

Just clearing the table and changing the heading to "getting data" would suffice, the same behaviour as as when the app first loads.

MrPet commented 10 years ago

You are talking about the pool data? because if the service is running correctly it loads all coin user user data and they get switched when coin gets switched. On my phone (nexus 4) it works fine. Maybe there is a problem with GmcStickyServicec when they dont change correctly.

Letme commented 10 years ago

@greg84 Check Beta2.6 and tell if it is better like we have now (the ...) ?