How to dispatch WP8 Back button event to layer class or a scene


#1

Hi,

How to dispatch WP8 Back button event to layer class or a scene?

I have implemented the back button detection in CCApplication_Win8_metro.cpp but I don’t know how to dispatch this event to layer class of a scene. Any help is appreciated.

This is a must for all WP8 app in order to pass in WP8 market.

Thanks


#2

Eric Hung wrote:

Hi,
>
How to dispatch WP8 Back button event to layer class or a scene?
>
I have implemented the back button detection in CCApplication_Win8_metro.cpp but I don’t know how to dispatch this event to layer class of a scene. Any help is appreciated.
>
This is a must for all WP8 app in order to pass in WP8 market.
>
>
Thanks

see my answer in the wp8 release news thread. I included my solution.