Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 08-05-2010, 08:37 AM   #1 (permalink)
Registered Member
 
Join Date: Aug 2010
Posts: 1
nikg is on a distinguished road
Default HOW TO find out URL SCHEME of ANY app?

Hi,
I am new to iPhone/iPad development therefore a simple question.
I know that it is possible to launch Apps with openURL(URL scheme data, etc.).
How could I find out the URL SCHEME data of any (not mine!) app, wich I have on my iPad/iPhone? Could I even get this information from App Store directly?

I have to develop an app which should use/be linked to several other app on the mobile device

Scenario: a manager use "my app" to do something. the app has also a menu like "find hotel" or "book flight". this both menus are apps which were made by someone else (not mine).


Thanks
NikG
nikg is offline   Reply With Quote
Old 08-05-2010, 12:50 PM   #2 (permalink)
N3RD
 
Join Date: Oct 2009
Posts: 201
tychop is on a distinguished road
Default

An app needs to support that. It's not something you get for 'free'.
tychop is offline   Reply With Quote
Old 08-05-2010, 01:03 PM   #3 (permalink)
Cocoa Junkie
 
Duncan C's Avatar
 
Join Date: Dec 2008
Location: Northern Virginia
Posts: 6,003
Duncan C has a spectacular aura about
Default

Quote:
Originally Posted by nikg View Post
Hi,
I am new to iPhone/iPad development therefore a simple question.
I know that it is possible to launch Apps with openURL(URL scheme data, etc.).
How could I find out the URL SCHEME data of any (not mine!) app, wich I have on my iPad/iPhone? Could I even get this information from App Store directly?

I have to develop an app which should use/be linked to several other app on the mobile device

Scenario: a manager use "my app" to do something. the app has also a menu like "find hotel" or "book flight". this both menus are apps which were made by someone else (not mine).


Thanks
NikG
Because of "sandboxing", I don't think you can query apps at runtime to find out about the URLS they handle.

You would need to contact app developers and ask them about the URLs they support, and the syntax of those URLs. Some, like the google URLS, are publicly documented.
__________________
Regards,

Duncan C
WareTo

Check out our apps in the Apple App store


Check out this password generator app that shows various techniques including using a data container singleton object to share data between objects in your project.

See this tutorial on using UIView animations and layer animations:

See this thread on generating random, non-repeating text

Check out a very cool Macintosh Kaleidoscopes app called ScopeWorks that we released to the Mac App store.
Duncan C is offline   Reply With Quote
Old 08-05-2010, 02:35 PM   #4 (permalink)
mr.
 
refreshe's Avatar
 
Join Date: Jul 2008
Location: SF, California | Melbourne, Australia
Posts: 346
refreshe is on a distinguished road
Default

Yeah there's no way of knowing what schemes are available to be called on a device (what apps are installed).

I think right now the only option you have is to decide what 3rd party apps you want to call, find out the URL schemes for them, and then use:

Code:
 if ([[UIApplication sharedApplication] canOpenURL:url])
to determine if the URL scheme is registered on the device. Then build your menus based on that.


There are some community efforts to index URL Schemes from 3rd party apps:
IPhone URL Schemes - akosma wiki
URL Schemes - handleOpenURL:
__________________
appz
refreshe is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 321
10 members and 311 guests
alexP, arash5500, gordo26, HemiMG, mediaspree, nobstudio, Objective Zero, Sloshmonster, stanny, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,655
Threads: 94,116
Posts: 402,889
Top Poster: BrianSlick (7,990)
Welcome to our newest member, pungs
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 11:25 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0