From david at boddie.org.uk Wed Nov 11 11:49:20 2020 From: david at boddie.org.uk (David Boddie) Date: Wed, 11 Nov 2020 17:49:20 +0100 Subject: [Mobile-sig] opensource.com article about Python on Android Message-ID: <3287167.EuttZarGrC@aurora> This list is basically dormant now, I think. Still, I saw this article on opensource.com today, which is a fairly high profile site for some readers, and thought it might be interesting to post a link here. Create and run Python apps on your Android phone https://opensource.com/article/20/8/python-android-mobile It's centred around Termux and a web application, so not interesting to everyone, but maybe some people will find it useful. David From ethan at stoneleaf.us Wed Nov 11 13:19:49 2020 From: ethan at stoneleaf.us (Ethan Furman) Date: Wed, 11 Nov 2020 10:19:49 -0800 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <3287167.EuttZarGrC@aurora> References: <3287167.EuttZarGrC@aurora> Message-ID: <9b881e4f-94b0-58e5-55f1-07ff91eadda5@stoneleaf.us> On 11/11/20 8:49 AM, David Boddie wrote: > This list is basically dormant now, I think. Still, I saw this article on > opensource.com today, which is a fairly high profile site for some readers, > and thought it might be interesting to post a link here. > > Create and run Python apps on your Android phone > https://opensource.com/article/20/8/python-android-mobile > > It's centred around Termux and a web application, so not interesting to > everyone, but maybe some people will find it useful. Cool read, thanks! Of course, now I want to know if I can ssh into my phone so I don't have to program on a tiny screen with my fingers. :-/ -- ~Ethan~ From david at boddie.org.uk Wed Nov 11 18:12:42 2020 From: david at boddie.org.uk (David Boddie) Date: Thu, 12 Nov 2020 00:12:42 +0100 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <9b881e4f-94b0-58e5-55f1-07ff91eadda5@stoneleaf.us> Message-ID: <1947991.SlE8McRTjx@aurora> On Wed Nov 11 13:19:49 EST 2020, Ethan Furman wrote: > On 11/11/20 8:49 AM, David Boddie wrote: > > Create and run Python apps on your Android phone > > https://opensource.com/article/20/8/python-android-mobile > > > > It's centred around Termux and a web application, so not interesting to > > everyone, but maybe some people will find it useful. > > Cool read, thanks! > > Of course, now I want to know if I can ssh into my phone so I don't have to > program on a tiny screen with my fingers. :-/ It should be possible: https://wiki.termux.com/wiki/Remote_Access#Using_the_SSH_server I used the on-screen keyboard on a 7 inch tablet with Termux and it wasn't fun, but it was better than I imagined it would be. David From jacob at blindza.co.za Thu Nov 12 03:56:35 2020 From: jacob at blindza.co.za (jacob kruger) Date: Thu, 12 Nov 2020 10:56:35 +0200 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <3287167.EuttZarGrC@aurora> References: <3287167.EuttZarGrC@aurora> Message-ID: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> I had actually forgotten about this mailing list, and, on this note, just been playing around with beeware, which lets you use layout-by-code and a module called briefcase, to package the same python code for multiple platforms, including android: https://beeware.org/ Jacob Kruger +2782 413 4791 Skype: BlindZA "...resistance is futile...but, acceptance is versatile..." On 2020-11-11 06:49 PM, David Boddie wrote: > This list is basically dormant now, I think. Still, I saw this article on > opensource.com today, which is a fairly high profile site for some readers, > and thought it might be interesting to post a link here. > > Create and run Python apps on your Android phone > https://opensource.com/article/20/8/python-android-mobile > > It's centred around Termux and a web application, so not interesting to > everyone, but maybe some people will find it useful. > > David > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at boddie.org.uk Thu Nov 12 06:21:15 2020 From: david at boddie.org.uk (David Boddie) Date: Thu, 12 Nov 2020 12:21:15 +0100 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> Message-ID: <2234391.VoQAjYer4a@aurora> On Thu Nov 12 03:56:35 EST 2020, jacob kruger wrote: > I had actually forgotten about this mailing list, and, on this note, > just been playing around with beeware, which lets you use layout-by-code > and a module called briefcase, to package the same python code for > multiple platforms, including android: > > https://beeware.org/ Can you share your experiences with Beeware to make an Android application? I think it's useful to have an idea of what people have done because it gives others an idea of what is possible, and it potentially shows them the steps they need to take to achieve something similar. David From pooyagheyami at gmail.com Thu Nov 12 08:26:19 2020 From: pooyagheyami at gmail.com (poya ghiami) Date: Thu, 12 Nov 2020 16:26:19 +0300 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <2234391.VoQAjYer4a@aurora> References: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> <2234391.VoQAjYer4a@aurora> Message-ID: Hello All I do it with toga and briefcase and make 2 sample app with it But there are some problems in GUI when converting to apk I think the biggest challenge about GUI on Android is the existence of libraries that will not be used most of the time, and I have seen this in many other languages and no one is working on it. But the idea of flex on Android is very good, I will try it My idea is that each program is able to host and serve both On Thu, Nov 12, 2020 at 2:21 PM David Boddie wrote: > On Thu Nov 12 03:56:35 EST 2020, jacob kruger wrote: > > > I had actually forgotten about this mailing list, and, on this note, > > just been playing around with beeware, which lets you use layout-by-code > > and a module called briefcase, to package the same python code for > > multiple platforms, including android: > > > > https://beeware.org/ > > Can you share your experiences with Beeware to make an Android application? > > I think it's useful to have an idea of what people have done because it > gives > others an idea of what is possible, and it potentially shows them the steps > they need to take to achieve something similar. > > David > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacob at blindza.co.za Thu Nov 12 07:31:45 2020 From: jacob at blindza.co.za (jacob kruger) Date: Thu, 12 Nov 2020 14:31:45 +0200 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <2234391.VoQAjYer4a@aurora> References: <2234391.VoQAjYer4a@aurora> Message-ID: <708426a6-bb2e-ba9f-e4b4-47571cd40a02@blindza.co.za> All have done thus far is test it, to make sure it could pull off the compilation/generation of a .apk file, but, the tutorial material on the following pages pretty much sums it up exactly: https://docs.beeware.org/en/latest/tutorial/tutorial-1.html The fifth step relates to compiling the .apk file, while the previous pages relate to installing the modules/packages, working with them via a virtual environment python prompt, etc., and, a bit of the toga layout-by-code implementations - there's not too much tutorial material on that subject, FWIW. Stay well Jacob Kruger +2782 413 4791 Skype: BlindZA "...resistance is futile...but, acceptance is versatile..." On 2020-11-12 01:21 PM, David Boddie wrote: > On Thu Nov 12 03:56:35 EST 2020, jacob kruger wrote: > >> I had actually forgotten about this mailing list, and, on this note, >> just been playing around with beeware, which lets you use layout-by-code >> and a module called briefcase, to package the same python code for >> multiple platforms, including android: >> >> https://beeware.org/ > Can you share your experiences with Beeware to make an Android application? > > I think it's useful to have an idea of what people have done because it gives > others an idea of what is possible, and it potentially shows them the steps > they need to take to achieve something similar. > > David > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig -------------- next part -------------- An HTML attachment was scrubbed... URL: From russell at keith-magee.com Thu Nov 12 18:02:12 2020 From: russell at keith-magee.com (Russell Keith-Magee) Date: Fri, 13 Nov 2020 07:02:12 +0800 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <708426a6-bb2e-ba9f-e4b4-47571cd40a02@blindza.co.za> References: <2234391.VoQAjYer4a@aurora> <708426a6-bb2e-ba9f-e4b4-47571cd40a02@blindza.co.za> Message-ID: Hi folks - BeeWare project maintainer here. Completely agreed that there isn't much tutorial material - we definitely want to write a lot more. As with all FLOSS projects, it's hinging on having time and/or volunteer effort to do something (or, as happened recently - a generous grant from the PSF to fund some development work). That said - the tutorials that *do* exist should be enough to get you to the point of an app running on iOS and Android; if you hit any problems, or have any questions beyond what is covered by the tutorial, I'm more than happy to answer those questions - either here, or on the BeeWare chat rooms (https://gitter.im/beeware/general) Yours, Russ Magee %-) On 12 November 2020 at 9:31:39 pm, jacob kruger (jacob at blindza.co.za) wrote: All have done thus far is test it, to make sure it could pull off the compilation/generation of a .apk file, but, the tutorial material on the following pages pretty much sums it up exactly: https://docs.beeware.org/en/latest/tutorial/tutorial-1.html The fifth step relates to compiling the .apk file, while the previous pages relate to installing the modules/packages, working with them via a virtual environment python prompt, etc., and, a bit of the toga layout-by-code implementations - there's not too much tutorial material on that subject, FWIW. Stay well Jacob Kruger +2782 413 4791 Skype: BlindZA "...resistance is futile...but, acceptance is versatile..." On 2020-11-12 01:21 PM, David Boddie wrote: On Thu Nov 12 03:56:35 EST 2020, jacob kruger wrote: I had actually forgotten about this mailing list, and, on this note, just been playing around with beeware, which lets you use layout-by-code and a module called briefcase, to package the same python code for multiple platforms, including android: https://beeware.org/ Can you share your experiences with Beeware to make an Android application? I think it's useful to have an idea of what people have done because it gives others an idea of what is possible, and it potentially shows them the steps they need to take to achieve something similar. David _______________________________________________ Mobile-sig mailing list Mobile-sig at python.org https://mail.python.org/mailman/listinfo/mobile-sig _______________________________________________ Mobile-sig mailing list Mobile-sig at python.org https://mail.python.org/mailman/listinfo/mobile-sig -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel.pettier at gmail.com Sat Nov 14 04:43:00 2020 From: gabriel.pettier at gmail.com (Gabriel Pettier) Date: Sat, 14 Nov 2020 10:43:00 +0100 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: References: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> <2234391.VoQAjYer4a@aurora> Message-ID: <20201114094044.qfn5f2nvaeniuvs3@gryphon> It might still be worth saying (as i'm often surprised by this not being more known) that Kivy is able and used by a lot of people to develop Android applications in Python, with the same widgets whatever the platform, so you can develop and test your application on desktop (Win/OSX/Linux) directly, and know that it will look and behave the same on Android (and IOS), then package/deploy it to the target platform using buildozer. (for IOS a mac with xcode is still required, for Android either Linux, or OSX, or WSL in windows can be used). On Thu, Nov 12, 2020 at 04:26:19PM +0300, poya ghiami wrote: >Hello All >I do it with toga and briefcase and make 2 sample app with it >But there are some problems in GUI when converting to apk >I think the biggest challenge about GUI on Android is the existence of >libraries that will not be used most of the time, and I have seen this in >many other languages and no one is working on it. >But the idea of flex on Android is very good, I will try it >My idea is that each program is able to host and serve both > >On Thu, Nov 12, 2020 at 2:21 PM David Boddie wrote: > >> On Thu Nov 12 03:56:35 EST 2020, jacob kruger wrote: >> >> > I had actually forgotten about this mailing list, and, on this note, >> > just been playing around with beeware, which lets you use layout-by-code >> > and a module called briefcase, to package the same python code for >> > multiple platforms, including android: >> > >> > https://beeware.org/ >> >> Can you share your experiences with Beeware to make an Android application? >> >> I think it's useful to have an idea of what people have done because it >> gives >> others an idea of what is possible, and it potentially shows them the steps >> they need to take to achieve something similar. >> >> David >> _______________________________________________ >> Mobile-sig mailing list >> Mobile-sig at python.org >> https://mail.python.org/mailman/listinfo/mobile-sig >> >_______________________________________________ >Mobile-sig mailing list >Mobile-sig at python.org >https://mail.python.org/mailman/listinfo/mobile-sig From david at boddie.org.uk Sun Nov 15 17:01:41 2020 From: david at boddie.org.uk (David Boddie) Date: Sun, 15 Nov 2020 23:01:41 +0100 Subject: [Mobile-sig] Worlds collide: Tkinter and Android Message-ID: <3063267.HV5BzclNi1@aurora> I found this page on Mark Lutz's site: https://learning-python.com/using-tkinter-programs-on-android.html It's interesting to see how much can be done with Tkinter on Android. Unsurprisingly, the results don't look very mobile-friendly. I'd never really noticed the Pydroid product that he uses, but I tend to skip past all the pay-to-play/code apps for writing Python programs on Android. He doesn't seem very happy with the business model for the app, either: https://learning-python.com/mergeall-android-scripts/_README.html#toc86 David From jacob at blindza.co.za Mon Nov 16 03:54:26 2020 From: jacob at blindza.co.za (jacob kruger) Date: Mon, 16 Nov 2020 10:54:26 +0200 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <20201114094044.qfn5f2nvaeniuvs3@gryphon> References: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> <2234391.VoQAjYer4a@aurora> <20201114094044.qfn5f2nvaeniuvs3@gryphon> Message-ID: <255d3e83-62dd-ce48-95fc-3e60e5126e33@blindza.co.za> Hi there Will just mention that while haven't tried out kivy for quite a while, if, as I think, it uses tkinter, then it would be a no-go from my side. And, FWIW, that's since I am myself a 100% blind software developer, and, certain forms of GUI modules don't cooperate too well with assisstive technology such as screenreaders. This is also where the command line interaction with beeware and it's briefcase suit me nicely, as well as where the toga layout-by-code also suits me in terms of the development process, and, the first thing I made sure of was that the generated android app was accessible while working with the android talkback screen reading software. In other words, might try out kivy again, but, otherwise, beeware is probably going to be my channel of choice for now, although this is all a form of private/after-hours area of focus... ? Jacob Kruger +2782 413 4791 Skype: BlindZA "...resistance is futile...but, acceptance is versatile..." On 2020-11-14 11:43 AM, Gabriel Pettier wrote: > It might still be worth saying (as i'm often surprised by this not being > more known) that Kivy is able and used by a lot of people to develop > Android applications in Python, with the same widgets whatever the > platform, so you can develop and test your application on desktop > (Win/OSX/Linux) directly, and know that it will look and behave the same > on Android (and IOS), then package/deploy it to the target platform > using buildozer. (for IOS a mac with xcode is still required, for > Android either Linux, or OSX, or WSL in windows can be used). > > On Thu, Nov 12, 2020 at 04:26:19PM +0300, poya ghiami wrote: >> Hello All >> I do it with toga and briefcase and make 2 sample app with it >> But there are some problems in GUI when converting to apk >> I think the biggest challenge about GUI on Android is the existence of >> libraries that will not be used most of the time, and I have seen >> this in >> many other languages and no one is working on it. >> But the idea of flex on Android is very good, I will try it >> My idea is that each program is able to host and serve both >> >> On Thu, Nov 12, 2020 at 2:21 PM David Boddie >> wrote: >> >>> On Thu Nov 12 03:56:35 EST 2020, jacob kruger wrote: >>> >>> > I had actually forgotten about this mailing list, and, on this note, >>> > just been playing around with beeware, which lets you use >>> layout-by-code >>> > and a module called briefcase, to package the same python code for >>> > multiple platforms, including android: >>> > >>> > https://beeware.org/ >>> >>> Can you share your experiences with Beeware to make an Android >>> application? >>> >>> I think it's useful to have an idea of what people have done because it >>> gives >>> others an idea of what is possible, and it potentially shows them >>> the steps >>> they need to take to achieve something similar. >>> >>> David >>> _______________________________________________ >>> Mobile-sig mailing list >>> Mobile-sig at python.org >>> https://mail.python.org/mailman/listinfo/mobile-sig >>> > >> _______________________________________________ >> Mobile-sig mailing list >> Mobile-sig at python.org >> https://mail.python.org/mailman/listinfo/mobile-sig > > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at boddie.org.uk Mon Nov 16 05:13:26 2020 From: david at boddie.org.uk (David Boddie) Date: Mon, 16 Nov 2020 11:13:26 +0100 Subject: [Mobile-sig] Article about Python's popularity Message-ID: <2908328.W8rQF8YPal@aurora> >From The Register, talking about Python being everywhere: "And it is, unless you count mobile devices, a rather significant market these days. Python has yet to have much of an impact on the client side of mobile app development, despite mobile app frameworks like Kivy." https://www.theregister.com/2020/11/12/python_swallows_java_to_become/ Is Kivy not benefiting from the popularity of Python in general? David From jacob at blindza.co.za Tue Nov 17 05:49:17 2020 From: jacob at blindza.co.za (jacob kruger) Date: Tue, 17 Nov 2020 12:49:17 +0200 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: References: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> <2234391.VoQAjYer4a@aurora> <20201114094044.qfn5f2nvaeniuvs3@gryphon> <255d3e83-62dd-ce48-95fc-3e60e5126e33@blindza.co.za> Message-ID: <431e0b27-3c67-1084-b9d0-80b85610e47f@blindza.co.za> I am referring to the fact that toga's layout literally stems from layout-by-code - add a container to the main window via code, add elements to it, etc. etc. - no graphical design required as such. As in, while have worked using a similar process in the past, making use of wxPython, the ones that might require me to have done graphical layout design, using forms of drag-and-drop would be a no-go from my side. Stay well Jacob Kruger +2782 413 4791 Skype: BlindZA "...resistance is futile...but, acceptance is versatile..." On 2020-11-16 06:36 PM, Matthew Einhorn wrote: > On Mon, Nov 16, 2020 at 4:46 AM jacob kruger > wrote: > > Hi there > > > Will just mention that while haven't tried out kivy for quite a > while, if, as I think, it uses tkinter, then it would be a no-go > from my side. > > > Hmm no it doesn't use tkinter in any way!? > > And, FWIW, that's since I am myself a 100% blind software > developer, and, certain forms of GUI modules don't cooperate too > well with assisstive technology such as screenreaders. > > > This is also where the command line interaction with beeware and > it's briefcase suit me nicely, as well as where the toga > layout-by-code also suits me in terms of the development process, > and, the first thing I made sure of was that the generated android > app was accessible while working with the android talkback screen > reading software. > > > I'm not sure what you mean by command line/layout-by-code. Do you mean > it's not a WYSIWYG? I don't think any of the python GUI packages I'm > aware of (e.g. kivy, qt etc.) are WYSIWYG as they all rely on layouts > to place widgets. But yeah, Kivy's built-in widgets do not have an > accessibility API so I don't think the generated apks are accessible > in that way AFAIK. > > Matt > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel.pettier at gmail.com Tue Nov 17 09:15:46 2020 From: gabriel.pettier at gmail.com (Gabriel Pettier) Date: Tue, 17 Nov 2020 15:15:46 +0100 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: <431e0b27-3c67-1084-b9d0-80b85610e47f@blindza.co.za> References: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> <2234391.VoQAjYer4a@aurora> <20201114094044.qfn5f2nvaeniuvs3@gryphon> <255d3e83-62dd-ce48-95fc-3e60e5126e33@blindza.co.za> <431e0b27-3c67-1084-b9d0-80b85610e47f@blindza.co.za> Message-ID: Thanks for sharing your feedback about kivy, though i would like to clarify that sounds like misconceptions to me. - Kivy is not based on tkinter, and doesn?t use it, it implements its own widgets, based on opengl, you might be thinking about pygame, that we used as a provider years ago, but these days we are not dependent on it at all, and use SDL directly. - Kivy doesn?t use a graphical designer, you might be thinking of things like Glade (for gtk) or QTDesigner (for qt), while some users have been asking for such a designer, there is no effort to develop one currently, and we do encourage people to learn kvlang, which is a yaml-like declarative language to create your UI, you can also use python directly, but using that dsl does simplify a lot of things. - Regarding accessibility, i?ll concede that?s a downside on kivy?s side, we don?t have any integration allowing screen reader to work with the app, we do have some ideas about how to solve that, there has been discussions for example in issue 5836 [1] but as far as i?m aware, nobody is currently working on that, i agree this is a shame, but it does require a core dev to have both the time (and we are short on that) and access to users of these software, the former is certainly more of a blocker than the latter. [1] https://github.com/kivy/kivy/issues/5836 Le mar. 17 nov. 2020 ? 12:47, jacob kruger a ?crit : > I am referring to the fact that toga's layout literally stems from > layout-by-code - add a container to the main window via code, add elements > to it, etc. etc. - no graphical design required as such. > > > As in, while have worked using a similar process in the past, making use > of wxPython, the ones that might require me to have done graphical layout > design, using forms of drag-and-drop would be a no-go from my side. > > > Stay well > > Jacob Kruger > +2782 413 4791 > Skype: BlindZA > "...resistance is futile...but, acceptance is versatile..." > On 2020-11-16 06:36 PM, Matthew Einhorn wrote: > > On Mon, Nov 16, 2020 at 4:46 AM jacob kruger wrote: > >> Hi there >> >> >> Will just mention that while haven't tried out kivy for quite a while, >> if, as I think, it uses tkinter, then it would be a no-go from my side. >> >> >> Hmm no it doesn't use tkinter in any way!? > > >> And, FWIW, that's since I am myself a 100% blind software developer, and, >> certain forms of GUI modules don't cooperate too well with assisstive >> technology such as screenreaders. >> >> >> This is also where the command line interaction with beeware and it's >> briefcase suit me nicely, as well as where the toga layout-by-code also >> suits me in terms of the development process, and, the first thing I made >> sure of was that the generated android app was accessible while working >> with the android talkback screen reading software. >> > > I'm not sure what you mean by command line/layout-by-code. Do you mean > it's not a WYSIWYG? I don't think any of the python GUI packages I'm aware > of (e.g. kivy, qt etc.) are WYSIWYG as they all rely on layouts to place > widgets. But yeah, Kivy's built-in widgets do not have an accessibility API > so I don't think the generated apks are accessible in that way AFAIK. > > Matt > > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig > -------------- next part -------------- An HTML attachment was scrubbed... URL: From gabriel.pettier at gmail.com Tue Nov 17 10:00:51 2020 From: gabriel.pettier at gmail.com (Gabriel Pettier) Date: Tue, 17 Nov 2020 16:00:51 +0100 Subject: [Mobile-sig] Article about Python's popularity In-Reply-To: <2908328.W8rQF8YPal@aurora> References: <2908328.W8rQF8YPal@aurora> Message-ID: As a Kivy core dev, and frequently doing support in chat.kivy.org (discord) i would say yes, in part, a lot of users come to kivy because they know some python and are curious about how to build apps on android. But we would certainly benefit from more visibility, as we are not great at communicating about our existence and what people build with kivy, so my impression is that a lot of python devs just don?t know it?s a possibility. Le lun. 16 nov. 2020 ? 11:13, David Boddie a ?crit : > From The Register, talking about Python being everywhere: > > "And it is, unless you count mobile devices, a rather significant market > these days. Python has yet to have much of an impact on the client side of > mobile app development, despite mobile app frameworks like Kivy." > > https://www.theregister.com/2020/11/12/python_swallows_java_to_become/ > > Is Kivy not benefiting from the popularity of Python in general? > > David > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacob at blindza.co.za Wed Nov 18 01:07:32 2020 From: jacob at blindza.co.za (jacob kruger) Date: Wed, 18 Nov 2020 08:07:32 +0200 Subject: [Mobile-sig] opensource.com article about Python on Android In-Reply-To: References: <968bf6a4-9821-91cd-bfe9-bb32b7e2683d@blindza.co.za> <2234391.VoQAjYer4a@aurora> <20201114094044.qfn5f2nvaeniuvs3@gryphon> <255d3e83-62dd-ce48-95fc-3e60e5126e33@blindza.co.za> <431e0b27-3c67-1084-b9d0-80b85610e47f@blindza.co.za> Message-ID: <1f293adf-d5c5-2bb3-bde3-5918acc70912@blindza.co.za> Ok, I might check that out, but, yes, if the resulting interface doesn't currently provide forms of accessibility interaction in the end result, I wouldn't be able to take it too far. On that note, there's recently been a new screen reader for the android platform that's not based on talkback's open-source image, like samsung's voice assist, and works via a slightly different approach, including allowing forms of real-time on-screen OCR, and, it has two names - commentary and/or Jieshuo, which is a chinese name, and, partly since it's being developed by a chinese developer, it's not available via playstore, but anyway. Stay well Jacob Kruger +2782 413 4791 Skype: BlindZA "...resistance is futile...but, acceptance is versatile..." On 2020-11-17 04:15 PM, Gabriel Pettier wrote: > Thanks for sharing your feedback about kivy, though i would like to > clarify that sounds like misconceptions to me. > - Kivy is not based on tkinter, and doesn?t use it, it implements its > own widgets, based on opengl, you might be thinking about pygame, that > we used as a provider years ago, but these days we are not dependent > on it at all, and use SDL directly. > - Kivy doesn?t use a graphical designer, you might be thinking of > things like Glade (for gtk) or QTDesigner (for qt), while some users > have been asking for such a designer, there is no effort to develop > one currently, and we do encourage people to learn kvlang, which is a > yaml-like declarative language to create your UI, you can also use > python directly, but using that dsl does simplify a lot of things. > - Regarding accessibility, i?ll concede that?s a downside on kivy?s > side, we don?t have any integration allowing screen reader to work > with the app, we do have some ideas about how to solve that, there has > been discussions for example in issue 5836 > [1] but as far as i?m aware, > nobody is currently working on that, i agree this is a shame, but it > does require a core dev to have both the time (and we are short on > that) and access to users of these software, the former is certainly > more of a blocker than the latter. > > [1] https://github.com/kivy/kivy/issues/5836 > > Le?mar. 17 nov. 2020 ??12:47, jacob kruger > a ?crit?: > > I am referring to the fact that toga's layout literally stems from > layout-by-code - add a container to the main window via code, add > elements to it, etc. etc. - no graphical design required as such. > > > As in, while have worked using a similar process in the past, > making use of wxPython, the ones that might require me to have > done graphical layout design, using forms of drag-and-drop would > be a no-go from my side. > > > Stay well > > > Jacob Kruger > +2782 413 4791 > Skype: BlindZA > "...resistance is futile...but, acceptance is versatile..." > On 2020-11-16 06:36 PM, Matthew Einhorn wrote: >> On Mon, Nov 16, 2020 at 4:46 AM jacob kruger > > wrote: >> >> Hi there >> >> >> Will just mention that while haven't tried out kivy for quite >> a while, if, as I think, it uses tkinter, then it would be a >> no-go from my side. >> >> >> Hmm no it doesn't use tkinter in any way!? >> >> And, FWIW, that's since I am myself a 100% blind software >> developer, and, certain forms of GUI modules don't cooperate >> too well with assisstive technology such as screenreaders. >> >> >> This is also where the command line interaction with beeware >> and it's briefcase suit me nicely, as well as where the toga >> layout-by-code also suits me in terms of the development >> process, and, the first thing I made sure of was that the >> generated android app was accessible while working with the >> android talkback screen reading software. >> >> >> I'm not sure what you mean by command line/layout-by-code. Do you >> mean it's not a WYSIWYG? I don't think any of the python GUI >> packages I'm aware of (e.g. kivy, qt etc.) are WYSIWYG as they >> all rely on layouts to place widgets. But yeah, Kivy's built-in >> widgets do not have an accessibility API so I don't think the >> generated apks are accessible in that way AFAIK. >> >> Matt >> > _______________________________________________ > Mobile-sig mailing list > Mobile-sig at python.org > https://mail.python.org/mailman/listinfo/mobile-sig > -------------- next part -------------- An HTML attachment was scrubbed... URL: