Search code examples
xamlwindows-phone-7windows-phone-8

What are the equivalents of intents in Windowsphone 8 application development?


I thought of an app to upload photos when they are taken. How do I notify my app when a photo has been taken in wp8 programmatically? Are there anything similar to intents in android? In android, I would listen for an intent when a photo has been taken and get that photo. In my windows phone 8 application. how do I get the system to notify my application when the photo has been taken and process it?


Solution

  • There is a specific API since Windows Phone 8 that allows auto-uploading photos for third-party apps: Auto-upload apps for Windows Phone 8 (MSDN)

    Maybe this is not exactly what you are looking for since the agent will only launch under certain conditions and not immediately when a new photo is taken. For example, Wi-Fi and an external power source are required, in order to reduce the battery drain.

    However that's the only viable solution for auto-uploading photos in a background task.