CommandFusion Wiki

Documentation Resources

User Tools

Site Tools


software:iviewer:retrieving-gui-file

Differences

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

Link to this comparison view

software:iviewer:retrieving-gui-file [2013/01/29 02:50]
aaron add SBsettings info
software:iviewer:retrieving-gui-file [2018/05/09 23:50] (current)
jarrod
Line 1: Line 1:
 ====== Retrieving GUI File ====== ====== Retrieving GUI File ======
 <WRAP center round important 60%> <WRAP center round important 60%>
-This information is provided as a last resort only, after trying all other methods to obtain ​the original GUI files. This is not a supported function of iViewer and as such, support cannot be offered by CommandFusion.+This information is provided as a last resort only, after trying all other methods to retrieve ​the original GUI files. This is not a supported function of iViewer and as such, support cannot be offered by CommandFusion.
 </​WRAP>​ </​WRAP>​
 +
 +
 +===== Using Debugger =====
 +By [[software:​iviewer:​debugger|enabling and connecting to the debugger]], you can obtain the GUI file and scripts, but the images cannot be retrieved. There is no way to retrieve project images from device cache.
 +
 +GUI File URL:
 +
 +''<​debugger_url>/​cache/​cached.gui''​
 +
 +So if your debugger URL reports as ''​http://​192.168.0.100:​50000''​ then the GUI URL would be:
 +
 +''​http://​192.168.0.100:​50000/​cache/​cached.gui''​
 +
 +
 +
 +===== Apple iOS Devices =====
  
 Please note that this method will get you the GUI file only. Images will not be included. Please note that this method will get you the GUI file only. Images will not be included.
Line 11: Line 27:
  
 Once you have connected to the device: Once you have connected to the device:
-  - Navigate to /​private/​var/​mobile/​applications+  - Navigate to ''​/​private/​var/​mobile/​applications''​
   - You then need to find the folder for iViewer, this will mean opening each folder until you find a folder within named iViewer4.app (the folder names are a jumble of letters and numbers)   - You then need to find the folder for iViewer, this will mean opening each folder until you find a folder within named iViewer4.app (the folder names are a jumble of letters and numbers)
   - You can also locate this folder by downloading SBSettings from Cydia, then opening it up and go to app folders, then choose iViewer 4, it will then tell you the folder name and location.   - You can also locate this folder by downloading SBSettings from Cydia, then opening it up and go to app folders, then choose iViewer 4, it will then tell you the folder name and location.
-  - Once you have ascertained which folder is for the iViewer application,​ navigate to /​documents/​caches+  - Once you have ascertained which folder is for the iViewer application,​ navigate to ''​/​documents/​caches''​
   - This folder will have two other folders in it, one of them will contain a file named cached.gui   - This folder will have two other folders in it, one of them will contain a file named cached.gui
-  - Download this file, this is your main gui file+  - Download this file, this is your main guiDesigner project ​file.
  
 We have tested this method on a single page GUI file only - it may vary for GUI's with multiple pages etc. We have tested this method on a single page GUI file only - it may vary for GUI's with multiple pages etc.
 +
 +===== Android Devices =====
 +
 +  - Get access to the directory structure of the device memory (not covered in this guide)
 +  - Navigate to ''/​data/​data/​com.commandfusion.iviewer4/​files/​caches/''​ - note the directory may differ depending on your device and OS version.
 +  - There will be a folder for each cached project, using a unique UUID (random characters). See the .json file in the caches folder for a detailed explanation of the relationship of each folder.
software/iviewer/retrieving-gui-file.1359427838.txt.gz ยท Last modified: 2013/01/29 02:50 by aaron