Category Archives: Demos

Demos Projects

Android App STLMobileView now available

A new Synthegenic-developed Android App STLMobileView is now available free from Google Play:
 
STLMobileView
 
This is a viewer for solids in STL (STereoLithographic) format that allows the user to choose perspective or orthographic view, choose to compute normals from triangles, recenter the object, change color, spin the object and zoom in and out.
 

Demos

Countries demo

 

Countries

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. The data can be just about anything. For example, instead of countries, it can be parts for assembling and installing an electrical system.
 

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.

Demos Projects

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.