🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

3 total messages Started by Maria Sophia Sat, 21 Nov 2026 17:32
Re: Can we programmatically get package names of icons in a homescreen folder?
#2
Author: Maria Sophia
Date: Sat, 21 Nov 2026 17:32
53 lines
4092 bytes
Maria Sophia wrote:
> Obviously, we can adapt this method to find all the apps in
> each & every folder on our Android home screens over Wi-Fi/USB.

Success! This is an exiting new feature for your Android/desktop!

It took longer than the hour I had "thought" I would invest into this
project but we can now spit out every package/name combination that we've
installed or that the system installed which has an icon on the homescreen.

Interestingly, given I we logically organize the icons in folders by
most-used to least used, the order listed is EXACTLY the homescreen order!

That was an unexpected bonus that the organization is literally from top to
bottom of the folders, from left to right & the same when inside folders!

For example, my "files" folder has all the file managers in exact order!

   folder "files"
   package_name                          app_title
   ------------                          ---------
   com.folderv.file                      FV File Explorer
   ru.zdevs.zarchiver                    ZArchiver
   com.mixplorer                         MiX
   de.felixnuesse.extract                Round Sync
   com.ghostsq.commander                 Ghost Commander
   com.simplemobiletools.filemanager.pro smtFile Manager
   pl.mkexplorer.kormateusz              MK Explorer
   nextapp.fx                            FX
   com.amaze.filemanager                 Amaze
   com.amaze.fileutilities               Amaze Utilities
   com.lonelycatgames.Xplore             X-plore
   org.openintents.filemanager           OI File Manager
   me.zhanghai.android.files             Material Files
   com.skyjos.apps.fileexplorerfree      Owlfiles
   com.cxinventor.file.explorer          Cx File Explorer
   com.ghisler.android.TotalCommander    Total Commander
   com.sec.android.app.myfiles           My Files
   net.micode.fileexplorer               File Explorer
   com.speedsoftware.explorer            Explorer
   com.marc.files                        Files.marc
   com.dnielfe.manager                   Simple Explorer
   com.google.android.apps.nbu.files     Files.nbu
   pl.solidexplorer2                     Solid Explorer
   etc.... 

It's a nearly perfect ordered inventory.
 a. folders in order
 b. packages in order
 c. with a list of 65 headless apps that I personally installed

The next major update will be most likely when I port it to python
so that linux and macos users can benefit from this new capability.
Re: Can we programmatically get package names of icons in a homescreen folder?
#3
Author: Maria Sophia
Date: Sat, 21 Nov 2026 18:22
48 lines
3885 bytes
Maria Sophia wrote:
> It's a nearly perfect ordered inventory.
>  a. folders in order
>  b. packages in order
>  c. with a list of 65 headless apps that I personally installed

Here's a description of the new capability before I port it to python.
 :: -------------------------------------------------------------------------
 :: adbfolder.bat (describes the Android homescreen in an ordered text file)
 :: -------------------------------------------------------------------------
 :: Outputs a textual inventory (with debug capability) of the Android 
 :: homescreen, including location of all panes, folders & package names.
 ::
 :: Runs on Windows over Wi-Fi/USB, but can be ported to other platforms.
 :: Intended to assist in debugging, inventory, archival, backup and restore.
 ::
 :: Will pull a backup from android via adb or read an existing nova db or
 :: nova backup archive on windows needing only adb and sql dependencies
 ::
 :: List order is top to bottom, left to right, meaning the leftmost pane
 :: is 1st, the topleft folder is 1st, then the next folder to the right.
 ::
 :: Likewise, packages are listed in top to bottom order, left to right 
 :: when inside folders (which means we have an organizational archive).
 ::
 :: Bare icons (not inside folders) are listed separately as a line item.
 ::
 :: This script not only provides a complete inventory of every package
 :: and title of every folder & icon on the homescreen, but it optionally
 :: will 'diff' against all packages installed by the user to indicate
 :: 'headless' apps which are installed, but which have no homescreen icon.
 :: -------------------------------------------------------------------------

I looked up what the porting options are, and it seems these may work?
 a. bash
 b. python
 c. powershell7
 d. go
 e. node.js
 f. C#/.NET10

Of those, only bash & python do I know anything about.
And of those, python is the only one which will work w/o changing the file.

Are there any other porting options so the Linux/macOS users also benefit
from this new capability of inventorying and debugging Android homescreens?
-- 
On Usenet, we can pool our knowledge and skills so everyone learns more.
Re: Can we programmatically get package names of icons in a homescreen folder?
#4
Author: Maria Sophia
Date: Sat, 21 Nov 2026 19:23
67 lines
4975 bytes
Maria Sophia wrote:
> I looked up what the porting options are, and it seems these may work?
>  a. bash
>  b. python
>  c. powershell7
>  d. go
>  e. node.js
>  f. C#/.NET10

Not only is there a question of how to port this for more general use, 
but there's also a question of which common launchers will it work with.

It may be that the native Android launcher may provide a 'parsable
homescreen, so I looked up which might work in addition to Nova Launcher.

So far, I "think" (tentatively) these will export/import a homescreen.
 a. Nova (SQL, .novabackup/nova.db restore)
 b. Lawnchair (.lawnchairbackup/restore)
 c. Mink (JSON backup/restore)
 d. Total Launcher (zip? backup/restore)
 e. Niagra (nlb backup/restore)
 d. Others? (SQLite, JSON, XML, etc.)

What's interesting is Lawnchair might read a Nova backup/restore database.
 <https://lawnchair.app/>
 <https://github.com/LawnchairLauncher/lawnchair>
 <https://docs.lawnchair.app/getting-started/install-and-setup>
 <https://play.google.com/store/apps/details?id=app.lawnchair.play>
 "Lawnchair is a free, open source home screen replacement based
  on Launcher3 from the Android open source project. The app aims to 
  provide an experience similar to that of the Pixel Launcher,
  while offering more features."

Note that I updated the script today because I needed to make clear that
the displayed name might have been changed from the original by the user.
 :: -------------------------------------------------------------------------
 :: adbfolder.bat 
 :: -------------------------------------------------------------------------
 :: Outputs a perfect textual inventory, with debug capability, of an Android 
 :: homescreen, including location of all panes, folders, packages and titles.
 ::
 :: Intended to assist in debugging, inventory, archival, backup and restore.
 :: Runs on Windows over Wi-Fi/USB, but can be ported to other platforms.
 ::
 :: Will pull a backup from android via adb or read an existing nova db or
 :: nova backup archive on windows needing only adb and sql dependencies
 ::
 :: List order is top to bottom, left to right, meaning the leftmost pane
 :: is 1st, the topleft folder is 1st, then the next folder to the right.
 ::
 :: Likewise, packages and titles inside of folders are listed in top to 
 :: bottom order, left to right, providing an exact textual description.
 ::
 :: Bare icons, not inside folders, are listed separately as a line item.
 ::
 :: This script not only provides a complete inventory of every package
 :: and title of every folder & icon on the homescreen, but it optionally
 :: will 'diff' against all packages installed by the user to indicate
 :: 'headless' apps which are installed, but which have no homescreen icon.
 ::
 :: Note the display_name is the current icon title for a given app icon, 
 :: which can be changed by the user, so it's not always the original.
 :: However, for the apps installed by the user but sans homescreen icons,
 :: the optional lookup pulls the app's original defined Android app_label.
 :: -------------------------------------------------------------------------
-- 
On Usenet, we can pool our knowledge and skills so everyone learns more.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads