Code Monkey home page Code Monkey logo

bo-android's Introduction

Lines of Code Coverage

About

The Android App *Blitzortung Lightning Monitor built from these sources visualizes lightning data provided by the blitzortung.org network.

Get it on F-Droid Get it on Google Play

Available translations

  • Czech
  • Dutch
  • English
  • French
  • German
  • Hungarian
  • Italian
  • Polish
  • Slovak
  • Russian
  • Spanish

Translation offers are welcome

We are still looking forward to volunteers preparing a translation for the following languages:

  • yours?

Translations to other languages are welcome as well. Please contact us via blitzortung at tryb.de

bo-android's People

Contributors

aga-c avatar cheese1 avatar codacy-badger avatar frederic34 avatar hilivin avatar idobraca avatar jeroenboersma avatar karevivan avatar kubadex avatar mlocati avatar mpca86 avatar poussinou avatar wuan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

bo-android's Issues

fix GPS signal detection

GPS signal detection seems to oscillate between states even if there are enough satellites in view

disable service when not in use

sevice should be disabled when starting at boot time and after the application was closed if no background activity is selected.

disable location handler when not in use

disable the LocationHandler when there is no use for location data. E. g. when the alarm is not enabled when entering background operation.

LocationHandler should auto detect and disable location when all listeners are removed. (This should be done by using ListenerContainer)

configureServiceMode called too often

I looked through the code and noticed that configureServiceMode()
is called upon every run of AppService, even when run in background.
Is it necessary to do that?

Requesting Alarms/Reconfiguring the LocationHandler uses some CPU time every time data is retrieved.

Add acoustical alarm and generic alarm behaviour settings

Vibration alarm will be replaced by generic alarm which can be configured to comprise any of vibration, acoustic or maybe even optical signaling.

Vibration alarm: choose length of vibration or off
Acoustic alarm: choose audio signal and maybe volume
Optical alarm: implement later as it requires permission to use camera

Integrate related handler components into service

The following handlers should be integrated in the service to enable independent operation:

  • DataHandler
  • AlertHandler
  • LocationHandler

This should stabilize the background operation and ensure a background operation after reboot. Widget integration will be easier later.

App <-> Service Communication failure?

Minimize the app by pressing the back button and then open the app again:
Result is that the "Lightning-Count" and "time until refresh" is not shown at the top of the screen
and i'm not sure whether the data on the map is still updated or not.

Closing the app completly and reopening fixes the problem

App causes wakelock

I'm using the BO app V1.2 on an Samsung S4 with Android 4.4.2
After some time (hours or days - not reproduceable) the battery gets drained faster than normal - in the battery history you can than see, that the phone doesn't enter sleep mode anymore and the BO app is on first place of power consuming apps. After killing and restarting the app, everything is fine again.

Please check this issue.

Thanks.

refactor alarm logic

separate data containers from functionality to allow for better testability and cleaner code

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.