简体   繁体   中英

Wp7 push notification to launch my app

As far as I know, Ios and Android gcm are able to open an application when a push notification event arrives. For wp7, I only find samples on how to update tiles or display a message. But I need to display a bitmap in fullscreen. Is there a way to open my app when I send a push notification ?

Thanks in advance for your help.

If you send a Toast notification using the Notification mechanism, then tapping on the Toast will launch the application, you can then specify a page to navigate to within your application.

Take a look at the following for more information :

http://msdn.microsoft.com/en-us/library/hh202967(v=vs.92).aspx

There is no way you can launch anything via a push notification on Windows Phone. Raw, toast and tile are the only acceptable types, none of which is able to invoke code execution outside the pre-defined boundaries (eg launch the app when the toast is tapped).

Since you are displaying an image, your best bet would be focusing on the tile updating mechanism . Remember, however, that there are no guarantees that the user will see the tile (unless pinned), or keep it on the home screen permanently.

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