ooVoo URL Schema on iPhone - iphone

Anyone know if there's a URL schema for the ooVoo iPhone app?
For example, I'm able to launch the Skype app from my app using "skype:userName?call", but there doesn't appear to be an "oovoo:" URL tag. Did they simply forget to register their custom schema in the app? Or is it possibly named something different?
The following format in an href appears to be valid for the PC version "oovoo:?call?userName" while I was doing some digging, but doesn't work on the iPhone (the ooVoo app never launches). I tested the oovoo: tag from a webpage as well, and Safari just reports the address as invalid.
Thanks.

Try something more general like oovoo://www.google.com.
If you have ooVoo installed, and Safari cannot recognize the scheme, it doesn't exist.
The specific arguments and variables shouldn't matter until you get into the app.

Related

URL scheme in iOS

I have added an URL scheme to my application. The URL scheme is testapp://. While I entered the text testapp:// in Safari and on hitting return, it launched my application.
Then I tested with testapp://placeid=12. This is launching the TestApp in iPad but in iPhone, I am getting Cannot Open Page and I am not able to test.
I could pass the placeid=12 as URL query. But what I would like to know is, why it is not opening in iPhone alone.
Any idea on this?
Note: Irrespective of device types, it seems to be iOS issue. This is the behaviour from iOS 6 and above.
Could it be that each device is running a different iOS version?
If so, please take into account some details depending on the version. For example, if you read the Advanced App Tricks, there is a section that may help you:
Handling URL Requests
An app that has its own custom URL scheme must be able to handle URLs passed to it. All URLs are passed to your app delegate, either at launch time or while your app is running or in the background. To handle incoming URLs, your delegate should implement the following methods:
Use the application:willFinishLaunchingWithOptions: and application:didFinishLaunchingWithOptions: methods to retrieve information about the URL and decide whether you want to open it. If either method returns NO, your app’s URL handling code is not called.
In iOS 4.2 and later, use the application:openURL:sourceApplication:annotation: method to open the file.
In iOS 4.1 and earlier, use the application:handleOpenURL: method to open the file.
Hope this helps. Otherwise, I will really recommend you to stick to the standards. It would make your life easier :)
It is possibly not working because testapp://placeid=12 is not a valid URL. You will need a domain address there too, like testapp://localhost/query?placeid=12. It is possible the '=' character is causing the error.
I am not able to test it right now so let me know.
As mentioned in the question's note, it is iOS 6's Safari browser behaviour. We could not have "=" in the host of the URL while entering in Safari.
Instead, I solved this problem in the following manner.
Sent the URL in mail, and from Mail, if I click the URL, the app was launched. But the important point is, I had to parse the URL host to get the value.

in app link to app store app

Just trying to make a button that links in ratings tab in app store but have some problems doing so, found lot of links with itms:// and http:// as prefix but non of them work in simulator could anyone help me?
The simulator has no app store; none of them will work.
You want a link like this:
http://www.itunes.com/app/[appname]
That'll work on the device, but not the simulator. There's another variation that lets you specify the company name, too. The link will go to Safari first, which will a moment later open App Store without the user needing to do anything.
Source: Technical Q&A QA1633 Creating easy-to-read links to the App Store for your applications and company
You can try using a itms+apps style link, like this:
itms+apps://www.itunes.com/app/[appname]
This will skip launching Safari first, and just go straight to App Store. While this currently works, I'm not sure it's documented anywhere. I plan on trying this, and I'll update this answer later if I'm approved.
If what you want is a link directly to the Reviews section for your app's App Store page, you want something like this (replace the id parameter with your own):
itms-apps://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=393783219&onlyLatestVersion=true&pageNumber=0&sortOrdering=1&type=Purple+Software
For the main App Store page, use:
http://itunes.apple.com/app/id393783219
And like Steven Fisher said, it won't work on the Simulator.

more than one app has same URL Identifier for Custom URL Application?

i have used custom URL scheme in my Application to open it from another Application(which may be my Own).suppose more than one Application in App store may have The URL Identifier i used.if user has two Application with same URL Scheme, what will open? will Custom URL Application be approved by apple?
Custom URL apps are accepted by Apple. However if multiple apps on the device have registered same URL scheme then the behavior is undefined. From iOS Application Programming Guide, "If multiple third-party applications register to handle the same URL scheme, it is undefined as to which of the applications is picked to handle URLs of that type."
Short answer: First app to register URL will sometimes open but it will fail to open often. Other times second app to register will open but fail often. Basically it fails a lot and really is "undefined". Use http://handleopenurl.com/ to avoid.
Long Answer:
I created two apps, FirstApp and SecondApp, and registered the same URL testURL for both.
I loaded FirstApp and the URL worked as expected, opening the app.
I then loaded SecondApp and the dreaded undefined behavior started occurring. Currently, under iOS 7, if two apps have the same custom URL registered it pops up a modal asking
Open this page in "Name of First App"?
When you tap the Open option it fails, and nothing happens. If you tap or enter the link again the first app installed with that URL, in our case FirstApp, will launch.
So in effect, the second app to register never gets opened, and the first app fails every two URL calls. No ideal behavior.
What makes it even worse is I deleted both apps and then switched the order I installed them and the results are not consistent. Sometimes it is one app, then on reloading both apps it is the other. The behavior really is "undefined".
Best practice is to use http://handleopenurl.com/ to see what URLs have been registered and chose one that will not conflict with other apps. You can't "steal" another URL because you can't be sure your app will open and not the other app.
this may be your answer that you are finding
http://iosdevelopertips.com/cocoa/launching-your-own-application-via-a-custom-url-scheme.html
By reading this article It may be possible that apple can reject your application, still you can read the guide line provided by apple.
Thanks

Custom URL Scheme from settings.bundle

Is it possible to set a custom URL scheme to launch my app from a link but make this a user defined setting?
My app relies on a user defined server url and I would like to be able to set a URL scheme to launch my app using the users custom URL from lets say an email link.
I noticed the info.plist has these references
${EXECUTABLE_NAME}
can I define my own custom reference maybe?
Edit: Turns out these ${EXECUTABLE_NAME} are just references used during build in xcode.
I also learned that the app bundle is read only on device making the info.plist un-editable.
Looks like this is impossible. Anyone have any ideas?
There is no way to add a link to a Settings.bundle to launch your app.

How do I link to another app in the App Store in an iPhone app?

I used this technique, but it appears to not work anymore in 3.0. In the simulator at least, my app opens Safari, and then there is a visible redirect, but then I get a message that there has been too many redirects. Any fix?
Have you tried this on the device? There is no App Store application on the Simulator, so any attempts to redirect to it will fail.
Within my application, the itunes.apple.com links for the App Store work just fine under 3.0 on the actual devices.
I can't test this right now, but have you tried changing the 'http:' protocol in the link to 'itms:' instead?