GithubHelp home page GithubHelp logo

adamsp / wsnz-android Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 3.5 MB

App for Android for monitoring earthquakes around New Zealand

Home Page: http://www.whatsshaking.co.nz

License: Apache License 2.0

Java 86.70% HTML 13.30%

wsnz-android's Introduction

What's Shaking, NZ? for Android

This is an app for monitoring quakes all around New Zealand.

Get it on Google Play

2.0

Version 2.0 is in the works. You will need Android Studio 1.3 and updated build tools to build and run this.

License

Copyright 2015 Adam Speakman

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

wsnz-android's People

Contributors

adamsp avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

wsnz-android's Issues

UI Update

Including:

  • update to Roboto font
  • improve the list view layout
  • Actionbar recolored to suit branding
  • Clustering of map markers when they're on top of each other
  • New map markers - colors changing to match magnitude

Provide network activity UI updates

Currently no form of "network activity" status is communicated to the user. They should know:

  • currently downloading
  • most recent sync time
  • be informed of failure, offered a retry in certain cases (like 500 errors- a Snackbar can work well for this perhaps?)

Bad format string for notifications

Passing a magnitude value (a double - a floating point number) to a %d format string (which expects a decimal, hence the d). Crashlytics issue 15.

Background process keeps running when disabled

It appears that the background process can keep running after being disabled. This is happening on an Android 2.2 device (LG P500). It's repeatedly notifying about the same quake, which doesn't exist in the list once you click on the notification.

Fix notifications to go to a sensible place

Currently if you're notified of a single earthquake, tapping on the notification should probably take you to the page to see that one quake. If multiple, then just to the main activity should be fine.

Quake status toast

Add a toast similar to Windows Phone when the user taps on quake status text to find out what it means.

Perhaps use Crouton.

Upgrade to Maps API v2

Additional things to consider:

  • Clustering of markers when they're on top of each other
  • New markers - colors changing to match magnitude

GeonetService crashes if no internet connection available

java.lang.NullPointerException
at speakman.whatsshakingnz.earthquake.EarthquakeFilter.filterQuakes(EarthquakeFilter.java:10)
at speakman.whatsshakingnz.geonet.GeonetService.doWakefulWork(GeonetService.java:42)
at com.commonsware.cwac.wakeful.WakefulIntentService.onHandleIntent(WakefulIntentService.java:106)
at android.app.IntentService$ServiceHandler.handleMessage(IntentService.java:59)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:130)
at android.os.HandlerThread.run(HandlerThread.java:60)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.