Hi Amila,
Not directly possible with the API covered by the NDK. But if you link to certain portions of the OS, then you will have direct access to the camera (not the driver but the wrapper layer), and this is not officially supported at the moment. The API (look for Camera.h) is very similar to the Java equivalent, but you may get a better frame rate. The major issue is that you will need to have multiple libraries for different version of the Android OS, and things may stop working at any time in the future after an OS update, so it will require lots of maintenance for your application. So it purely depends on what you would like to accomplish with the camera. Most of the Video communication applications on Android is currently doing that direct access.
Regards,
-onur
---
www.zdo.com