This is new to me as a desktop developer.
If I could figure out how this is accomplished, it may be relevant to some research I'm doing, specifically how to migrate thick desktop apps to a web implementation.
The more forms-oriented and lightweight graphics I can figure out, but heavyweight 3D graphics still requires some form of non-browser application.
As nearly as I can determine, iTunes installs some form of new protocol handler on my machine, corresponding to "itms", in place of "http".
This is cool and mysterious to me, almost magical. Any help or suggestions for additional reading materials and/or resources would be very welcome.
If you subscribe to Apple Music, you can browse and play music from Apple Music and your music library on the web and in apps.
Follow these simple steps to do it. Step 1: Open the iTunes app on your computer and then connect the iPhone to the computer using USB cables. Step 2: In iTunes, click on “View” and then select “Show Sidebar.” Step 3: When the sidebar appears, find the device and right-click on it.
Open iTunes > Connect your iPhone to your computer using the USB cable. Click the device icon in iTunes > Tap on File Sharing from the left sidebar. Choose one app and its file > Click Save button to computer, or add from computer to iPhone.
Use the App Library to find and open your appsFrom your Home Screen, swipe your finger to the left until you see the App Library. Your apps are sorted in the App Library by category.
You can register "protocol handlers" with some browsers. I think there's a place in the operating system where you can regsiter your own.
See
Creating new ones in firefox: http://ajaxian.com/archives/creating-custom-protocol-handlers-with-html-5-and-firefox
In safari: http://discussions.apple.com/thread.jspa?threadID=1280989
Special "mobile protocol handlers" are used extensively in the iPhone/iPod to launch the phone dialler, email sending, google maps and so on... http://www.iphonedevfaq.com/index.php?title=Protocols
Here's an example of how to reconfigure the mailto:
protocol handler to trigger gmail rather than an external mail client: http://lifehacker.com/392287/set-firefox-3-to-launch-gmail-for-mailto-links
Simple.
<a href="itunes:///">Open iTunes</a>
Most apps now-a-days have "Custom URL Schemes" For Example - Coda (http://panic.com/coda) you can add snippets of code via:
<a href="codaclips:///<<**Title:NAME**>>blabla">Add Clip</a>
In Windows this is called a Pluggable Protocol Handler. This article on CodeProject shows how to implement a pluggable protocol handler on Windows.
Note, this is more involved then just registering a new protocol in the registry, such as myprotocol:// and having it start a specific exe whenever a myprotocol:// anchor is clicked.
It actually allows your application to receive and process the request and to create response data dynamically. If your protocol will also be called programmatically this is usually important.
This may be overkill for your situation however it is handy to know about.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With