|Android and EGL
Creating mobile applications in EGL and giving them full access to Android mobile device features is easier than you might imagine. Dan has written a sample application and an article to show you how to bridge the narrow gap between Android and EGL. Dan’s article was published by IBM Systems Magazine as “Two Peas in a Pod: Android and EGL” (May, 2014).
From the article: “I’m going to show you how to accomplish seamless interactivity between a native Android application and an EGL Rich UI application. Why would you want to do such a thing? To take full advantage of the underlying capabilities of the Android platform (GPS location services, camera(s), audio recording, voice-to-text, barcode scanning, etc.) while being able to develop the bulk of your application in the business-friendly EGL programming language.”
Click here to read the magazine article.
Click here to download a sample project for EGL (Rational Business Developer Release 9.x).
Click here to download a sample project for Android Development Tools.
XMLService and EGL
Written by Dan and published in IBM Systems Magazine as “EGL and XMLService: Hand, Meet Glove” (February, 2012). This utility brings IBM i program calls to EGL Development Tools (EDT) by way of the open-source XMLService project.
From the article: “Support for XML-based services is built into EGL and, after installing XMLService, I had an example running using an EGL program to call an RPG program in just a couple minutes.”
Click here to read the magazine article.
Click here to download a sample project for EGL Development Tools (EDT).
PGP for IBM i
Written by Dan and published in iPro Developer Magazine as “Pretty Simple, Pretty Good Privacy” (November, 2007). This utility brings PGP encryption and decryption to the IBM i with an easy to use command-line interface.
Click here to read the magazine article and download the software.
Click here to download a software update adding signature handling to the utility.
(Illustration of rotors in an Enigma Machine created by Wapcaplet in Blender.)
Amaze Me (click here)
A fan of mazes from childhood, Dan wrote this game as a way to experiment with capabilities of the HTML 5 markup language that add better graphics capabilities to web applications. Dan integrated HTML 5 Canvas (2D drawing) support with the highly extensible EGL programming language.
Known compatible browsers/versions: Google Chrome (version 21+), Mozilla Firefox (version 14+), Apple Safari (version 6+).
Classic Klondike Solitaire (click here)
Translations: Español, Français, Deutsch, Português, Русский
Multiple online gaming sites have licensed the Java version of Dan’s Classic Klondike Solitaire game. The ease with which the game is customized suited their site branding and gameplay option needs well.
Dan has released this Web 2.0 version of Classic Klondike Solitaire as an open-source project and has placed it in the public domain. The applicable SourceForge project, including full EGL source code, is available here.
Conway’s Life (click here)
This is an implementation of the famous “Game of Life” (a.k.a. “Conway’s Life”). Dan wrote this version of the game using the EGL programming language and a set of open-source tools called EDT (EGL Development Tools).
Game features include:
- Set your own cell conditions (click on a cell to set or clear it).
- Choose from one of the well-known Life patterns.
- Choose from a variety of board sizes, cell shapes, and speed options.
- Color changes help identify cell longevity.
- Additional options include a step mode, wrap/no-wrap borders, and automatic creation of completely random games.
Dan has released this game as an open-source project. The applicable SourceForge project, including full EGL source code, is available here.
Mandelbrot Fractal Generator (click here)
Originally written by Dan and a colleague in the C programming language, Dan has updated their Mandelbrot Fractal Generator using IBM’s EGL programming language.
For the best experience you should use the Google Chrome, Apple Safari, or Mozilla Firefox browsers to run the Mandelbrot Fractal Generator.
Originally written (circa 1993) to play with random number generation in the RPG programming language, the Kafka’s Diaries application later saw translation into a Windows screen saver written in C. In its latest incarnation, diary entries are served up from a simple application written for the web using open-source EGL Development Tools (EDT).
Franz Kafka (1883-1924) was the author of several influential German-language novels and short stories (e.g. “Metamorphosis”). Through Kafka’s diaries we discover the life that informed his work. A collection of sixty hand-picked diary excerpts are used as the basis for this application.
(Beetle image derived from a photo by Udo Schmidt from Deutschland [CC-BY-SA-2.0], via Wikimedia Commons)