For #JustCode week 11, I’ve finished a project I’ve been working on for several months. This project is a simple app that you can use to write and run your own scripts using Xojo code on the Raspberry Pi. I call it Xojo Dojo.
Category: Raspberry Pi
Posts related to Raspberry Pi development.
Starting with Xojo 2018r1, your Xojo apps require the libunwind8 library to be installed on your Raspberry Pi. Here’s how to update your Pi.
In honor of Pi Day 2018, Xojo Pi licenses will be free! Xojo Pi licenses allow you to build console apps for Linux ARM for use with Raspberry Pi 2 and Raspberry Pi 3.
With the release of Xojo 2017 Release 2 we have updated our Linux Desktop framework to use GTK+ 3 instead of GTK+ 2. For those not familiar with Linux, GTK+ is a User Interface (i.e. UI) toolkit, much like Cocoa is for macOS and Win32 controls (or WinForms.NET or WPF) is for Windows. GTK+ 2 has been supplying the user interface for Xojo Desktop apps for Linux since we first targeted Linux over a decade ago. It has since been deprecated in favor of GTK+ 3 for quite some time now and GTK+ 2 is typically not installed by default on most Linux distros these days, which makes deploying Xojo Desktop apps on Linux more painful. Unfortunately GTK+ 3 is not ABI compatible with GTK+ 2 so we could not migrate to using GTK+ 3 without completely ditching GTK+ 2.
Let’s take a closer look at what this means for your Linux apps:
For XDC 2016 I needed a way to demonstrate a Raspberry Pi app that used the GPIO and updated an LCD character display. But I didn’t really have access to a screen that I could use to show the desktop so that I could run the app. And I could not remotely connect to the Pi because I did not have a good way to get it on the wifi network in the first place.
Here’s how you can create a simple music player app for your Raspberry Pi that can play mp3 and aac (m4a) files from a folder.
Just in time for Xojo 2017 Release 1 and its Remote Debugger for the Raspberry Pi, we released a new book “Programming the Raspberry Pi with Xojo”. The book contains 19 chapters that introduce you to the Raspberry Pi, takes you through setting it up, and covers learning about Xojo programming for the Pi. The book includes 8 step-by-step projects for creating a variety of Xojo apps for the Raspberry Pi, including: a text adventure, a music player, a game, Internet access, a web app, plus hardware projects.
Using the Remote Debugger means that you can run Xojo apps on the Pi for testing and development without have to first purchase a Xojo license.
Xojo is a superb choice for developing and deploying apps for Raspberry Pi. After all, Xojo not only simplifies making the User Interface of your apps via drag and drop, it’s an object-oriented and event oriented programming language that builds native Linux apps based on the ARM processor architecture for the Raspberry Pi (among other platforms).