Quickly get Tkinter Python app running on Android

hestermofet

Ars Legatus Legionis
24,887
I have a very simple Tkinter app that I would like to run on Android. Not planning on distributing to anyone but family and friends. I plan on sideloading the final APK file on my personal phone, and maybe that of my wife, parents, etc.

All it does is split/merge PDFs, remove/insert pages, rotate pages, convert images to PDF, etc. Which weirdly is a set of functions you need to pay for on Android, but anyway.

It uses Tkinter, but I will rewrite it in some other GUI toolkit if necessary. I'd rather avoid doing that, but since the GUI code is probably only about 20 lines, I suppose I could do that. I basically need a couple of buttons, and a file chooser for opening/saving files.

What would you recommend to get a usable APK file with minimal work? "Work" in terms of both rewriting/porting, but also in terms of setting up a build environment. I have zero Android dev tools installed at the moment.

Would be more than happy to put it on Github when I'm done, if anyone else needs these PDF manipulation functions.