I have only been able to find solutions dated 2010 and earlier. So I wanted to see if there was a more up-to-date stance on this.
I\'d like to avoid using Java and pure
I actually found pretty elegant answer to the problem and blogged about it here.
The summary is:
My blog has a full write up and all the code you need to implement in pure C. I use this to build lua and libogg for Android.