Hi,
i created a full JNI wrapper for the native Box2D implementation (latest stable release). It's integrated with my Android game development lib called libgdx. You can find it at http://code.google.com/p/libgdx/. The only thing i haven't implemented yet is the raycasting APIs as well as pre-solve. Everything else is completely integrated and works pretty well, a lot better than the JBox2D. There's no garbage collection issues at all and the JNI call overhead is so minimal that i wouldn't give it a second thought. Another nice benefit is that it also works on the desktop (libgdx is actually cross platform, Win/MacOs/Linux/Android, albeit it only works on 32-bit VMs at the moment as i'm a lazy bastard and didn't compile for 64-bit yet). Oh, and the thing is Apache License 2 so you can basically do with it whatever you want, e.g. cut out all Box2D related code if you don't want to use libgdx 🙂.
You can find additional information on my blog a http://www.badlogicgames.com
Hope that helps some of you guys
Ciao,
Mario
i created a full JNI wrapper for the native Box2D implementation (latest stable release). It's integrated with my Android game development lib called libgdx. You can find it at http://code.google.com/p/libgdx/. The only thing i haven't implemented yet is the raycasting APIs as well as pre-solve. Everything else is completely integrated and works pretty well, a lot better than the JBox2D. There's no garbage collection issues at all and the JNI call overhead is so minimal that i wouldn't give it a second thought. Another nice benefit is that it also works on the desktop (libgdx is actually cross platform, Win/MacOs/Linux/Android, albeit it only works on 32-bit VMs at the moment as i'm a lazy bastard and didn't compile for 64-bit yet). Oh, and the thing is Apache License 2 so you can basically do with it whatever you want, e.g. cut out all Box2D related code if you don't want to use libgdx 🙂.
You can find additional information on my blog a http://www.badlogicgames.com
Hope that helps some of you guys
Ciao,
Mario