Giter Club home page Giter Club logo

muffle's Introduction

muffle

An android app that silence your phone on specific gps locations.

muffle's People

Contributors

korti11 avatar

Watchers

 avatar

muffle's Issues

MainActivity Backend

Tasks

  • Lazy load the neede values from the database to show the cards for each muffle point.
  • Load the first 3 to 4 muffle points and then load 1 muffle point every time a new card needs to be shown.
  • Enable/Disable muffle point in the database if the button for this action is pressed.

Disabling muffle point over EditActivity

If the muffle point gets disabled with the EditActivity the sounds don't get reseted.
If the muffle point gets deleted in the EditActivity the sounds don't get reseted.

Local database

Libraries used

  • Android Room Library

Tasks

  • Add new muffle point.
  • Update existent muffle point.
  • Delete existent muffle point.

In muffle area check

Tasks

  • Run on GPS location updates.
  • Check if the user entered or left a muffle area.
  • Notify audio manager to update audio volumes.

Release Alpha-0.2.0

Tasks

  • Update license overview.
  • Update version name and code.
  • Create release APK.

Muffle Point Status

Change the muffle point status from [Disabled, Not active, In area, Active] to [Disabled, Not in area, In area and not active, In area and active].

AddMufflePointActivity ScrollView

The constraint layout in the AddMufflePointActivity should be in a ScrollView so that all elements are also visible on smaller phones.

Move range slider UI

Tasks

  • Move the range slider from the Add-/EditMufflePointActivity to the SelectMufflePointActivity.
  • Update the EditMufflePointActivity to open the SelectMufflePointActivity.
  • Update the SelectMufflePointActivity to only allow position changes and show current position only from the AddMufflePointActivity.
  • Update the zoom level for the range selection.

AudioManager

Tasks

  • Get audio volumes from the database for a muffle area id.
  • Update the audio streams according to the database values.
  • Track active muffle points.

SelectMufflePointActivity Backend

Tasks

  • Search for location if it is given in the search bar.
  • Move maps to the current location on floating action button press.
  • Give back the selected location on ok button press.

Crossed out Icons

Task

In the AddMufflePointActivity and the EditMufflePointActivity show crossed out icons for the audio streams if the audio stream gets silenced.

Volume Category UI

Combine the 4 volume slider in one category that can be opend and closed.

SelectMufflePositionActivity UI

UI Preview

SelectMufflePointActivity

Tasks

  • Maps to select the muffle point.
  • Search single-line textfield to search for a position.
  • Floating action button to focus the current location on the map.
  • Ok button on the action bar to submit the selected position.
  • Open this activity from the #2 AddMufflePointActivity with a tap on the maps preview.

GPS Location updates

Tasks

  • Get GPS location updates in a periodic way.
  • Notify if a GPS location updated occurred.

AddMufflePointActivity UI

UI Preview

AddMufflePointActivity

Tasks

  • Maps preview.
    • On no selection show current position.
    • On selection show selected point.
  • Single-line textfield with floating label for the muffle point name.
  • Slider for the range. Range from 100m to 2000m
  • Group of slider for each audio stream supported on android phone.
  • Add checkbox to each audio stream slider for enable/disable volume changes on this audio stream.
  • Add save button to the action bar for saving the new muffle point.
  • Open this activity from the #1 MainActivity with the floating action button.

MainActivity UI

UI Preview

MainActivity

Tasks

  • Cards with maps preview of the point, the name of the point as well as the if the mute point is currently active or not. Two buttons, one to enable and disable the point and one to go to the EditMufflePointActivity.
  • Floating action button to go to the AddMufflePointActivity.
  • Menu in the action bar for sync action and settings action.

Range not correct

The range shown in the edit screen is 100 meters longer then the entered range from the add screen.

Location Update rewrite

The geofencing api is too inaccurate for this use, change it to the FusedLocationProviderClient.

Task

  • Change from the GeofencingClient to FusedLocationProviderClient.
  • Update the GeofencingTransitionJobIntentService to use the locations of the FusedLocationProviderClient.

Add LICENCE

Add a Apache License 2.0 (Apache-2.0) and make the repository public.

Alpha release 0.1.0

Task

  • Add release google maps key
  • Code and resource clean up
  • Build release apk

Settings and About Activity

Create a SettingsActivity.
Create a AboutActivity.
Add a option to the SettingsActivity to show the AboutActivity.

App Icon

Task

Draw and a new icon to the app.

Firebase integration

Tasks

  • Add firebase analytics integration
  • Add firebase performance integration
  • Add firebase crashlytics integration
  • Add remote configs for the location waiting values

EditMufflePointActivity UI

UI Preview

EditMufflePointActivity

Tasks

  • Maps preview of the muffle point.
  • Switch to enable/disable the muffle point.
  • Single-line textfield with floating label for the muffle point name.
  • Slider for the range. Range from 100m to 2000m.
  • Group of slider for each audio stream supported on android phone.
  • Add checkbox to each audio stream slider for enable/disable volume changes on this audio stream.
  • Add save button to the action bar for saving the new muffle point.
  • Delete button on the bottom of the slider group.
  • Open this activity from the #1 MainActivity with the edit button on the card.

Muffle Point time property

Description

Muffle points should have a optional time property to only activate in a given time periode.

Tasks

  • Update muffle point entity.
  • Add expendable time category to the Add- and EditMufflePointActivity.
    • Slider to enable and disable the time property.
    • Two fields for time periode beginn and end.
  • Update search for check if muffle point is in range.

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.