GithubHelp home page GithubHelp logo

kidusmt / jobschedulerdemo Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 2.0 154 KB

Practicing the JobScheduler for managing a JobService.

Java 100.00%
jobscheduler android firebase-jobdispatcher firebase-job-dispatcher alarmmanager

jobschedulerdemo's Introduction

JobSchedulerDemo

Practicing the JobScheduler for managing a JobService.

Implemented while reading this blog. from - Using the JobScheduler API on Android Lollipop

https://code.tutsplus.com/tutorials/using-the-jobscheduler-api-on-android-lollipop--cms-23562

Mentioned Topics

  • JobScheduler
  • Alarm Manager
  • Firebase Dispatcher
  • Work Manager
  • Doze Mode

Consider reading and wathing about Doze mode which is a new feature introduced in API level 23.

watch this:

Firebase Dispatcher

execute our job in JobScheduler for devices with API level 21+ and will switch our implementation to Alarm Manager for devices with lower API level than 21. That kinda makes it very cool feature.

Alarm Manager

Android Jetpack: Introducing WorkManager

The Android WorkManager library makes it easy to schedule deferrable tasks that are expected to run even if the app exits or the device restarts. Need to sync photos with a server, or do a daily cache clean-up? Then WorkManager is the library for you! Because WorkManager is compatible with API 14+ and follows system health best practices, it is the recommended approach for handling most background execution tasks on Android.

WorkManager supports: -One-off and periodic tasks -Constraints, such as network availability -Chaining tasks, parallel or sequentially -Observable task state for display in UI -Customized threading strategy

Video resource about WorkManager

Codelab for WorkManager and other resources

jobschedulerdemo's People

Contributors

kidusmt avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

likky ddpatel2606

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.