3 ms·
> My guess is they are showing how easy it is to make an app on the PinePhone. True, that just isn't specific to Zig, which is why I was confused. It is neat t
by kop316 4y ago
> My guess is they are showing how easy it is to make an app on the PinePhone.
True, that just isn't specific to Zig, which is why I was confused. It is neat that building the GUI isn't too hard, building a GUI in C/GTK involved a lot of boilerplate and isn't easy to start.
For GTK: I just end up using this: https://gitlab.com/sadiq/my-gtemplate/ https://gitlab.com/sadiq/my-gtemplate/ As my start point.
> Not sure how useful it is to compile on the phone instead of doing a cross-compile on a “proper” dev box but I guess to just get up and running it works.
That depends. I tend to develop on the phone so I am aware of the screen size limitation, but you can emulate that. I also develop on the phone because the apps I make need access to the Modem (calls/SMS/MMS/VVM) for me test. I have thought about putting an EG-25 into my laptop to develop on my laptop, but that's been a low priority since using the Pinephone is easy enough.
> Makes me want a PinePhone because I have an idea or two and have no idea how to program a simple app for my iPhone. I’d probably just use C though because I gasp like programming in C/simple C++.
You should! The community is very friendly and helpful. All of the programs I developed are in C, so you aren't alone.
- rav3ndust 4y agoCan second this! The mobile Linux community is a very friendly and open space. I've been loving my Braveheart and PostmarketOS CE Pinephones, and am looking forward to picking up a PinePhone Pro to test and build with as soon as they're back in stock on Pine64 Store.