url-scheme

“fb://” url scheme - official or not?

谁说我不能喝 提交于 2019-11-30 08:14:40
问题 Some dev blogs have published information about the "fb://" url scheme for opening various views in the Facebook iPhone App. No matter how much I've searched, I haven't found one word from any official Facebook source about this. Since the information is public anyways, I'm sure I'm not the only one who'd like to know, whether using this url scheme is officially approved, am I allowed to use it, does it work correctly, and if it's not approved, will it be and what's the approximate schedule

Current Location doesn't work with Apple Maps IOS 6

。_饼干妹妹 提交于 2019-11-30 08:06:05
问题 Before IOS 6, I was using this URL scheme to open the native maps app and find directions from the users current location to an address that I created. http://maps.google.com/maps?daddr=" + address + "&saddr=Current+Location This was working great, but now that they got rid google maps with IOS 6, we had to check which IOS version they were on and then refer them to the new apple maps url scheme if they were using IOS 6.0 or greater. The new url scheme we are using is this.... http://maps

Open iOS app from URL AND Pass Parameters

人走茶凉 提交于 2019-11-30 06:57:20
问题 A link should open the app. I've got that to work. I just want to know how to pass a parameter. Let's say the url is "addappt://?code=abc". When a view controller pops up, a code field should have populated text - the letters after the equals to sign. I've got part of this to work. I use the following (in app delegate.m) : NSArray *elements = [url.query componentsSeparatedByString:@"="]; NSString *key = [[elements objectAtIndex:0] stringByReplacingPercentEscapesUsingEncoding

How to open URL schemes from Safari in iOS9?

烂漫一生 提交于 2019-11-30 06:27:09
I was able to open apps from safari this way: window.location = 'myapp://do/xx'; or open facebook app: window.location = 'fb://'; But this stopped working in iOS9. How can I open apps using URL schemes in safari? IOS 9 URL Shchemes Update : iOS 9 introduces LSApplicationQueriesSchemes to allow apps to query if other apps are installed. 1- If a url scheme is declared and calling canOpenURL(scheme) YES if a installed app supports that URL scheme NO if no app supporting that url syslog will show canOpenURL: failed for URL: "urlScheme://" - error: null 2- If a url scheme is not declared and

What is the semantics of the double slash following the scheme in a URI?

允我心安 提交于 2019-11-30 04:48:25
问题 According to http://tools.ietf.org/html/rfc3986 and http://en.wikipedia.org/wiki/Uniform_resource_identifier, a URI may or may not contain a double slash following the scheme identifier. This makes "urn:issn:1535-3613" a valid URI just as "http://stackoverflow.com". Is there a strict/formal need to include the double slash or is it optional and in any case, what is the reason/semantics? When answering, please provide a conclusive answer - Don't just report how you browser/library/... handles

Firefox for Android does not launch app when link is clicked

北城以北 提交于 2019-11-30 04:33:20
Firefox does not fire intents for clicked links the way it should. Therefore one cannot launch their app by clicking a link in Firefox (which is possible in Chrome and other browsers). Edit : Please keep in mind that this is a post from 2013. The desired behavior is the following: On my website I have a link, that when clicked should launch my Android app. If the app is not installed, preferably its page in Google Play should be opened to download it. Method The way I implement it is with an "intent URI" of the form: intent://myhost.com/#Intent;scheme=myscheme;package=com.myapp;end In the app

WhatsApp url scheme for iPhone app

百般思念 提交于 2019-11-30 03:58:08
We are developing an iPhone app and planning to integrate Whatsapp. Is there a way to enable click to call / message from the iPhone app? Skype allows this by following: <a href="skype:skypehandle?call"> Skype </a> Is there an equivalent for Whatsapp ? currently Whatsapp doesn't have a registered URL scheme. You can check if you favourite apps support them by inspecting the contents of the apps info.plist. I'm sure there are windows equivalents but I use a mac, so have a free app called iPhone Explorer (now renamed to iExplorer) installed which mounts the phone as a drive and allows you to

Can Greasemonkey work with the file:// protocol?

房东的猫 提交于 2019-11-30 03:39:59
问题 I have a simple Greasemonkey script: // ==UserScript== // @name hello // @namespace http://www.webmonkey.com // @description A test of accessing documents using file:// protocol // @include http* file* // @grant none // ==/UserScript== alert("hi"); It works fine as long as the URL is of the form http://... How do I also get the script to run on URLs of the form file://... ? In the User Settings section I have http://* and file://* as the included pages and in the Script Settings section I

How to open ios app using url?

社会主义新天地 提交于 2019-11-30 01:42:39
I want to open my ios app using URL schemes. I am able to open app using this. But I want if app is not installed then app store should be opened where user can download app. Is this possible? How can I do that? EDIT Explaining question step wise: I have a mail in my inbox with a url. I click on URL then i. If app is installed in phone, app will launch. ii. Otherwise app store will be opened to download app. Thank I handled it via my server side code: if ((navigator.userAgent.match(/iPhone/i)) || (navigator.userAgent.match(/iPod/i))) { location.replace("com.myapp://"); setTimeout(function() {

ABID in Whatsapp URL schemes

北城余情 提交于 2019-11-29 22:17:44
问题 Yesterday Whatsapp updated their iOS application and released official URL scheme (api hooks). I wanted to play a little with it and I'm now facing the problem that I don't understand this whole "abid" thing?! Where do I get the contact ID from? And how do I have to use it then? Thanks in advance :) 回答1: ABID stands for the Address book Record ID,the code below works to get the AB Record ID. It is sensitive to the use of delimeters in the URL itself. So the initial trials were not working. To