Point to an app in windows phone store - windows-phone-7

I need to implement a button in my windows phone 7.1 application, that points the user to a "PRO" version of my application in windows phone store.
How can I do that?

In the click event handler of your application, give or navigate to the URI of the pro version of your app:
See here: http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394017(v=vs.105).aspx

Use the Marketplace detail task to launch the Store or Marketplace and then display the details page for a specified app. If you do not specify the app, the details page for the calling app appears.
MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();
marketplaceDetailTask.ContentIdentifier =
"c14e93aa-27d7-df11-a844-00237de2db9e"; // EXAMPLE
marketplaceDetailTask.ContentType =
MarketplaceContentType.Applications;
marketplaceDetailTask.Show();
Source : http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394017(v=vs.105).aspx

Related

How can I stop fresh downloads of our public windows phone8 App submitted through developer account?

We have public windows phone 8 application in windows phone store. I want that new users should not be able to download the app via store but the app should run fine for existing users. Will the "Hide App in Store" option work? What is this "Hide App in Store" for?
The 'hide app' will stop in appearing in searches. However, if someone shares the link it will still be downloadable by anyone.
What Hide App in Store means is that, you'll be able to hide your app from searching from the Store using a keyword or something.
Reference

Can we perform navigation between Windows Phone Silverlight 8.1 project page and a Windows Phone 8.1 project page under same solution?

I am working in Windows Phone application in which I have two projects one is Windows Phone Silverlight 8.1 and another is Windows Phone 8.1. I want to navigate from a xaml page in Windows Phone Silverlight 8.1 project to Windows Phone 8.1 Project on a button click and then return back to the page. Is there any possible way to do that?
Thanks,
Ekta
Regardless of their types, there is no way to directly navigate to a page in another app on Windows Phone. Your best option is to declare a URI association in the target app that the source app can launch with - see here for details.
As for returning to the source app, you should try to leverage the system back key if at all possible. However, if it's not going to be obvious to the user that she should hit the back key, you have two options:
Use Application.Current.Exit() to close the target app, which will
return the user to the last session in the back stack, which should
be the source app (unless the user task-switched in the interim).
Register a URI association in the source app and navigate back to
that from the target. Note that the process of registering and
handling invocation of URI association activation is different in WP
Silverlight apps - see here.
The difference between the two approaches is that if you Exit, the target app will be terminated and removed from the back stack whereas launching a URI association results in a new forward navigation and will leave the target app in the back stack.

how to dynamically invoke web service at runtime to window Phone 7

Window Phone 7 application in XAP file to run dynamically another window Phone 7 Application.
This feature is called "deep linking", it will be available in the next release of Windows Phone called "Mango" (coming in Autumn 2011). It will both work from within apps and from the home screen.
From http://www.digitaltrends.com/
The coolest new feature Microsoft showed off today was the ability to create a Live Tile (shortcut) not just to an app, but to a single page or feature within that app. This feature is great. As an example, Belfiore went into the Amazon shopping app for WP7. He doesn’t like having to open up the app and go through menus to get to the barcode scanner, however. So right in the menu was an option to pin that exact app page (the scanner) as a Live Tile on the Windows Phone homescreen.
I would say that MarketplaceDetailTask is the closest API that matches your request. You cannot nest the execution of one app inside another.Refer this Link:
http://msdn.microsoft.com/en-us/library/windowsphone/develop/hh394017%28v=vs.105%29.aspx?lc=1033

Open Marketplace from Windows Phone 7 browser

Is there a way to open the Windows Phone 7 marketplace from a page being viewed in the mobile browser.
In an WP7 app I can do this:
MarketplaceDetailTask marketplaceDetailTask = new MarketplaceDetailTask();
marketplaceDetailTask.ContentIdentifier = "3cc99ca6-f0e6-df11-a844-00237de2db9e";
marketplaceDetailTask.Show();
On the desktop I can do this in a web page:
http://social.zune.net/redirect?type=phoneApp&id=3cc99ca6-f0e6-df11-a844-00237de2db9e
Is there a way to do this from a web page in the mobile browser?
The URL format to launch Marketplace on the phone when a user clicks on a URL is:
zune://navigate/?appID={app guid}
So for your app that would be:
zune://navigate/?appID=3cc99ca6-f0e6-df11-a844-00237de2db9e
If you want this hyperlinked in the browser simply wrap with a href tag.
Download Marketplace Search
The browser on Windows Phone 7 emulator doesn't support direct (type -> navigate) application navigation. What Omar is showing won't work if you type it up in the emulator because there are internal restrictions as to what protocols can called directly, and zune is not one of the supported protocols.
It will, however, work from the email application and the browser as a link.
The rules for marketplace links changed and the zune:// links are no longer valid.
The proper format for the deep link is:
http://windowsphone.com/s?appid=the_app_id
The appid is the guid assigned to your app and can be found on the details screen for your app in the app hub.
The advantage of this format is that it is a direct link to the app in the user's localized marketplace.
On a Windows Phone, this link opens the web browser, which immediately launches the marketplace app.

WP7 Deeplink to Marketplace

Does anyone know what code to use specifically to jump from within a Windows Phone 7 application to the application's listing in the Marketplace?
Refer to the sample code for MarketplaceDetailTask here.
How to: Use Launchers for Windows Phone

Resources