Preferred language for creating apps for PinePhone
#1
Hi all, I've ordered a BraveHeart and am looking forward to playing around with it.  I'd be interested in creating some simple apps for it and wanted to get people's opinions on what language people will probably use to create apps for the PinePhone.  Most of my programming is done in Python but I wonder if many people will consider Python to be too resource-intensive for a fairly small and low-spec machine like the PinePhone, perhaps going instead for something more minimalist like Lua or even C++ would be more appropriate.

What are people's thoughts on this?  If you are planning on creating apps for the PinePhone, what language would you likely use?  I know there will be the option to use different languages and that the most appropriate language will probably depend to an extent on the OS that is ultimately chosen, but I would like to hear if people think some languages are inherently better suited to the task than others.
#2
(11-17-2019, 12:51 PM)bunburya Wrote: Hi all, I've ordered a BraveHeart and am looking forward to playing around with it.  I'd be interested in creating some simple apps for it and wanted to get people's opinions on what language people will probably use to create apps for the PinePhone.  Most of my programming is done in Python but I wonder if many people will consider Python to be too resource-intensive for a fairly small and low-spec machine like the PinePhone, perhaps going instead for something more minimalist like Lua or even C++ would be more appropriate.


I've done a little bit of development for Ubuntu Touch using QML and Python. I'm told UT is the most advanced app wise.
#3
Since it is a linux phone I think that, when possible, the best thing would be to develop an application by decoupling the logic from the graphical interface.
For logic I think you can use your favorite language (but obviously the most portable is C) and for gui in the same way, but doing that way anyone could use the program as a library and write a different interface.

The benefit is that, over time, it is possible that better or more appropriate interfaces are developed and the logic remains the same and can be improved separately.
Obviously, this practice is not widely considered in closed operating systems because they are os-centric, but we'll have a better platform Smile
#4
I am planning to try to use C++ and QT/QML for some application development.

Once I get a build process sorted out I will plan to share a short how to. (If anyone has already done something along these lines I wouldn't complain about some resources). My current plan is to follow the Plasma Mobile development process and see what I can get running once I have a phone in hand.


Possibly Related Threads…
Thread Author Replies Views Last Post
  beep - playing PCM samples on PinePhone? WhiteHexagon 0 120 12-04-2025, 08:07 AM
Last Post: WhiteHexagon
Star Selling my Pinephone Pro Explorer Edition zheyon 2 2,934 12-01-2025, 10:25 AM
Last Post: Kevin Kofler
  PinePhone sensors - Gyroscope power WhiteHexagon 3 357 11-30-2025, 08:07 AM
Last Post: WhiteHexagon
  Light Sensor / Proximity Sensor on PinePhone? WhiteHexagon 1 349 11-18-2025, 03:07 PM
Last Post: WhiteHexagon
  Pinephone visibly losing power while plugged in Hiraghm 7 4,555 10-21-2025, 10:38 PM
Last Post: Anthona
  Pinephone boot. Richy_T 8 4,418 10-21-2025, 12:12 PM
Last Post: Richy_T
  How can I record video on a Pinephone? kk22 22 14,896 10-08-2025, 01:29 PM
Last Post: Kevin Kofler
  Does PinePhone support long-term battery health optimization? roseblack 5 1,285 10-06-2025, 09:05 PM
Last Post: Kevin Kofler
  iso pinephone for sale (USA) elwoodb25 0 3,820 09-24-2025, 09:25 PM
Last Post: elwoodb25
  Why projects like PinePhone matter – feedback and encouragement Gary2003 13 18,185 09-16-2025, 01:13 PM
Last Post: Gary2003

Forum Jump:


Users browsing this thread: 1 Guest(s)