IntentService won't start using AlarmManager

前端 未结 3 416
野趣味
野趣味 2021-01-17 15:09

I know there is a lot of questions about this but I really don\'t know where is my mistake.

My service is registered in the AndroidManifest.xml file

         


        
3条回答
  •  爱一瞬间的悲伤
    2021-01-17 16:08

    The API says:

    typically comes from IntentSender.getBroadcast().

    that means PendingIntent.getService can work too. I tested it, and it works.

提交回复
热议问题