🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.msdos
Article #4

Re: Can we programmatically get package names of icons in a homescreen folder?

#4
From: 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.
Technical Details
Message-ID: <11dsr46$1hmd$1@nnrp.usenet.blueworldhosting.com>
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
References: <11dnkrt$2pjn$1@nnrp.usenet.blueworldhosting.com> <11dnp91$1eem$1@nnrp.usenet.blueworldhosting.com> <11dnre3$1266$1@nnrp.usenet.blueworldhosting.com> <11dnvjh$2iq8$1@nnrp.usenet.blueworldhosting.com> <11do25i$26mf$1@nnrp.usenet.blueworldhosting.com> <11dskk5$9lf$1@nnrp.usenet.blueworldhosting.com> <11dsngj$lbg$1@nnrp.usenet.blueworldhosting.com>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-wdc.pugleaf.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!nnrp.usenet.blueworldhosting.com!.POSTED.public-nat-02.vpngate.v4.open.ad.jp!not-for-mail
From: Maria Sophia <mariasophia@comprehension.com>
Newsgroups: comp.mobile.android,alt.comp.os.windows-10,alt.msdos,batch
Subject: Re: Can we programmatically get package names of icons in a homescreen folder?
Date: Sat, 21 Nov 2026 15:23:50 -0400
Organization: BWH Usenet Archive (https://usenet.blueworldhosting.com)
Message-ID: <11dsr46$1hmd$1@nnrp.usenet.blueworldhosting.com>
References: <11dnkrt$2pjn$1@nnrp.usenet.blueworldhosting.com> <11dnp91$1eem$1@nnrp.usenet.blueworldhosting.com> <11dnre3$1266$1@nnrp.usenet.blueworldhosting.com> <11dnvjh$2iq8$1@nnrp.usenet.blueworldhosting.com> <11do25i$26mf$1@nnrp.usenet.blueworldhosting.com> <11dskk5$9lf$1@nnrp.usenet.blueworldhosting.com> <11dsngj$lbg$1@nnrp.usenet.blueworldhosting.com>
Reply-To: pusvul@getTjewytR4so+mqe2.invalid
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Sat, 21 Nov 2026 19:23:50 -0000 (UTC)
Injection-Info: nnrp.usenet.blueworldhosting.com; posting-account="l//KxG3Ge2LojWvwJg0Igv8F0ChK8RUC9RtOxMPUo3U"; posting-host="IfCZz72xNNlHXBkfV9B6WJEa9xVhaehMJfhAC6fCwnM";
	logging-data="50893"; mail-complaints-to="usenet@blueworldhosting.com"
User-Agent: Mojibake v24p7
Cancel-Lock: sha1:YvhTYlItmVMaBEPIJ5cc4sPqaZs= sha256:wsiateJkR7XDYylq1rTwu3JfeJbqZA4WEiQOk6pv8tE=
	sha1:5Bk/OOPh+PeiVcq54hWYEOpOioM= sha256:ZcRnF1cjSV+MukLgu6EIOW51Sr6j1Suw0WrGXmZQgIM=
Content-Language: en-GB