Skip to content

auberginehill/list-my-apps-template-xml-style

Repository files navigation

List My Apps Template - XML style

OS: Android
Type: A template for an Android app called 'List My Apps'
Language: XML (with custom variables) and XSLT
Description: This template (when run in an Android app called 'List My Apps') creates a .xml-file of the apps installed on an Android device. Source code for a XSLT stylesheet (style.xsl) is also provided to make the .xml-file more legible.
Homepage: https://github.com/auberginehill/list-my-apps-template-xml-style
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 and the style.xsl -file. 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"). In this project the actual template code for List My Apps and the source code for the separate XSLT stylesheet -file can be found 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 plus the source code for the XSLT stylesheet (style.xsl) in one file.
      style.xsl XSLT stylesheet (saved as a separate file in the same folder as the .xml-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).
  • After the app data has been pasted from 'List My Apps' to a XML-editor, please search for the character & and replace every occurence with the word and (since XML-files don't work that well with extra ampersands or with extra < characters).
  • A separate file called style.xsl needs to be placed into the same folder as the produced .xml-file in order to view this script properly.

Tutorial

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

  1. Open a XML-editor, such as DroidEdit Free.
  2. Paste the XSLT stylesheet source code, and save the file as style.xsl in, for example Home/Documents folder. If another filename is given, please also change the second line (in the 'List My Apps' Template Editor) under the header "File Header:" accordingly.
  3. Open 'List My Apps' -app and create a new template in 'List My Apps' -app's Template Editor by clicking Options (three dots) → Template Editor → Add. [Screenshot]
  4. Type in a name for the template.

      screenshot
  5. 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.

      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 plus the source code for the XSLT stylesheet (style.xsl) in one file.
      style.xsl XSLT stylesheet (saved as a separate file in the same folder as the .xml-file)

  6. After saving the template go back to the 'List My Apps' -app's home screen and select the name that was created in Step 4 from the 'Copy/Share as:' -dropdown menu. Please also select the apps that you'd like to be included in the list. [Screenshot]
  7. '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.
  8. Open a XML-editor, such as DroidEdit Free.
  9. Paste the app data (source code generated by 'List My Apps' in Step 7) from Clipboard to the XML-editor.
    • If nothing happens (no data is pasted to a XML-editor after a few seconds), try selecting fewer apps in 'List My Apps' and go back to Step 7.
      • Depending on the device some lagging may occur when trying to paste, say ~10000 lines of code.
    • If "old data" gets pasted to a XML-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 7.
  10. After pasting the app data to the XML-editor, please search for the character & and replace every occurence with the word and (since XML-files don't work that well with extra ampersands or with extra < characters).
  11. Save the file as an .xml-file to the same folder, which was used in Step 2 so that the .xsl and .xml -files are in the same directory. A filename without any spaces is recommended, i.e. for example 'Installed_Apps.xml'.
  12. Firefox for Android renders also .xml-files, but the .xml-file can also be opened in Excel. So...
  13. Copy the .xml-file to, for instance, C:\Temp\ -directory in Windows. The .xsl-file may or may not be included.
  14. Microsoft Excel
    • On the Data tab of the Ribbon bar, in the Get External Data group, click From Another Source and choose XML. Then, in the Import Data dialog box, double-click the Installed_Apps.xml file.
    • Click OK on the error message.
    • Select where the imported cells are placed and click OK.

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)
Axel (XML Editor / Viewer)
Firefox for Android
Gitskarios for Github
Github Markdown Previewer
HTMLHint
Text Compare
XML Escape
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 - JSON

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).
  • After the app data has been pasted from 'List My Apps' to a XML-editor, please search for the character & and replace every occurence with the word and (since XML-files don't work that well with extra ampersands or with extra < characters).
  • A separate file called style.xsl needs to be placed into the same folder as the produced .xml-file in order to view this script properly.