Posts

Showing posts from July, 2012

Apache Cordova (PhoneGap) + processing.js

The problem
I wanted to be able to create cross-platform mobile applications whilst not having to do it in Javascript.  I've never liked Javascript, I'm not really sure why, maybe I don't fully understand it.

The solution
I had a brainwave that I could create a functional Java application using Processing (that I have used a lot and, hopefully, will be contributing author to a book on the subject if it ever gets published), port it to processing.js and deploy that as an Apache Cordova (PhoneGap) based mobile application.  As a short explanation, Apache Cordova is a cross-platform framework for writing and deploying HTML5 apps to most mobile platforms.  Processing is a graphical Java-based library of which processing.js is the Javascript equivalent.  Using both processing.js and Cordova, I should be able to deploy a java-based application into a cross-platform framework and run it as javascript

The code
This is the easiest way to do it (there are other ways involving deployin…

PhoneGap + processing.js = big problems

This is less a 'code solution' than it is a code issue, in that I don't know how to fix it and abandoned the solution.  I will likely go back and attempt to resolve at some point, but for now I just want to tell you about what I'd wanted to create, what the issues were and how it caused my PhoneGap app to be labelled as "sucks!!!!"

As I previously blogged this solution, I figured I should also share these issues

The problemI wanted to be able to create cross-platform mobile applications whilst not having to do it in Javascript.  I've never liked Javascript, I'm not really sure why, maybe I don't fully understand it.

The solutionI had a brainwave that I could create a functional Java application usingProcessing (that I have used a lot and, hopefully, will be contributing author to a book on the subject if it ever gets published), port it toprocessing.jsand deploy that as an Apache Cordova (PhoneGap) based mobile application.  As a short explanation, A…