url-scheme

iOS9: canOpenURL returning false for WhatApp's url scheme

南楼画角 提交于 2019-11-29 17:53:23
问题 In my current project I need to share text on whatsapp from iOS app. Here is my code to share text on whatsapp:- NSURL *whatsappURL = [NSURL URLWithString:@"whatsapp://send?text=Hello%2C%20World!"]; if ([[UIApplication sharedApplication] canOpenURL: whatsappURL]) { [[UIApplication sharedApplication] openURL: whatsappURL]; } but canOpenURL always returning false in iOS9. Is there any iOS9 privacy policy ? Can anyone help me out. Thanks in advance. 回答1: In iOS 9 you must whitelist any URL

How to test custom URL scheme in android

拥有回忆 提交于 2019-11-29 11:34:58
问题 I'm working on app that requires Custom URL Scheme looks like "appname://" I've searched lot of things and also found many related questions, but I'm still having trouble. How I can test this URL Scheme from a browser? Currently, whenever I type in a browser's address bar "appname://", it goest directly to a Google search. I have this in my AndroidManifest.xml: <intent-filter> <action android:name="android.intent.action.VIEW" /> <category android:name="android.intent.category.DEFAULT" />

Is there a custom URL scheme for the built-in Contacts app?

我的梦境 提交于 2019-11-29 07:38:11
I am trying to write an app that does a person search of my company. When it returns a result, I want to include a feature to add the person to the Contacts app with the push of a button. The problem is, I can't find a way to launch the Contacts app through a custom URL scheme with the new person info as parameters. Does anyone have any idea if this is possible and if so, how to go about that? Ole Begemann If there were a public URL scheme, Apple would have documented it in the URL Scheme Reference . Your options are: ABNewPersonViewController or ABUnknownPersonViewController Direct

Does the DropBox app on iOS have a URL scheme?

谁说胖子不能爱 提交于 2019-11-29 07:22:55
I would like to be able to launch the DropBox app within my app. Therefore I would like to know if the DropBox app has a URL scheme that I can use to call openURL, something like this, except I don't know what this string should be. NSURL *myURL = [NSURL URLWithString:@"dropbox://"]; [[UIApplication sharedApplication] openURL:myURL]; The only thing you can do with the Dropbox url-scheme is connect your Dropbox App to it. Like this: var key = "[YOUR API KEY]"; var secret = "[YOUR API SECRET]"; var apiversion = "1"; window.open("dbapi-1://"+apiversion+"/connect?k="+key+"&s="+secret); Normally

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

偶尔善良 提交于 2019-11-29 06:13:23
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 for that? Thanks in advance for any info on this subject! It's there to support the iOS push

How to open URL schemes from Safari in iOS9?

血红的双手。 提交于 2019-11-29 06:08:57
问题 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? 回答1: 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

Current Location doesn't work with Apple Maps IOS 6

独自空忆成欢 提交于 2019-11-29 06:03: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.apple.com/maps?daddr= " + address + "&saddr=Current+Location This is based on the new documentation for

Open iOS application from Unity

蹲街弑〆低调 提交于 2019-11-29 04:27:41
I'm wanting to open up another application on my ipad via a button press in Unity. I know normally I would use Application.OpenURL() on my button press, but I'm unsure as to what to put in the brackets. This is an application already on the iPad and isn't one I've created. Has anyone ever done this before? Could you possibly point me in the right direction so I can get this to work? Is it even possible? JeanLuc The other application needs to support that behaviour, by defining a custom url scheme . The developer needs add an URL Type i.e. "awesomeapp" in Xcode under Targets > Info > URL Types,

Create a link that either launches iOS app, or redirects to app store [duplicate]

强颜欢笑 提交于 2019-11-29 04:02:00
Possible Duplicate: Is it possible to register a http+domain-based URL Scheme for iPhone apps, like YouTube and Maps? I have a custom URL scheme for my iOS app, and I want to be able to email a link to someone that will either launch the app if it's on the device, or take them to the app store if they don't have it. I'd like to be able to send myapp://someurl and have that either launch or go to myapp on the appstore, but I don't think this will work out of the box. Instead, I'm thinking of creating a link that loads some javascript which will try myapp://someurl, and if that fails will

Valid characters for URI schemes?

喜欢而已 提交于 2019-11-29 02:58:58
I was thinking about Registering an Application to a URL Protocol and I'd like to know, what characters are allowed in a scheme? Some examples: h323 (has numbers) h323:[<user>@]<host>[:<port>][;<parameters>] z39.50r (has a . as well) z39.50r://<host>[:<port>]/<database>?<docid>[;esn=<elementset>][;rs=<recordsyntax>] paparazzi:http (has a : ) paparazzi:http:[//<host>[:[<port>][<transport>]]/ So, what characters can I fancy using? Can we have... @:TwitterUser #:HashTag $:CapitalStock ?:ID-10T ...etc., as desired, or characters in the scheme are restricted by standard? According to RFC 2396 ,