Data Draw - JSON / XML Viewer for Android
This app will create diagrams of your data from your JSON or XML files. The drawing created is an HTML file showing you the structure of the data within your data-file. You can zoom in and out with no loss of image quality.
Great for putting in presentations or reports.
In the drawings, every element with child elements has a circle displayed on the right-hand side of the box. Click on this circle to make all the child elements become invisible. Click again to make them visible again.
There are two ways to select the file to convert:
1) Select File from local folder
a. Copy the json or xml file into a folder called /dataDraw on your device.
b. In the app, select the file using the file-picker.
c. Press the 'Create Drawing' button.
d. Wait while the drawing is created and placed in the /dataDraw folder with a '.html' extension.
2) Send the file by attaching it to an Email.
a. Create an Email and attach the json or xml file.
b. Send the Email with a title of DRAW: to a Gmail account.
c. In the app press the 'Check For Mail' button and select a Google Account.
d. Answer the Google authentication questions to give the app permission.
e. The app will now read the email, convert the file attached and send a reply with the converted drawing file attached.
The app uses OAuth2 Authentication with Google to obtain permission to use the Google Account you have specified.
A drawing options page allows you to choose the colour of the boxes displayed and also set the font-family of the text displayed. Your browser will choose the most appropriate font to use based on the fonts it has available in the font family specified.
Only one email will be processed at one time and only one attached file will be processed. Only 'Unread' emails will be processed.
The drawings are created using Scalable Vector Graphics (SVG).
Permissions Requested:
INTERNET: This is needed to connect to a GMAIL account to be able to receive data files to convert.
ACCESS_NETWORK_STATE: This is needed to be able to connect the gmail over WiFi or 3G/4G.
GET_ACCOUNTS: This is needed to allow you to choose which Google Account you sent an email to with an attached data file to convert.
USE_CREDENTIALS: This is needed to allow the app to communicate with Google so that you can give permission to the app to read the emails sent with data files to convert attached.
READ_EXTERNAL_STORAGE & WRITE_EXTERNAL_STORAGE: This is needed to be able to read and write data files from a specific folder /dataDraw on the Sdcard. The input file is read from this folder and the html result file is left there after creation.
If an error occurs then an error report is left in the same folder.
Keywords:
JSON JSON-Viewer XML XML-Viewer HTML data drawing diagram SVG structure data-structure graphical