It says on the web page of the compiler they used (The Glasgow Haskell Compiler) that it can generate C code as an intermediary step, which should make porting the game to OUYA a lot easier (using NDK). You'd still probably need to fight with the Op…
This probably won't help you with the Bluetooth problem, but..
Seems that HeadsetProfile class in Android 4.1.2 is missing nullptr checks in pretty much every method. That's been fixed in 4.2. Maybe one day there'll be a firmware update to 4.2 to ad…