简体   繁体   中英

windows phone 8 - activating the app from the background agent

I have a WP8 app in which i want to be able to create and schedule an alarm from the background agent. But the API ScheduledActionService.Add() cannot be called from the background agent.

So, i thought of a work-around where if the background agent can activate the app, then the app, while running in the foreground, will schedule the alarm.

Is there a way we can activate the app from the background agent?

Is there a way we can activate the app from the background agent?

No.
Launching an app requires user interaction, there is no way to do this programmatically.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM