I'm having trouble developping an app for Windows phone. Visually, the app is just a panorama displayed via the MainPage, and does nothing else. All the code must be running in background without the user seeing it. The app is open via a custom URL scheme which is something like "myscheme://..."
So here I have two questions :
1) How to perform the code in background with just the mainpage displayed on the screen
2) How can I tell the app when it's launched "go to that page" or "go to this page" depending on the URL received ? I have a "AssociationUriMapper" class that is accessed when the app is open via the customURL, and I have the code line
return new Uri("/Authentication.cs", UriKind.Relative);
For example when the app is called by an authentication URL, but it doesnt work and goes to the "navigation failed" function in the App.xaml.cs
Thank you