True, you can go through a JNI wrapper to jump back into Java, but I wonder then, if you're writing your app mostly in C++, how does that fit the goal of the original post..
kris On Tue, Oct 16, 2012 at 6:34 PM, Latimerius <[email protected]> wrote: > On Wed, Oct 17, 2012 at 12:12 AM, Bob S <[email protected]> wrote: >>> (for the Android side, ever heard of NDK?). >> >> >> Yes, that is my question! Did you read my original post? NDK would seem to >> be what I want, yet there are all these disclaimers when you download it >> that warn you away from it. They pretty much say "you do not want to use >> this", and I am asking why, or is there an alternative where C/C++ is >> concerned? > > Unfortunately I can't speak from much first-hand experience about the > NDK. Google seems to have a bit of a split personality about it. > They don't want you to use it because curiously enough, they chose > Java as the systems language and it seems they would be happiest if > only everything could be written in Java. On the other hand, they are > smart enough to know it's not the case and to realise it's a good idea > to offer something to leverage existing code and to get better > performance. Most of their actual warnings are fair though, the NDK > in the hands of an inexperienced programmer does have a potential for > abuse. > > I haven't done a real-world NDK-based project but I wouldn't be afraid > at all to start one at this point. STL and most of the standard > library is available (even Boost is reported to be no problem), > language features should be as well. You have to be prepared to > access a lot (most?) of the Android platform APIs through JNI which > might be annoying but definitely doable. I would expect to run into a > build system quirk or two or something like that if you try to do more > exotic stuff but that should be it. > > YMMV though. > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

