Ah very cool. For my second iphone game I've been isolating my code in a similar way, mostly pure C++ code with just a bit of Obj-C where I have to have it. I did not know you could compile C++ code for andriod since there are many different cpu's (or so I assumed).
I guess for most beginner developers easier path to cross platform engine wise would be something like Unity, can do both iPhone and Android (and xbox 360 for that matter).