A new widget of the launcher's own, drawn by the launcher like the picture
and clock widgets. It shows a map of the streets around the car with the car
in the middle, the street, and how long the car has stood there, or how fast
it drives. A tap opens directions to the car in the maps app.
- Traccar: the owner's own server, over HTTPS only, signed in with a token
made in Traccar. The latest position comes from /api/positions, and how
long the car has been parked from the stops report. Redirects are not
followed, so the token goes nowhere else.
- The token is kept encrypted with a key in Android's keystore, and is not
in backups. One sign-in serves every car widget; each widget follows one
device.
- Asked for only while a widget can be seen: every two minutes at most
while the car is parked, more often while it drives, and less often after
a failure. A token Traccar refused is not tried again until the owner
signs in anew.
- The street comes from Traccar when it has one, else from the phone's own
address lookup, kept while the car stays within 40 m.
- The map: OpenStreetMap's tiles, kept for a week and then checked again,
two at a time at most, with the credit on the map. The map turns dark with
the dark theme.
- Options sheet: server, token, then the car, with messages for a wrong
token, a server that is not Traccar, no HTTPS, a bad certificate, and
Android 17's local network permission (the server may be at home).
- Shaped like the other widgets: icon-aligned edges and the icon shape's
corners. Short and wide, the lines go beside the car; the car keeps clear
of the credit.
- WidgetSight: the picture widget's "can it be seen" check, now shared.
- About: the privacy text names the RSS reader and the car widget among
what goes online.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
release.ps1:
- The release is created as a draft, both APKs are uploaded, then it is
published, so /releases/latest (and the QR code) never points at a
release without its APK; a draft left by an interrupted run is cleaned
up or resumed.
- Before publishing, the APK's signing certificate is compared with the
release keystore's, so an APK signed with another key is never
published.
- With -SkipBuild, an APK not built from the commit being tagged is
refused.
flexera/AndroidManifest.xml: the home screen's database provider is no
longer exported. Lawnchair's manifest removes the definitions of its
READ_SETTINGS and WRITE_SETTINGS permissions, so any app could have
defined them and read or erased the home screen; the launcher itself
never goes through the provider.
build.gradle: github, the channel that is released, is the default
flavour, and Flexera's folders are wired into the nightly and play
variants too, so assembleDebug, lint and Android Studio's default
variant build; the lines Flexera changed carry markers.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first version filled its widget with the figures, which the owner found
huge. The figures are now measured against the icons: small is half an icon
tall, medium (the default) most of an icon, large taller than an icon, with the
widget's own height and width as the limit.
The owner chooses left, center or right and the size from the widget's edit
button. The options are a sheet over the home screen, kept per widget, and each
choice shows on the widget at once.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Clock is a second widget that comes with the launcher: the time in large light
figures and the date under it, written onto the wallpaper in the colour of the
icon labels. It follows the phone's 12 or 24 hour setting, updates with the
minute, and a tap opens the phone's clock app. Like Pictures it is drawn by the
launcher itself and keeps to the box of the icons in its cells.
What Pictures and Clock share moved into two places: IconFrame works out that
box, and FlexeraWidgets is where Launcher3's widget code asks about the
launcher's own widgets.
The QR code on the About screen now holds the address of the newest APK, so
that scanning it starts the download; the release page's address stays under it
for typing. For that address to work, the release script uploads each APK a
second time under a name that does not change.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
On Android 17 an app that targets it may not connect to devices on the local
network without the new ACCESS_LOCAL_NETWORK permission; a blocked connection is
dropped and ends as a timeout. At the owner's home the update server's name
leads to its address on the home network, so the check for updates failed there
with "did not answer" while the same server answered every other device.
The updater now recognises this case before it connects (Android 17, permission
not granted, server address inside one of the phone's own network ranges) and
says so at once. A tap on that message asks for the permission and runs the
check again; a refusal that Android no longer asks about leads to the app's
page in the phone's settings.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Pictures is a widget that comes with the launcher: one picture, or several that
take turns every 10 seconds with a cross-fade (a tap shows the next at once).
Android knows it as an ordinary app widget, so it is added, moved, resized and
removed like any other, but the launcher draws it itself. That lets its frame
sit exactly on the outer edges of the icons of the cells it covers and take the
corners of the icon shape in use.
Pictures are chosen with Android's photo picker and copied, scaled down, into
the launcher's own storage, one folder per widget, so no gallery permission is
needed. The widget's edit button opens the picker again; removing the widget
deletes its copies.
Launcher3's widget host view shows the launcher's own view for this provider
and skips the views Android would send, and the cell container gives the widget
its cells without the usual inset.
The Smart Launcher import now turns that launcher's photo widget into a
Pictures widget in the same place. Its photo is taken from the backup and
handed to the widget when the owner taps it to set it up.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The app is distributed privately, outside any store. Every version is published as a
release with the APK attached in https://git.mariosem.es/msemes/Flexera-Launcher-Releases,
and installed copies update themselves from there.
Versioning
- flexera/version.properties holds the version name (now 0.1.0); build.gradle derives the
version code from it. This replaces Lawnchair's 16_00_02_01_00 / "16.Dev.(hash)".
- Debug builds always use the debug key, so the release key signs releases only.
Updater (app.flexera.update.FlexeraUpdater)
- Asks the release repository for the latest release at most once a day, when the home
screen or settings come to the front, and on demand from Settings > About > Updates.
- Downloads the APK into the cache, checks that it is a newer build of this app, and
hands it to Android's installer. Android enforces the signature.
- Posts a notification when an automatic check finds a newer version.
- Off in debug builds, whose app ID differs from the released one.
Network policy (reverses PRD SI-5, at the owner's request for in-app updates)
- The INTERNET permission is back, plus REQUEST_INSTALL_PACKAGES.
- The update check is the only network use. Lawnchair's online features stay off through
FlexeraNetwork.onlineFeaturesAllowed: web suggestions, the announcement feed, and the
crash-report upload button.
- The About screen's privacy text says what the app now does online.
Releasing
- flexera/release.ps1 raises the version, builds the signed APK, checks its signature,
creates the release and uploads the APK.
Also carries the strings for the next commit (alphabet side and drawer settings).
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
PRD SI-5: nothing leaves the device.
- flexera/AndroidManifest.xml removes android.permission.INTERNET; it is attached to the
debug and release build types so it outranks flavor and library manifests
- FlexeraNetwork (new, flexera/src): isAvailable() plus a crash guard, because OkHttp
rethrows Android's SecurityException on its dispatcher thread and that killed the launcher
- Drawer search skips web suggestions when the permission is missing
- LawnchairApp installs the guard; the bug reporter ignores the same exception
Tested on the Android 17 emulator: typing in the drawer search and opening the About
screen no longer crash; the guard logged and absorbed six refused requests.
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>