Skip to content

auberginehill/list-my-apps-template-json

Repository files navigation

List My Apps Template - JSON

OS: Android
Type: A template for an Android app called 'List My Apps'
Language: JSON (with custom variables)
Description: This template (when run in an Android app called 'List My Apps') creates a .json-file of the apps installed on an Android device.
Homepage: https://github.com/auberginehill/list-my-apps-template-json
Version: 1.3
Sources:
Emojis: https://api.github.com/emojis
Descriptions of the variables: http://www.onyxbits.de/faq-page/22#t22n48
Downloads: For instance all_in_one.txt or the same file in three separate parts. Or everything as a .zip-file.

Screenshot

screenshot

Remarks

⚠️
  • List My Apps custom templates consist of three fields ("List header", "Item format" and "List footer"). The template code in this project is divided into three parts, which correspond the fields found in List My Apps' Template Editor as described below:

      Filename Field in List My Apps' Template Editor
      file_header.txt "List header, may be blank"
      body.txt "Item format, may not be blank"
      file_footer.txt "List footer, may be blank"
      all_in_one.txt Contains all the above mentioned three parts in one file.

  • Please include one empty row after "File Header" and "Body" in the List My Apps template (so that the script will write each data row on its own row).
  • The resulted JSON-file needs to be further processed in order to create a human readable file.

Tutorial

📖 To open this code with an Android device, for instance:

  1. Create a new template in 'List My Apps' -app's Template Editor by clicking Options (three dots) → Template Editor → Add. [Screenshot]
  2. Type in a name for the template.

      screenshot
  3. Paste all the appropriate template data (the three sections as specified below) to 'List My Apps'. Please include one empty row after "File Header" and "Body" (so that the script will write each data row on its own row) and save the template.

  4. After saving the template go back to the 'List My Apps' -app's home screen and select the name that was created in Step 2 from the 'Copy/Share as:' -dropdown menu. Please also select the apps that you'd like to be included in the list. [Screenshot]
  5. 'Run' the 'List My Apps' -app with the new template by copying the app data to Clipboard [Copy] (since direct sharing may not work, if a lot of applications has been installed).
    • There seems to be some kind of a limit, how much data the Android Clipboard can contain. With verbose templates ~200 apps might be the upper limit, but with a simple template, the Android Clipboard clearly is capable of containing considerably more app data.
  6. Open a JSON-editor, such as DroidEdit Free.
  7. Paste the app data (source code generated by 'List My Apps' in Step 5) from Clipboard to the JSON-editor.
    • If nothing happens (no data is pasted to a JSON-editor after a few seconds), try selecting fewer apps in 'List My Apps' and go back to Step 5.
      • Depending on the device some lagging may occur when trying to paste, say ~10000 lines of code.
    • If "old data" gets pasted to a JSON-editor (i.e. "the data that was in the Clipboard before List My Apps' 'Copy to Clipboard' -button was clicked"), try selecting fewer apps in 'List My Apps' and go back to Step 5.
  8. Save the file as a .json-file, for example as 'Installed_Apps.json', for example in 'Home/Documents' folder (a filename without any spaces is recommended).

Contributing

Find a bug? Have a feature request? Here is how you can contribute to this project:

contributing Bugs: Submit bugs and help us verify fixes.
Feature Requests: Feature request can be submitted by creating an Issue.
Edit Source Files: Submit pull requests for bug fixes and features and discuss existing proposals.

www

www Template Homepage
List My Apps (Google Play)
List My Apps' homepage
List My Apps' application thread at xda-developers.com
DroidEdit Free (free code editor)
JSON Editor
Firefox for Android
Gitskarios for Github
Github Markdown Previewer
HTMLHint
Text Compare
ASCII Art: http://www.figlet.org/ and ASCII Art Text Generator

Related scripts

www List My Apps Template - Table
List My Apps Template - List
List My Apps Template - Pro
List My Apps Template - Data
List My Apps Template - XML plain
List My Apps Template - XML style

N.B.

Please include one empty row after "File Header" and "Body" in the List My Apps template (so that the script will write each data row on its own row).