first pass Marmalade wrapper for Android