[android-developers] Re: JNI Call Bridge

2009-12-10 Thread bacchus
Hi fadden, Thank you very much for your answer. It cleared my thoughts on this subject. P.S. Sorry for the late reply but it took me some time to analyze your answer. Cheers, On Dec 2, 9:47 pm, fadden fad...@android.com wrote: On Dec 2, 4:06 am, bacchus aeternal.de...@gmail.com wrote: By

[android-developers] Re: JNI Call Bridge

2009-12-02 Thread bacchus
Hi Suchand, Somehow the table you wanted to present got deformated. Could you please provide me a web reference to it? Thanks in advance. Cheers On Dec 1, 5:15 am, Suchand Ghosh chand4andr...@gmail.com wrote: I think you r looking for: Mapping types The following table shows the mapping

[android-developers] Re: JNI Call Bridge

2009-12-02 Thread bacchus
Hi fadden, Sorry for not being clearer on my first post. I'm trying to understand better (through code reading) the startup process of Android. By startup, I mean to understand how the Android Runtime is setup and Dalvik is started. Throughout the code reading process I've found VMRuntime.

[android-developers] Re: JNI Call Bridge

2009-12-02 Thread fadden
On Dec 2, 4:06 am, bacchus aeternal.de...@gmail.com wrote: By startup, I mean to understand how the Android Runtime is setup and Dalvik is started. Throughout the code reading process I've found VMRuntime. VMRuntime doesn't have a whole lot to do with that. It just has some utility

[android-developers] Re: JNI Call Bridge

2009-12-01 Thread fadden
On Nov 30, 9:15 pm, Suchand Ghosh chand4andr...@gmail.com wrote: Here, these types are interchangeable. You can use jint where you normally use an int, and vice-versa, without any typecastinghttp://en.wikipedia.org/wiki/Typecastrequired. ...sometimes. On current Android systems, int and long

[android-developers] Re: JNI Call Bridge

2009-11-30 Thread fadden
On Nov 30, 9:08 am, bacchus aeternal.de...@gmail.com wrote: I'm looking for specific information about Android JNI Call Bridge. The one that exists does not suffices my needs. The JNI call bridge is a bit of code that converts an array of 32- bit values into C-style arguments. It takes into

Re: [android-developers] Re: JNI Call Bridge

2009-11-30 Thread Suchand Ghosh
I think you r looking for: Mapping types The following table shows the mapping of types between Java and native code. Native Type Java Language Type Description Type signature unsigned char jboolean unsigned 8 bits Z signed char jbyte signed 8 bits B unsigned short jchar unsigned 16 bits C