Haxe NME PureData Android Example
Monday, May 07th, 2012 | Author: dehash
Found no examples online of using Haxe + PureData together so far so I wrote a proof of concept for Android using PDCore from libpd pd-for-android to generate some noise on a droid. Open the FlashDevelop project and press Ctrl-Enter with your Android phone connected then drag the red dot around on screen.
You can download the Haxe and Java source code and FlashDevelop project from here HaxePureDataProofOfConcept.zip
It uses Haxe NME 3 and Haxe 2.09 and compiles on Win7 64bit and the apk runs on armv6 CM7 Android 2.3 so hope it works on other systems. May not be the best way to do it (could be made a NMEX for example) and probably not bug free but it makes a start and shows them working together. Will write up a more detailed description some time but the source code is there.
Some of the Haxe/Android/PureData links I have found useful are below:
Haxe NME
Getting Started
Haxe Google Groups
Creating an NME Extension
Android NME+Java
@ gigglingcorpse – lots of useful blog posts
PureData Example
Android Monkey testing – $ adb shell monkey -p your.package.name -v 500
FindBugs & PMD Java tools for Eclipse
color for logcat
FlashDevelop
Category: Code Examples, Flash, Haxe, Mobile | Comments off


