c# - Is it possible to execute a task every time an event occurs in another app? -


is possible app execute task when event occurs in app?

example: song starts playing on device. wanted app invoked , execute task every time happens.

i know possible implement periodictask make tasks run every x minutes/hours... not i'm looking for.

answer yes in limited way. can't catch specific events.

from msdn site.

you can use file , uri associations in windows phone 8 automatically launch app when app launches specific file type or uri scheme. when launched, deep link uri used send file (a reference file) or uri app. can use association launching api launch app in same way.

file associations allow app automatically launch when user wants open particular file. file come variety of sources including, not limited to: email attachment, website via internet explorer, near field communications (nfc) tag or app store.

so can enable app app communication via file , uri associations there lots of reserved types handled default programs , other associations ignored.

these include audio files such .mp3, .mp4 , .wav.


Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -