Android project using java and C++ together
<p>Anybody have one example of a android project using a same time C++ and Java together, for example, one normal android project build on eclipse and in there add a cpp class and using this cpp class on java class...</p>

<p>say I have a class Foo on C++</p>

<pre><code>class Foo{
...
}
</code></pre>

<p>and I have a class MyActivity on Java</p>

<pre><code>public class MyActivity extends Activity{
...
}
</code></pre>

<p>how to i instance the Foo class on MyActivity class?...</p>

<p>thanks a lot for all.</p>
