title: How to Request Android NDK Camera Permission from C++ code?
body: <p>I'm Writing the app in pure c++ and i have the code to open the camera.
  and set-up the AndroidManifest.xml as:</p>
  
  <pre><code>&lt;uses-permission android:name="android.permission.CAMERA"/&gt;
  &lt;uses-feature android:name="android.hardware.camera2" android:required="true" /&gt;
  </code></pre>
  
  <p>when running the app for the first time it does not provide the prompt to turn permission on. after the installation i have to do it manually by,
  Settings->Apps->"MyApp"->Permissions.</p>
  
  <p>How do I provide the prompt in c++, without introducing java code?
  All help is greatly Appreciated.</p>