Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android NDK development

Im planing on staring to develop games for android but im not sure where i should begin. I have done a lot of work whit C++ and OpenGL and i would prefer continuing to work in c++ even on android. Watching the google i/o 2011 about the NDK and c/c++ programming i got the feeling that it could be done relatively easy. But i keep reading articles about how difficult it would be and that if i dont have a relay good reason i should stick to the sdk, but im not sure if this is old information and not relevant.

Should i use the ndk just because i like c++ more then java or should i just start whit the sdk?

like image 878
Borgel Avatar asked Nov 05 '22 02:11

Borgel


1 Answers

The NDK only provides a subset of what the SDK provides. It's of course more cumbersome and harder to debug. The reason it's there is because you get closer to bare-bones performance and that matters for games and in particular 3D.

So if you need 100% power or you're porting a game engine written in C++, consider the NDK If not, stick with the SDK

like image 134
Philippe Girolami Avatar answered Nov 09 '22 04:11

Philippe Girolami