For calling functions in native code on Android, what I need?¿

Previous topic - Next topic

mentalthink

Hi I´ve got this question, becuase I like to know how calling native code in Android from GLBasic

It´s possible call to java?¿... or It´s better and easier make the funtions whit the JNK in C++, someone can give an little push, to show me the light?¿  :nw: :nw:

Kinds Regards,
Iván J.

Kitty Hello

what are you trying to achieve?
You can inline C++ code. You can also call Java (with some overhead).

mentalthink

Hi Gernnot, in this momment it´s only for curiosity I know how made it, because I like, in examample use the camera or use somo code more complex, like in iPhone, but I stay I little confuse who make this, I read something about call Java from C++, but my knowledeges aren´t enough for make this task success, and how I don´t look nothing in the forum speaking about this, if anybody can put some simple example, I think can be very usefull, like on iphone, after everyone have to do the homework.

Thanks,
Iván J,

Moebius

This looks like it could be useful, if anyone can figure out how to use it:
http://code.google.com/p/android-cpp-sdk/
For accessing the Android SDK through C++...
Endless Loop: n., see Loop, Endless.
Loop, Endless: n., see Endless Loop.
- Random Shack Data Processing Dictionary

mentalthink

Thanks serpetn, I will took a look.

Thanks again.
:nw: :nw: