Open Marketplace from Windows Phone 7 browser - windows-phone-7

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.

Related

Firefox use desktop as mobile browser

In firefox mobile for android there is an option called "request desktop site".
I want to know if there is the oposite for desktop, to request the site like a mobile browser.
I know that in the developer panel there is a "responsive design mode", but it only adapts the screen size, it does not request the site as a mobile phone (different from the "request desktop site", that in fact request the desktop version using a desctop user agent name)
In the comments of my question, the answer was given so I will post it as such(thanks to #Dexter).
For changing the site requested, the user agent must be changed (because the user agent is what pages use to identify weather the client is on desktop or on mobile). An extension like User Agent Switcher can do the job.
Install the extension from here
Select the wanted user agent in the extension menu
reload the page

Is there a way to display the URL bar for an external page in a windows Phone app made in Phonegap?

I am building an app in Phonegap for windows phone 7, iOS and android using JQuery mobile. The app was rejected by Microsoft because when it links to an external page to donate to a charity, the URL bar is not visible when the user goes to this external page to show the user that HTTPS is being used. Is there a way to show the URL bar in the external page or to maybe force the link to open in Internet explorer.
Have you tried to use
target="_blank"
for external ulr?
Alternatively you can use the ChildBrowser Plugin.

Launch an app from within browser within Windows Mango Browser

I'm trying to do what is simple in iOS, redirect from the browser to my app (I am authenticating via a website which then loads the url that switches back to my app via appreferencename:/) in Mango.
Is there a way to switch to an app from a browser via a link?
Thanks!
It's not possible, unfortunately. You are able to link to a marketplace page, but that's only useful if you want to download or update an app.
Open Windows Phone 7 App from URL

Blackberry and Windows phone 7 publishing of trivial app

We have a mobile version of our web site which works well on all mobile screen resolutions and sizes. Now, we would like to build a very simple app for Blackberry and Windows Phone 7. The app would be trivial - after you click on its icon, it opens a web browser and send you to our mobile web site. Just like a Windows OS shortcut that you place on your desktop.
Can you tell me if Blackberry and Windows Phone 7 policies allow such app be published? For example, Apple rejected us.
I can't speak for Blackberry, but Requirement 2.10 from the WP7 Application Certification Requirements:
Your application must have distinct,
substantial and legitimate content and
purpose other than merely launching a webpage.
So the answer seems to be no on the WP7 marketplace. Is there a reason you want to create an app like that anyway? On WP7, users can pin a tile to their home screen that will launch the website they've pinned. You could simply encourage users to do that on their WP7 and you'll get the same effect (except your site won't appear in the app list).
Seems this is okay for BlackBerry. See section 4.b of the App World FAQ.
Very strange. Our company has placed a similar application on Android Market and the Appstore and they have been resolved and now they available at stores. Also, I had a similar application for Windovs Phone, and it was also allowed.
P.S. Our application is not just a browser window, it has custom control panel in bottom. Also it has the communication protocol with the site - such a sending pictures from camera and phone and access to phone contacts.

Open Windows Phone 7 App from URL

I need to launch my WP7 application from the phone's browser and pass some arguments. For example, the following url would be a link on an html page. Clicking the link would start my application. iPhone and Android both have these capabilites by the name of 'url schemes'.
appName://my.arguments.here
How can I accomplish this on WP7?
Thanks!
Unfortunately there is currently no support for "url schemes" or custom URL handlers that will allow you to handle these requests from within your application.
It is possible to integrate with the search application, which can provide deep linking into your application. It also appears that YouTube has some kind of way of doing it, as the mobile version of their site will jump to the app for playback of videos.
You should use the protocol activation feature of Windows Store apps - see http://msdn.microsoft.com/en-us/library/windows/apps/hh452686.aspx

Resources