Ok, I know there's lots of tutorials about Android NDK on the net, but I've yet to find ONE that works. I allways run into problems which I cannot find any working solution to - usually when trying to run javah to create the header file.
So, does anyone have a link to a tutorial on how to create a simple test project where you create a c header and source file, call native code from the main activity (or any other java class), which you KNOW works and doesn't contain important outdated info? And then be able to help me a bit when (not if) I run into problems, and the instructions simply won't work?
It can be one of those which I've tried and couldn't get to work, as long as someone can help me find what I'm doing wrong. I usually copy everthing from the examples, including file locations, package names etc., but I've yet to get it to work.