CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:knowledge-base:hosting-gui-projects

Differences

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

Link to this comparison view

software:knowledge-base:hosting-gui-projects [2013/03/18 03:01]
jarrod [Using Dropbox to Host Projects]
software:knowledge-base:hosting-gui-projects [2014/03/28 00:49] (current)
aaron [Remote Hosting of GUI Projects]
Line 1: Line 1:
-====== Hosting GUI Projects ======+====== ​Remote ​Hosting ​of GUI Projects ======
 guiDesigner projects can be hosted remotely. This allows users to download projects to their devices even when guiDesigner is not running.\\ guiDesigner projects can be hosted remotely. This allows users to download projects to their devices even when guiDesigner is not running.\\
 +
 +<WRAP left round important 60%>
 +Note for Android users: There is currently (March 28 2014) a bug with the Android version that results in an error message when downloading the project archive to your device. This has been confirmed with Dropbox, but not with other platforms. Be sure to test this thoroughly before relying on this for any projects. ​
 +</​WRAP>​
 \\ \\
 +\\
 +\\
 +\\
 +\\
 +\\
 +
 This may be useful when updating a clients GUI. The project can be uploaded to a server, and the URL given to the end user to enter into guiDesigner settings. The project would then automatically be downloaded and installed on the device when ''​Reload GUI Layout''​ is enabled in [[software:​iviewer:​settings|iViewer Settings]].\\ This may be useful when updating a clients GUI. The project can be uploaded to a server, and the URL given to the end user to enter into guiDesigner settings. The project would then automatically be downloaded and installed on the device when ''​Reload GUI Layout''​ is enabled in [[software:​iviewer:​settings|iViewer Settings]].\\
 +
 +You can store the files on the server in two ways:
 +  - As a zip archive (recommended)
 +  - As a replica of your local project folder - complete with .gui file and all assets (images, scripts, sounds, etc)
 +
 +When using method 2 - you must supply the ''​File URL''​ including the .gui file name.
  
 ===== Exporting a Project ===== ===== Exporting a Project =====
-The first step is to export the .gui project. \\+The first step is to export the .gui project ​as a zip archive. \\
 \\ \\
 To do this, open the project in guiDesigner and click ''​File''>''​Export''>''​Project Archive''​. \\ To do this, open the project in guiDesigner and click ''​File''>''​Export''>''​Project Archive''​. \\
 {{:​software:​knowledge-base:​commandfusion_guidesigner_export_project_archive.png?​nolink|}}\\ {{:​software:​knowledge-base:​commandfusion_guidesigner_export_project_archive.png?​nolink|}}\\
-This save a .zip file in the same location as your project is currently saved.+This will save a .zip file in the same location as your guiDesigner ​project is currently saved.
  
-===== Uploading Project to Server ===== +===== Uploading Project ​Archive ​to Server ===== 
-The project can then be uploaded to any location ​that is accessible by the device that you want the GUI loaded onto.\\+The project ​archive (.zip) ​can then be uploaded to any web server ​that is accessible by the device that you want the GUI loaded onto.\\
 Enter the address of the file in ''​File URL''​ under [[software:​iviewer:​settings|iViewer settings]] on the device. You must include the complete file URL including .zip Enter the address of the file in ''​File URL''​ under [[software:​iviewer:​settings|iViewer settings]] on the device. You must include the complete file URL including .zip
 +
 +<WRAP left round tip 60%>
 +Note: The files cannot be served from a local file share - iViewer can only download projects from a HTTP web server.
 +</​WRAP>​
  
 ==== Using Dropbox to Host Projects ==== ==== Using Dropbox to Host Projects ====
-Dropbox can be used to host projects. To do this, move the exported project to a location on your PC that syncronises ​with Dropbox.\\ +Dropbox can be used to host guiDesigner ​projects. ​ 
-Then right click on the file and choose ​''​Dropbox''>​''​Share Link''​. \\ + 
-{{:​software:​knowledge-base:​commandfusion_guidesigner_dropbox_link.png?​nolink|}}+=== Pre-Requsites === 
 +To follow this guide you must meet the following requirements:​ 
 +  * Have the Dropbox application installed on your PC 
 +  * The zip archive must be stored in a location that synchronises with Dropbox. 
 + 
 +To do this, move the exported project to a location on your PC that synchronises ​with Dropbox.\\ 
 + 
 +Then right click on the file and choose ''​Share ​Dropbox ​Link''​. \\ 
 +{{:​software:​knowledge-base:​dropbox_share_link.png?​nolink|}}
  
-This will open up a web browser.\\+This will copy the share link to your clipboard.\\
 \\ \\
 Because we need a direct download link, we then need to change the link it gives us.\\ Because we need a direct download link, we then need to change the link it gives us.\\
-You will have something such as this in your address bar: ''​https://​www.dropbox.com/​s/​v7ikx4p6xod8x9u/​projectname.zip''​\\+You will have something such as this in your clipboard: ''​https://​www.dropbox.com/​s/​v7ikx4p6xod8x9u/​projectname.zip''​\\
  
 All we need to do is change the ''​www''​ to ''​dl'':​\\ All we need to do is change the ''​www''​ to ''​dl'':​\\
 ''​https://​dl.dropbox.com/​s/​v7ikx4p6xod8x9u/​projectname.zip''​ ''​https://​dl.dropbox.com/​s/​v7ikx4p6xod8x9u/​projectname.zip''​
  
-You can test this my doing this in your address bar and the zip file should begin downloading.\\+You can test this my entering ​this in your web browser ​address bar and the zip file should begin downloading.\\
 This is the address that you type into ''​File URL''​ under [[software:​iviewer:​settings|iViewer settings]]. This is the address that you type into ''​File URL''​ under [[software:​iviewer:​settings|iViewer settings]].
 +==== Auto Updating GUI ====
 +You can learn how to implement [[software:​Modules and examples:​automatic-gui-update|automatic updating of GUI's from a remote location here.]]
software/knowledge-base/hosting-gui-projects.1363575685.txt.gz · Last modified: 2013/03/18 03:01 by jarrod