We are working on a C# Xaml-based Windows Store app.
We have integrated bing maps within the app, but we were wondering if it were possible to launch the "Maps" app to a certain address?
We don't want to implement full directions, so it would be nice to just provide a button to launch maps so they can do it from there.
Take a look at the URI Scheme for maps application in conjunction with LaunchUriAsync, I think it should do the trick.
Related
How do I make my Universal Application launch an another application like Twitter?
For example, opening Twitter and make it show a given profile (#somebody).
I came across this webpage while trying to launch an external windows store app through a webpage.
This was very handy to get it done.
https://comentsys.wordpress.com/2015/05/13/windows-10-universal-windows-platform-web-browser/
I have an application named MyApplication. What I am trying to do is to do deep linking.
I would like to associate a link that when click on my Windows Phone 8.1 XAML, the application will be launched with the elements passed.
For example: MyApplication://item/1234 -> will open my application.
I am trying to do this from outside of an application is this possible? for example if I clicked on this link that was in an email, could it be redirected to my application?
Edit:
Here is part of the solution but i am not finding what i really wanted to do:
Uri Activation(XAML)
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh779670.aspx
Code:
https://code.msdn.microsoft.com/windowsapps/Association-Launching-535d2cec
You sure can. Create the protocol (something like test:) in your app and deploy it to your machine. Then, in Start>Run type "test:" and your app will load just fine. A link in email? Sure. A link in a web page? Sure. It all works.
A little more: http://blog.jerrynixon.com/2012/10/walkthrough-using-windows-8-custom.html
Best of luck!
what i want is to launch native map application on button click in my winRT application using C# and XAML. Is it possible?
Protocol activation is the key, LaunchURIAsync is the API.
Take a look at the Association Launching sample for code, and for maps in particular here is the URI Scheme that shows how you can launch the app into various different modes and experiences.
I want to configure my windows RT application in c# to use live connect API(As per "http://msdn.microsoft.com/en-us/library/live/hh826541.aspx"). If i go to Windows Store Dashboard("https://appdev.microsoft.com/StorePortals/en-us/account/signup/start"), it ask me to register the app on store expecting more details form me with price i think and i don't want to do that as i just want to explore this topic for sample application.i have created package id before..but ti thinks i have lost that link from were i did this.so how to configure my sample application to use live connect API.
The Windows Store Dashboard is the right place, you'll just need to register a name and then you can to the configuration section for Live Services and Push Notifications. You don't need to enter all of the other information until you're ready to publish your app.
all is in the title, I'm looking for an equivalent in Windows 8 of the BingMapsDirectionsTask that exists in Windows Phone 7.
My purpose is to display a route without using the bing maps API.
Thanks in advance for your help,
Best regards
Since Bing is not built in, you need to manually access a Bing or Google API to manually get directions or whatever your use is.
Bing Map API
Google Map API