Need an example for interaction between Unity and wp8

Hi there,

Is there any template or some example code for interaction between Unity and wp8 where UnityApp.BeginInvoke used?
I can send data with dispatcher.begininvoke to XAML layer, but i cant figure it out, how to do it reverse (from xaml layer to unity).

Thank you!

These guides will help you

These guides helped me a lot to use to send data to XAML layer.
Still don’t know how to use it backwards :slight_smile:
(I am using pivot pages to navigate and all i want to do is that unity to react differently to xaml pivot (navigation) pages when navigating.)
Never mind, i will figure out somehow.

To talk back to Unity is very easy.

On the Unity side, create a singleton, such as GameManager, add a public method to it.
Once you’ve built the project to XAML. From the XAML side you can easily call this method, i.e GameManager.MyMethod();

Oh,…
THANK YOU VERY MUCH!!! It works.:slight_smile: