Should I never use native (C/C++) libraries for interacting with devices?
<p>Please read <a href="http://stackoverflow.com/questions/6491857/how-to-play-with-devices-like-accelerometer-and-camera-using-c-c">this</a> question for a bit of background of what I am trying to achieve. While looking on internet for the answer I found <a href="http://www.mail-archive.com/android-framework@googlegroups.com/msg00934.html" rel="nofollow">this</a> thread. In this thread a Google's employee says this about using native (C/C++) libraries for accessing camera</p>

<pre><code>You CANNOT do that. Please, understand that Native APIS ARE NOT PUBLIC
(sorry for shouting).
All these APIS may/will go away or change in ways that will make your
application *crash* in the near future.
We are not, and will not, try to maintain binary compatibility on native APIs.

You *can* use native code if you wish, but you ABSOLUTELY CANNOT call
into Android native APIs. That's a no-no. And you won't find help from
the Android team here about this subject.
</code></pre>

<p>My question: does this mean one should never try to deal with any devices like accelerometer, camera, compass, etc using native libraries in any case? </p>
