frakbot / FWeather

A weather widget for Android based upon Tobias van Scheider's Authentic Weather design.
https://play.google.com/store/apps/details?id=net.frakbot.FWeather
91 stars 34 forks source link

Source of errors: spec #121

Open frapontillo opened 10 years ago

frapontillo commented 10 years ago

Let's discuss a little bit all the foreseeable source of errors we currently have/handle/don't give a f---.

  1. No network: should cause "no network available" (or disregard if a previous value is available, discuss!)
  2. Poor network / connection timeouts / network f---up

    a. should retry a few times b. then fall back to case 1

  3. No location provider

    a. should cause a "no location provider available message" b. should check for a location provider every time we request it c. should show the previous temp if available and pretend the world is flat? (discuss!) d. should we use Play Services only (pros: setup a min distance before triggering an update, cons: less devices, maybe)? (discuss!) e. optionally to d., should we migrate to Android-LocationHub (tests needed)? (discuss!)

  4. No location available

    a. should be protected by "no location provider available" (see 3) b. should use the previous location? (discuss!)