is there any boot complete event in windows phone 8

前端 未结 3 575
孤城傲影
孤城傲影 2021-01-07 06:36

Is there any boot complete trigger event in windows phone 8 ? I have search a lot on google but I could not get any information about boot trigger event in windows phone 8 .

相关标签:
3条回答
  • 2021-01-07 07:23

    WP7/WP8 doesn't allow for full multitasking. As part of that you can't choose specific OS events to triggeryou code. There are fixed extensiblity points the OS exposes through various means you can tap into. For example, PeriodicBackgroundAgents starts up on a schedule of 30+ minutes for 10 seconds. IntensiveResourceBackgroundAgent starts up when the phone is connected to WiFi and Battery. However there's currently no OS extensiblity point for startup exposed to 3rd party apps.

    If you'd like to see this feature please open up a new wpdev uservoice request with your usecase. Note, overall device health in terms of battery life, memory and processing capability is always a concern. So make your usecase shine.

    0 讨论(0)
  • 2021-01-07 07:34

    Sorry, there is no such trigger in Windows Phone 8. Your Background Agent just have to wait to be regularly scheduled after phone is restarted.

    0 讨论(0)
  • 2021-01-07 07:42

    You have no way to trigger an action when the OS has finished booting. You can only create a background agent, that will be automatically launched by the OS every 30 minutes or so.

    0 讨论(0)
提交回复
热议问题