File: trnpix/_viewable/2019 PyAndroid 1.jpg.note

The next three shots are assorted Python tkinter GUIs running 
on Android, in the _<I>Pydroid 3_</I> app: 
_<A HREF="https://learning-python.com/frigcal.html">_<I>Frigcal_</I>_</A>, 
_<A HREF="https://learning-python.com/mergeall.html">_<I>Mergeall_</I>_</A>, 
and a _<I>Programming Python_</I> book 
_<A HREF="https://learning-python.com/about-pp.html">example_</A>.

It's amazing to see desktop GUIs spring to life on a phone like 
this, though they generally require a few code tweaks to get there, 
don't support multiple windows very well, and must be run on a
freemium app that flashes obnoxious fullscreen ads unless you pay a 
_<A HREF="https://learning-python.com/mergeall-android-scripts/_README.html#toc86">fee_</A>.
It's worth the modest fee, but the policy comes off as quite rude,
especially given that the app is largely a package of open-source code.

See this site's Tkinter-on-Android
_<A HREF="https://learning-python.com/using-tkinter-programs-on-android.html">guide_</A>
for more info.
In principle, tkinter could also be bundled into standalone apps, 
but it's a very deep slog, and requires substantial Java—a punt for now.

_<HR>
_<I>2023 updates_</I>: 
In 2023, Pydroid 3 temporarily lost utility when it adopted 
Android 11+ scoped 
_<A HREF="https://www.google.com/search?q=android+scoped+storage">storage_</A>. 
Its tkinter still worked, but the code it ran could access only 
Pydroid 3-specific folders, which made content sharing tedious.  
This was eventually repaired but is something of a lesson about 
pandering to vendor whims.  Read more at this site's 
_<A HREF="https://learning-python.com/pydroid3-loses-storage-access.html">coverage_</A>; 
an Android casualty to be sure, but Play-store revenue seems a likely cohort.

Also in 2023, _<I>PC-Phone USB Sync_</I> made the above concerns moot 
by using Python, Kivy, and Buildozer to build a standalone app that avoids
Pydroid 3 dependence in full and runs on both Android and PCs from a common 
code base.  Stay tuned for the Android-thread wrap-up in 
_<A HREF="2023 Sync App.jpg.html">2023_</A>.



[Home page] Books Code Blog Python Author Train Find ©M.Lutz