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.
Related
In iOS 8 is it possible to invoke extension menu from a button on website (i.e. using javascript) in safari ?
I am able to invoke the extension menu from a password field in one of my iOS APP. Like in image below.
http://blog.agilebits.com/wp-content/uploads/2014/09/Instapaper-1Password-extension.png
I want to do the same when i open my website in safari. So when user selects 1Password button from website page it should open this menu or share menu with 1Password extension. Not that user go and select share menu then 1Password.
This is not possible in Safari currently. What you are seeing in the Instapaper application is only possible using iOS SDK.
If you write a thin app around your website, this is also possible. You can signal from Javascript to your app that you want the activity used, and when the user finished, signal your website the information with Javascript.
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
how can i hide the url while using android mobile web in android mobile web browser??
AFAIK, the only way to do that is to when you display a webpage inside an Android application.
Do you mean cloaking the URL (by using Frames) or hiding the address bar ?
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.
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