Android Interface/OpenGL ES GUI

From Free Pascal wiki
Revision as of 23:15, 5 January 2015 by Jwdietrich (talk | contribs) (Platform template updated.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Android robot.svg

This article applies to Android only.

See also: Multiplatform Programming Guide

Go back to Android Interface

In this solution nothing of the drawing will pass through the Java helper applications, instead everything will be based on OpenGL ES and on the Lazarus Custom Drawn Controls, as explained in the image below. A generic Java application will be created to launch the LCL application and to expose indispensable parts of the Java Android API to the LCL and both will communicate using pipes. The Lazarus user application will be built as a linux-arm executable and be attached to the generic Java encapsulating application. The encapsulating Java program shouldn't need to be changed by Lazarus users, and no knowledge of Java will be necessary to develop Lazarus applications for Android. Of course Java knowledge will be necessary to implement the auxiliary Java application.

Android LCL Architecture.png