Follow

Have you been thinking about making an app for the Librem 5 but didn't know where to start?

I wrote a tutorial blog post for getting started with designing apps for GNOME mobile (and desktop too).

blogs.gnome.org/tbernard/2019/

@tbernard The hardest part for me is what comes next: the implementation. Last time I tried, Glade didn't have support for building this kind of interface you are mocking up, which uses the most recent GNOME apps anatomy. I had to write some XML by hand even, which would then look bad when opened in Glade again...

And it is sad, because in GNOME's developer documentation they recommend using Glade to build the UI.

This is not the only problem I've found, though.

@tbernard from what I've been trying doing, it is way easier just to code the layout and not use glade a all :/ It feels a bit easier however requires rebuilding application every time you want to move button different place :)

@sirgazil @tbernard This will be fixed by Builder in a few releases. Builder 3.32 already integrates what Glade does.b

@bilelmoussaoui @tbernard Glad to hear that, thanks. I'll be getting familiar with Builder in the meantime then.

@gudenau @tbernard what do you mean? Designing apps depends entirely on the tooling you choose.

If you're talking about building apps, Java can be used do write GTK apps, by the bindings aren't really maintained and I can't think of a Java app for GNOME.

@brainblasted @tbernard Well Android uses a Java like language, was wondering about this. Guessing it is C(++) then?

@gudenau @brainblasted You can write GNOME apps in lots of languages, including C, Python, Javascript, Rust, and others.

@gudenau @brainblasted @tbernard as far as I followed it the Librem 5 is (non Android) fully Linux based with an up to date Kernel etc.

@masterofthetiger Definitely not, you can develop apps right now using the same tools you'd use to make a desktop GNOME app (such as GNOME Builder, flatpak, etc.).

@tbernard
Excellent post, and not just because of the GNOME/Librem context.

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!