Wang it was addressed when we submitted the examples. Android development prior to 2.3 or 3.0 needs a JNI/Java Dalvik frontend for the use of the Native C++ code. So basically fully native can only work with latest Android OS... wich are expensive and considering the invesment in our group to develop in Android (Currently we are developing with our own phones and tablets) well it's not something we could do. If you have the luck as having one of those... give it a try. It will be nice to have one example of Full Native.
But... even if you go for full native you will need the R file... the strings... manifest and all that xml gibberish that Android needs. So basically we will have the same problem to integrate the compiling with Cmake. And it woul'd not be advisable to quit those examples because not all the people will develop in 2.3/3.0 (5% of the actual Android share market while 70-80% is of devices 2.1-2.2 Current OSG target) So... in short words it is possible... it will be beautiful because we could use a version of the EGL front and all that thing that exists in OSG right now but... I don't have a device so (as i said when Robert and I talked about it...) If anyone has a device... have a try... because Full Native is the way to go for OSG it gives so much more control, it gives you the EGL context and a lot more of things that would be useful. And... I KNOW it's a pain in the ass... all that system... all the things that should work but don't work... and the slowlyness of the compiller over all things... but hey... It's cool when all goes well and you have a Happy Budha Model withouth any special treatment in your cheap tablet! ^^ 2011/7/19 Wang Rui <[email protected]> > I'm still a beginner of Android development so can't say more > about this topic. And I don't know if anybody has already discussed > about the methods on the links above and proved them to be unusable. > But if the solution is feasible, we may then have a more friendly > Android integration example for developers with some efforts. >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

