Android OpenGL cube

Android has a boiled-down API of the OpenGL standard so I spent some time to learn what this API was like by having myself create a small demo. I took the Android-SDK sample program, “Touch Rotate” and modified it to suit. Whereas the original demo uses vector shading to show a color cube, this one is actually fragment-shaded and therefore includes normal vectors for all fragments, as well as a more complete material set-up. Additionally, this cube is made entirely of tris instead of quads. The lighting was altered to include specular and diffuse as well as ambient.




Countries is an Android app that demonstrates a method of communicating with a MySQL backend database through a simple server-side php script and the Java URLConnection class within the Android app.

Download here: countries.apk

It’s written for SDK min version 8, but should work for anything higher.

In the MySQL database, there is a simple table of countries with populations and internet country codes. Once downloaded, the user can choose between Population data or country code data when the country name is tapped.

Privacy notice

Synthegenic stores information when you run the demo application, in order to monitor usage. This information includes host IP Address, HTTP Referrer and User_agent. Note that Synthegenic does not distribute this information to any other people or entities, or in any way make it available for use by third parties.