Author Archives: synthegenicwp

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.
 

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.

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.

 

B2B software development project completed

A 6-month software development project for Cary, NC based Ascot Technologies was completed October 15, 2011. This was a client-server system running Java EE servlets on the server side and mobile compatible web applications on the client side. Here is a sample of the jQuery/jQTouch based client app running on an iPhone emulator:

Search page on iPhone

The web application runs in the native browser of the mobile device and looks like an iPhone app due to the use of jQTouch libraries. This image shows a portion of a search page that allows the user (usually a real estate agent) to set up a multiple parameter search within an MLS (Multiple Listing Service) database. Some of the search fields were designed with autocomplete functionality through Ajax routines, and some of those had interdependencies with other search fields.

This particular web app was designed to work on iPhone, iPad, Android devices and desktop systems. Browser compatibility was restricted to Firefox, Chrome and Safari, along with the native Android browser.

The client application also included the ability to map their location within the field of search returns using location services and either the Google or Mapquest mapping API. The application also included a gallery, built on one of the open source jQuery photo galleries that uses buffering – a welcome feature considering real-world data rates for 3G phones under less than ideal conditions.

It is an understatement to say trying to develop a single web application that runs on the devices listed here is difficult. In fact, half the battle is trying to decide on tradeoffs – what to give up so it works on everything.

In the end though, it was welcome income for my consulting operations and a great way to keep the old grey matter from completely turning to mush.