Really cool... At some time I plan to test Leo running on my tablet. Cheers,
Offray On 26/2/19 16:11, Luka wrote: > It is now possible to run Leo on Android! > > Software configuration: pydroid, pyqt5 and ministro 2. Pyqt5 was installed > from pydroid quick install, ministro 2 was requested the first time pyqt5 was > imported. Leo was installed with pip. Some dirty hacks: > > 1. Comment block at line 991 of leoApp.py: > if sys.stdout.encoding and sys.stdout.encoding.lower() != 'utf-8': > Error is produced otherwise > > 2. Import PyQt5 before Leo: > import PyQt5 > import leo > leo.run() > > There are some problems with initial window size, but after changing > smartphone orientation it seems to resize properly. > > It seems to work fine, though no in depth testing was carried out. I am not a > programmer, just a user, so maybe there is much more elegant way to run Leo > on Android. Still, consider it as a proof of concept. > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
