Android 5.0 JobScheduler API on earlier versions?

前端 未结 6 1601
轻奢々
轻奢々 2021-02-01 02:40

I\'m building an Android application, which makes use of a manifest broadcast receiver to know when the device is plugged in. I think Android 5.0 JobScheduler API would be a mu

6条回答
  •  失恋的感觉
    2021-02-01 02:55

    Update:

    WorkManager was introduced to replace below.

    Update:

    Firebase JobDispatcher was introduced to replace below.


    Update:

    In Play Services 7.5 GCM Network Manager was introduced.

    This is the closest approximation for a backport of the JobSchedulers API.


    Evant user on Github is creating an Compat version of the JobScheduler API.

    At time of posting it is not production ready but it is worth mentioning

提交回复
热议问题