CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:gui-designer:url-scheme

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

software:gui-designer:url-scheme [2012/08/16 01:52]
aaron created
software:gui-designer:url-scheme [2019/11/13 22:51] (current)
jarrod [Launching Other Apps]
Line 1: Line 1:
-====== URL Scheme ======+====== URL Scheme ​& App Links ======
  
-On iOS devices (iPad, iPhone, iPod touch) apps can be launched if they subscribe to a defined URL scheme.+On iOS devices (iPad, iPhone, iPod touch) apps can be launched if they subscribe to a defined URL scheme. This is also known as 'app switching'​.
  
-===== iViewer URL Scheme Support =====+===== iViewer URL Scheme ​and App Links Support =====
  
-==== CF iViewer ​(legacy) ​==== +==== iViewer ​==== 
-CF iViewer ​(legacy) ​app supports being launched via URL Scheme as follows:+ 
 +iViewer 5 app can be launched via URL schemes, same as iViewer 4 below, just change **iviewer4://​** to **iviewer5://​**. 
 + 
 +Use this to launch iViewer 5 with a specific GUI URL and settings: 
 +<​code>​iviewer5:///​gui/?​url=<​encoded_url>&​reloadGUI=1</​code>​ 
 + 
 +The ''​encoded_url''​ must be the URL you want iViewer to load, in URL Encoded format, eg: to load a GUI at ''​http://​192.168.0.10:​8019''​ the full URL to use is: 
 +<​code>​iviewer5:///​gui/?​url=http%3A%2F%2F192.168.0.10%3A8019&​reloadGUI=1</​code>​ 
 + 
 +Other options you can use in the URL are documented in the [[http://​www.commandfusion.com/​docs/​scripting/​util.html#​cF.loadGUI|CF.loadGUI JS API]] 
 + 
 + 
 +==== iViewer 4 ==== 
 + 
 +iViewer ​app supports being launched via URL Scheme as follows:
  
 Use this to launch iViewer to a specific page designated by ''​pagename'':​ Use this to launch iViewer to a specific page designated by ''​pagename'':​
-<​code>​iviewer:///​page/​pagename </​code>​+<​code>​iviewer4:///​page/​pagename</​code>​
  
 Use this to simply launch iViewer to the startup page: Use this to simply launch iViewer to the startup page:
-<​code>​iviewer:/// </​code>​+<​code>​iviewer4://</​code>​ 
 + 
 +==== iViewer Lite ==== 
 + 
 +iViewer Lite app supports being launched via URL Scheme as follows: 
 + 
 +Use this to launch iViewer Lite to a specific page designated by ''​pagename'':​ 
 +<​code>​iviewerlite:///​page/​pagename</​code>​ 
 + 
 +Use this to simply launch iViewer Lite to the startup page: 
 +<​code>​iviewerlite:​//</​code>​ 
  
 ==== iViewer next (beta) ==== ==== iViewer next (beta) ====
Line 21: Line 46:
  
 Use this to simply launch iViewer to the startup page: Use this to simply launch iViewer to the startup page:
-<​code>​iviewernext:​///</​code>​+<​code>​iviewernext://</​code>​
  
-==== iViewer ​(stable) ==== +==== CF iViewer (legacy) ==== 
- +CF iViewer (legacy) app supports being launched via URL Scheme as follows:
-iViewer ​(stable) app supports being launched via URL Scheme as follows:+
  
 Use this to launch iViewer to a specific page designated by ''​pagename'':​ Use this to launch iViewer to a specific page designated by ''​pagename'':​
-<​code>​iviewer4:///​page/​pagename</​code>​+<​code>​iviewer:///​page/​pagename </​code>​
  
 Use this to simply launch iViewer to the startup page: Use this to simply launch iViewer to the startup page:
-<​code>​iviewer4:///</​code>​ +<​code>​iviewer:// </​code>​
  
 ===== Launching Other Apps ===== ===== Launching Other Apps =====
  
-From iViewer, you can force other apps to be launched on Button press by assigning the URL Property of the button to a specific URL Scheme for the app you want to launch.\\ +From iViewer, you can force other apps to be launched on Button press by assigning the URL Property of the button to a specific URL Scheme for the app you want to launch. 
-iViewer will then either close or go to the background (depending ​which iOS version your device is running) whilst the desired app is launched.\\ +Note that not all apps can be launched. The developer of the app must enable the feature and assign a special URL Scheme for their app to allow it to be launched from other apps. 
-For a list of other app's URL Scheme'​s,​ please try  this site http://​wiki.akosma.com/​IPhone_URL_Schemes \\ + 
-A common request is the ability to launch the Apple Remote app. For this, use the following as the button [[software:​gui-designer:​buttons#​url|URL property]]:​ +iViewer will then either close or go to the background (depending ​if you have multitasking enabled in [[software:​iviewer:​settings|iViewer settings]] or not) whilst the desired app is launched. 
-<​code> ​remote:// ​</​code>​ + 
-Sonos App is another common request, ​but as far as we know there is no URL Scheme for the Sonos app yetPlease [[http://www.sonos.com/support/|contact them]] to request they add this feature.+A common request is the ability to launch the Apple Remote app. For this, use the following as the button [[software:​gui-designer:​buttons#​url|URL property]]:\\ 
 +''​remote:%%//%%''​ 
 + 
 +Sonos App is another common request, ​and they have implemented the following URL Scheme:\\ 
 +''​sonos:​%%//​%%''​ 
 + 
 +For other apps, try a Google search to find the URL Scheme for the specific ​app you need to launchOr try contacting the app developer to find the information first hand. 
 + 
 +This website has a searchable list of URL schemes which may be of use: 
 +http://www.gotschemes.com 
 + 
 +You can also try this guide for finding the URL scheme of any iOS app: 
 +https://www.amerhukic.com/​finding-the-custom-url-scheme-of-an-ios-app
software/gui-designer/url-scheme.1345081940.txt.gz · Last modified: 2013/11/04 02:25 (external edit)