Re: Leo on Android!

2019-02-27 Thread Rob
Wow, that's awesome! I've wanted that for a long time, but didn't think it 
could be easily done.

Rob...

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Leo on Android!

2019-02-27 Thread Luka
Edward, actually I don't use Android emulator. May be an official emulator 
which is included in Android Studio is a good point to start. 

I am also not sure that pydroid is a best option to run Leo on Android. It 
seem that pyqtdeploy 
 is better 
solution. It claims iOS support also.

Luka

среда, 27 февраля 2019 г., 0:31:53 UTC+3 пользователь Edward K. Ream 
написал:
>
>
>
> On Tue, Feb 26, 2019 at 3:11 PM Luka > 
> wrote:
>
>> It is now possible to run Leo on Android! 
>>
>
> That's great!  Looks like it's time to check out an Android emulator.  Do 
> you have a favorite?
>
> Edward
>

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Leo on Android!

2019-02-26 Thread Offray Vladimir Luna Cárdenas
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.


Re: Leo on Android!

2019-02-26 Thread Edward K. Ream
On Tue, Feb 26, 2019 at 3:11 PM Luka  wrote:

> It is now possible to run Leo on Android!
>

That's great!  Looks like it's time to check out an Android emulator.  Do
you have a favorite?

Edward

-- 
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 leo-editor+unsubscr...@googlegroups.com.
To post to this group, send email to leo-editor@googlegroups.com.
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.