Note that there are some explanatory texts on larger screens.

plurals
  1. POPicking Page for returning a result back to a caller
    primarykey
    data
    text
    <p>I would like to create something like CameraCaptureUI.CaptureFileAsync which will return the result to caller (location that user picked through bing maps in my case) (the same question was asked <a href="https://stackoverflow.com/questions/12508678/how-to-create-a-dialog-like-cameracaptureui-capturefileasync">here</a> but I still need full screen UI or more complete code example)</p> <p>Assuming the next use case:</p> <ol> <li>CallerPage1 Navigate-> CallerPage2 (through Frame.Navigate(typeof(CallerPage2)) )</li> <li>CallerPage2 Navigate-> LocationPickingPage (again through Frame.Navigate(typeof(LocationPickingPage )) &lt;- here should be something else but not Frame.Navigate)</li> <li>User picks a Location and presses done -> location object returned to CallerPage2 (through Frame.Navigate(typeof(CallerPage2)) )</li> </ol> <p>And now if user presses back on CallerPage2 he/she will be navigated back to LocationPickingPage which is expected in navigation model described above but I wont to navigate him/her to CallerPage1</p> <p>So this is how CameraCaptureUI.CaptureFileAsync behaves. Maybe someone can help to look "behind the scenes" of CaptureFileAsync or familiar method and provide some example of how it can be implemented so that location picking can be performed like this:</p> <pre><code>Location location = await new LocationPickCaptureUI.CaptureLocationAsync(); </code></pre> <p>Any help would be appreciated!</p> <p><strong>Edit</strong></p> <p>So, maybe someone can shad some light on how pages can share their data without affecting navigation history. I'm just looking for something like android's startActivityForResult.</p> <p>I spend several days on this problem (msdn docs, researching different examples, forums and different sites including this one) and didn't find any approach so I think it is time to ask own question. </p> <p>Sharing data between pages in manner I am looking for should be something obvious. Maybe I was looking in a wrong way but the problem is still persist's.</p> <p>And please, if someone votes down my question share your mind and your source of knowledge as I still need help on this problem.</p> <p>Thanks in advance</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload