Hacker News new | comments | show | ask | jobs | submit login

The Android jni documentation shows how to call C++ and is the only doc I have glanced through. If you stick to passing ints,doubles and strings through it it is really easy. For iOS is way simpler, since your wrapper is just a file that ends with ".mm". Google it. If there is enough interest I can create a small article describing the process and post a starter project on github.



> If there is enough interest I can create a small article describing the process and post a starter project on github.

I think you'd find a lot of interested for that. I'd appreciate it a lot.


If you're doing game development, check out cocos-2dx. It's a c++ port of the cocos2d-iphone framework. Here's some more info: http://www.cocos2d-x.org/projects/cocos2d-x/wiki




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: