I'm trying to make a application which should run in background and I need to know when is the volume button(-) pressed .
If it was pressed then I need to execute the back function ( NavigationService.GoBack();
)
How can I do that?
Thanks in advance,