There may be times you have a simple choice or listing in a GTK list box – for this example, in choosing a serial connection or other device. Glade is a good way to build an application window easily with an interface to build in to your app on Linux desktop, Ubuntu or Librem phone or other Linux based phones. I was able to use this to create a Winlink user interface for the previous tutorial to call up the Pat interface.Continue reading “GTK Choice box with Glade and Python”
While many apps do run on Librem 5 phone, there are many yet to be fully working on the small screen. In this post we explore the various calculator apps for Linux and see which might best work as a student/engineer’s go-to calculator:Continue reading “In search of the best scientific calculator for Librem Phone/Pinephone”
As you may have noticed, the repeater-START app doesn’t currently have an option to change that internal km/mile calculation. It also does not have any option to filter the repeaters of VHF, UHF or your preferred band.
Let’s see how to add a new dialog, then store the options, and load them on your program’s start:Continue reading “Building a Linux app part 8: Adding an options screen”
During lockdown in many cities it may be a good time to stay in and do some reading or video games. But what are some good games that can improve your mind during these challenging times? Here are a few suggestions:Continue reading “Brain games”
The Repeater-START app now includes repeaters imported from the New England Repeater Directory. This makes the app and repeater listing much more useful to those in Massachusetts, Connecticut, Vermont, Rhode Island, New Hampshire and Maine! This expands the repeater-START app and any other applications needing an offline, fairly complete listing of amateur radio repeaters worldwide.Continue reading “New England Repeaters added to Hearham.live Repeater Listing and Repeater-START”
There’s a big difference between having that quick python script set up with a GUI, and having a full desktop or mobile app ready to click install. In this post I’ll show the steps to build a Python script into an installable application.Continue reading “Building a Linux App part 7: Building an Installer File”
With the number of cheap RTLSDR devices that let you listen to radio or ham radio, it’s only natural to want to check out each of the repeaters and their use when you go to a new area. In fact, once you have a device set up correctly it is easy to integrate that (or any other command line features) into your project.
To start with I set up a class based on what I added for Hearham uploader – this will make the command run in a separate thread, continuing the process until it is killed. An ongoing process must not be on the same thread as the GUI (in any interface, Java, Android, or GTK…) This is going to use subprocess module as it can make it easier to use an existing utility (rlt_fm command in this case), rather than doing the whole signal processing in Python.Continue reading “Building a repeater app for Linux, part 5: Subprocess for listening to the radio”
Another important part of many mobile apps is location tracking – there is, fortunately, there is a built in api for most Linux systems called Geoclue that should work… There is even a Python-geoclue package, but after some digging I found that this package does not work in Python3. In fact it’s hard to find examples or documentation, if you look at the files of the package you can see there are some basic docs:Continue reading “Building a mobile app for Linux, part 4: GPS/mobile tracking”
With a working Linux application, it’s time to test it out on a real (well, virtual) device. Starting up the emulator for debugging in the same way as before, to debug this project I ran:Continue reading “Building an amateur radio app for Librem Phone, part 3: Responsive on small screens”
In the previous post I showed how to add some icons to an application showing OpenStreetMap, with Python and GTK+. Next, I’ll show how to make a listing of nearest repeaters to selected area. The listing of all repeaters is in the local array, and since there is a .distance(lat,lon) that gives the distance to a point, the list of repeaters can be sorted by closest to a certain point that is selected – in the on_button_release function. The Python Gtk guide shows an example that can be integrated in to the code to add a Listbox. The listbox should be “self.listbox” so various functions can access and change it. Below the other widget/control code, this must be added, within a gtkScrollWindow or adding many items will expand the window awkwardly:Continue reading “Building an amateur radio app for Linux, part 2”