GithubHelp home page GithubHelp logo

mrkostua / smartalarm Goto Github PK

View Code? Open in Web Editor NEW
18.0 3.0 7.0 6.49 MB

Full working Alarm clock with various settings.

Home Page: https://play.google.com/store/apps/details?id=com.mrkostua.mathalarm

License: MIT License

Java 0.98% Kotlin 99.02%
android alarm-clock kotlin-android mvp clean-code junit espresso mockito robolectric hacktoberfest

smartalarm's Introduction

SmartAlarm

Description

Fully working alarm clock tested from API 16 -> API 28. Simple rule - only one alarm can be set at time. Contains basic features for typical alarm clock with simple animated task in the end to stop the alarm (which prevents user from stopping alarm in the first 2 seconds and gives some time to wake up).

Google Play link: SmartAlarm

Functionality

Name Description
Show alarm activity above the lock screen Wake up system using PartialWakeLock from background service and enabling few window flags .
option set time Simple fragment with TimePicker to set time and textView to inform about remaining time to sleep.
option set ringtone Fragment with RecycleView populated with custom layout(play/pause button), MediaPlayer, RingtoneManager.
option set text message Just scrollable EditText to type some message for morning (reminder, motivation to wake up).
option set deepSleep WakeUp Plays some calm music in the background and slowly increase its volume before starting main alarm ringtone.
drag-drop animation task to stop alarm 5 numbers <=10 dynamically added to layout with random layoutParams (top and left margin from calculated bounds), algorithm to generate random values with bounds, borders(not overlap each other) returns result from AsyncTask.

Used technologies:

  • main languages:
    • Kotlin
    • Java (10%)
    • Xml
  • architecture:
    • Dagger 2
    • MVP (70%)
  • additional :
    • RecycleView
    • DataBinding / MVVM
    • Material Design
  • testing:
    • JUnit
    • Mockito
    • Robolectric
    • Espresso

App screenshots:

smartAlarm app screenshots

Future releases plans:

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.