简体   繁体   中英

xamarin forms capture an external application close event in xamarin forms windows 8.1

I'm developing a Xamarin forms application for windows 8.1. I'm looking for the solution where i need to capture the closing event for an external application.

eg: i'm opening an pdf in default pdf viewer so, when the user closes the pdf i want to capture that event.

You cannot get a callback when an external application closes unfortunately (as long as you have not implemented the other application and are not sending some HTTP based notification or such). All WinRT apps run in a "silo" so they cannot monitor each other this way.

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