8 ms·
It's quite fascinating to read about mobile crossplatform projects beyond React Native/Flutter/Xamarin and the old Cordova/PhoneGap and Appcelerator Titanium ef
by Apocryphon 6y ago
It's quite fascinating to read about mobile crossplatform projects beyond React Native/Flutter/Xamarin and the old Cordova/PhoneGap and Appcelerator Titanium efforts. There's a surprising amount of them out there- Kivy isn't even the only one in Python, there's also Beeware (https://www.youtube.com/watch?v=qaPzlIJ57dk https://www.youtube.com/watch?v=qaPzlIJ57dk) and PyMob.
The question is, who actually uses these projects? The people developing them? Hobbyists? Language diehards? If you're a large company that just needs LOB apps, one would assume one of the aforementioned projects (or Delphi) would be sufficient. Who uses NativeScript, Ionic, QT on mobile, or obscure stuff like Sencha, Alibaba's Weex or Codename One?
RubyMotion at least has one famous app:
http://www.rubymotion.com/news/2014/04/08/rubymotion-success-story-a-dark-room.html http://www.rubymotion.com/news/2014/04/08/rubymotion-success...
- tmpz22 6y agoGreat UI has diminishing returns that, for most orgs, are not worth the talent and effort it takes to create them. For that reason investment in these frameworks, or new frameworks at all, is discouraged. Web based approaches have completely supplanted native || crossplatform frameworks because its good enough and established enough to diminish the many development liabilities that other frameworks pose.
- mzakharo1 6y agoNot everyone is trying to display a widget, with data from a remote database. If you work with local/edge data, then having access to numpy/pandas/scikit-learn/pytorch can be quite handy
- Apocryphon 6y agoBut the point of cross-platform frameworks is for non-tech or non-mobile focused companies to quickly churn out LOB apps with whatever developers they have on hand. (There was even one for PHP - KikApp - which appears to be dead.) So in theory, ignoring great UI/UX in favor of quick development time would drive investment in and adoption of some of these frameworks. Your point on web based approaches also doesn't seem to match reality yet as PWA are still the once and future destiny of mobile apps, much like \(currentYear) is the year of Linux on the desktop. afaik, it would seem like most mobile apps are still primarily native, and if crossplatform, possibly React Native or Xamarin, with some older ones using Cordova/PhoneGap/Titanium. Web based approaches are far from replacing native and cross-platform; most companies that support mobile web also have their own apps.
- inclemnet 6y ago> The question is, who actually uses these projects? The people developing them? Hobbyists? Language diehards? This is an interesting question, and one that (as Kivy developers) we wonder about ourselves. Others may have different perspectives, but mine is: * Kivy is very much community built and community driven, it has no serious financial backing (though we are grateful for the donations we do get!) and a fairly small developer pool. * Most of the commercial use of Kivy that I'm aware of is small companies using it for specific reasons that happen to make sense for them, usually involving some technical reason such as the combination of Python and a flexible drawing toolkit fitting both their dev interests and product requirements. I don't think there is a lot of commercial use, but e.g. one of the Kivy founders has been using Kivy commercially for many years in a variety of interesting projects. * Kivy is not mobile-only or even mobile-focused, and the commercial usage reflects that. This is worth noting because people often think it was invented for mobile: it wasn't, it was invented to be very flexible, and this happened to make it mobile-ready. * Most use of Kivy is probably from Python hobbyists, and may well be more weighted towards mobile since that's the most obvious standout feature as a Python gui toolkit (although not the only one). I've been involved with Kivy for a long time, but never commercially - I got into it for fun while looking to make an app and strugging with an android development tutorial (turns out the instructions were just wrong for Linux...), and stayed with it for also fun. I'm most interested in the general principle that app development ought to be simple and easy for a wide range of tasks, and that in pursuit of this goal it does not have to be perfect. I like the idea that e.g. someone who has programmed a simple game or visualisation should be able to easily share it with their friends, on any platform including mobile. This is just my perspective of course, others do use it for other things. I have a couple of my own apps that I think emphasise this perspective. Lazy Baduk (https://play.google.com/store/apps/details?id=net.inclem.lazybaduk https://play.google.com/store/apps/details?id=net.inclem.laz...) is a Go analysis tool that bundles a superhuman AI: I threw it together in a weekend using some existing Python code I had lying around, because there was no Android app currently supporting the functionality I wanted. If I couldn't do that with Python, the app simply wouldn't exist. ColourBlind (https://play.google.com/store/apps/details?id=net.inclem.colourblind https://play.google.com/store/apps/details?id=net.inclem.col...) runs the camera feed through a basic colour blindness simulation filter, I made this one just because I wanted to see what it was like and all the existing apps I could find were rubbish (in my opinion!). Even with the limitations of Python, I like mine much better than them.
- cmrdsprklpny 6y agoI'm a hobbyist and I've been looking into these kinds of projects for a while. From my (limited) experience, the easiest way to go for a lot of cases is just to use a cross-platform game engine's UI capabilities, but there's some other interesting not-well-known stuff like HaxeUI and LambdaNative.
- Apocryphon 6y ago> use a cross-platform game engine's UI capabilities Have you seen any examples, either production apps or tutorials doing so? Ironically, I've considered building a heavily menu-driven game in Flutter rather than using Unity, and seen an example of such: https://www.reddit.com/r/FlutterDev/comments/iit6cf/i_made_an_rpg_game_using_flutter/ https://www.reddit.com/r/FlutterDev/comments/iit6cf/i_made_a...
- cmrdsprklpny 6y agoI have an app, metro.drone [1], on the App and Google Play stores that I created with LÖVE2D. While I haven’t seen many other examples, I’ve seen a lot more cross-platform game engines than UI-explicit engines, many of which have (at least limited) GUI capability. I’m relatively new to programming so part of what attracted me to LÖVE2D instead of something else was the simplicity and modularity; LÖVE2D-compatible packages existed for exactly what I needed with metro.drone. I’ve come to the broad conclusion that it’s more about choosing the right ecosystem for a project than the right ui toolkit; I was originally going to use Elm but it didn’t have a good synth library. I should again recap that I’m a novice programmer, so this should be considered more a description of my thought process than advice. :) [1]: http://dmitrivolkov.com/projects/metro.drone http://dmitrivolkov.com/projects/metro.drone
- hardwaresofton 6y agoNativescript is fantastic -- I maintain that it's better than React Native because React Native lacks a native JS->platform translation layer and React-land is crazy sauce, and can't really be compared with Flutter (because of how Flutter works), but I still think it's better there even because I'd pick Typescript over Dart, and I don't have to commit so hard to the ecosystem. I've used Nativescript in production and it was wonderfully productive. I think it's biggest weak point is suffering from lack of recent support/ecosystem that hype usually brings. The ability to use your frontend framework of choice (Angular, Vue, Svelte, Vanilla JS) is awesome, and I think can be incredibly productive for businesses (turn your frontend devs into mobile devs).
- Apocryphon 6y agoProgress is no Facebook/Google/Microsoft, but it's good that there's someone actively working on the framework. Shame they haven't tried to market NativeScript as an alternative to React Native. At least it's better known that other random enterprise cross-platform solutions that seem to exist only on SEO-optimized listicles of cross-platform solutions such as Codename One, RhoMobile, Kony, Framework7, - e.g. https://www.way2smile.ae/blog/cross-platform-mobile-app-development-tools-2021/ https://www.way2smile.ae/blog/cross-platform-mobile-app-deve... (Again, what companies are actually building apps with these things?)
- FreezerburnV 6y agoHm, CodenameOne is actually something I was planning on making use of at some point in the future. I’m (solo) working on a Swing app that I want to bring to mobile, so it seemed like a good fit to convert to it or write a branch that used it. Is it actually a dumpster fire to be wary of?
- Apocryphon 6y agoNot that I know of, it just seems like one of those frameworks that exists and there is some online chatter mentioning it but I have no idea who actually uses it. If it turns out to be good you should let people about it!
- craftinator 6y agoI've been using Kivy for internal business programs for 2 years. There are some quirks and limitations, but IMO no more than you get with any other mobile stack. The big differences are that it bundles python packages with it, meaning you have access to hundreds of thousands of libraries via pip, and the design and iteration time are ridiculously low. The downsides of Kivy are also the downsides of python; there is almost no design enforcement, no typing; if you want to do something stupid and dangerous, you're free to do so with no warnings, and you may not know it's stupid and dangerous. These are usually made up for by the large amount of time you'll have for testing, since you won't spend all the time you normally would fighting the IDE, toolchain, compiler, etc. The part I like most about Kivy is that it's cross platform, android, ios, windows, Linux, mac, with almost no changes other than OS semantics like paths. I've built 5 large projects this year with it, mostly for custom CNC and motion control applications.
- spinningD20 6y agoEver since I discovered Kivy in 2013, it has had a special place in my heart, and because I know my way around it, I've used it for many smaller projects, and one non-trivial game project WIP: https://www.youtube.com/watch?v=m06AH7MN0i4 https://www.youtube.com/watch?v=m06AH7MN0i4 Graphically, my game is mostly straight-forward, but being a strategy game, the complexity is behind the curtains in the AI, pathfinding and other game mechanics. I am very thankful to continue using my mastery of Python in this endeavor, and even though it doesn't provide game development conveniences out of the box (so it took time to get started, compared to say, Godot), it allowed me to utilize - and build on - my experience in the language. Doing this allows me to control the learning curve, especially when it comes to learning about OpenGL, and how graphics work underneath in general. Don't get me wrong, depending on what you're looking to do, Kivy can have a stronger learning curve in itself, especially if you're doing this sort of thing for the first time (app development, specifically, but of course game development too). It took me until around 2016 - after playing with Kivy on and off - to become completely comfortable with all of its concepts. Aside from learning to profile and troubleshoot some graphics performance issues (largely my own fault, in my implementation), Kivy has been reliable and, like a well-designed door, I rarely consciously note that I am using it! Outside of games, as I mentioned, I have also used Kivy for internal tools professionally. One was for (visually, analog curves) creating simulated plastic injection molding sensor signals, in order to create and provide data sets for QA Automation. The other was for a specialized AV company's (internal) usage as a job/bid/information management app. Another project required the ability to flip, pan and zoom images for a 3d mirror viewer hardware set. And, here in 2020 I used it to train non-automation non-coding QA personnel into making their own mobile apps, learn about event handling, and to get a glimpse into what a developer might be considering or thinking as they build software. I've always been bewildered at why Kivy doesn't (seem to) garner more public attention. For what it aims to provide, it hits the mark quite well. I enjoy using Python the most, so I prefer to use it for most of my work, personal and professional. In that way, Kivy has allowed me to progress towards mastery of Python, without having to spend that effort on other tech stacks. (Having said that, I have experience outside of Python, just to be clear, it's not out of necessity.) As others I'm sure, I have a life outside of my job and side game project, so I have intentionally chosen what to invest my time in learning. This turned into a bit of a ramble. Anyway. For me, it's a great fit, and I'm thankful that it exists, and people continue to build and refine it. I get to keep writing Python, and use it in more ways and places because Kivy exists.
- epse 6y agoKivy has been around for a surprisingly long time and has been fairly widely used in industrial software. I used to work for a company that made kivy-based automation software.
- ako 6y agoI use it for a hobby project: a weather station running on raspberry pi and touch screen. Allows me to write it in python, and display charts and metrics without running the entire X11 stack. Seemed like the simplest and most productive stack to build something like this. Has good support for postgres to get the data efficiently, charting and touch input.
- hanselot 6y agoI've used Kivy to build a dead-simple wifi file-uploader for our site-agents at a previous company. All it did was upload all pictures taken that day to our server with some metadata. It then purged all other pictures (as these were business phones etc etc) Worked fairly well, and was much less hassle than learning the inner workings of Android just for something so basic.
- bartvk 6y agoKivy is used in the embedded world, for example by the ECR-1 and GR-1 synthesizers: https://www.tastychips.nl/ https://www.tastychips.nl/
- didymospl 6y agoI'm not sure about the current state of affairs but a few years ago Ionic used to be a default choice for cross-platform apps among Angular devs. And Angular itself was probably more popular then React in corporate world back then.