revolutionkpi
revolutionkpi

Reputation: 2682

Show Message Box when application is in background

I need to show a Message box for user with two buttons(open application, cancel) when an application is in background. How can I realise it (should it be a background task) ?

Upvotes: 2

Views: 742

Answers (1)

Ku6opr
Ku6opr

Reputation: 8126

You can't show custom message box from background.

As a workaround you can show Toast Notification from Background Agent. Look at ShellToast, it's made for this purpose. When toast appears, users can tap it to open application as you need.

Upvotes: 4

Related Questions