[android-developers] Re: Android JNI

2008-08-26 Thread ccf2000
Hi,all: I think JNI is supported in 0.9 Beta. Because I wrote a helloworld's jni application in 0.9 beta,and it seem running successfully. but i encounter a trouble, I can not do any writing operation, like remove/rename file. Next is JNI C code: JNIEXPORT void JNICALL

[android-developers] Re: Android JNI

2008-08-26 Thread hackbod
On Aug 25, 8:36 pm, ccf2000 [EMAIL PROTECTED] wrote:     I think JNI is supported in 0.9 Beta. Because I wrote a helloworld's jni application in 0.9 beta,and it seem running successfully. Native code is NOT SUPPORTED in 1.0. Anything you do here is a hack, which will not be supported across

[android-developers] Re: Android JNI

2008-08-25 Thread Volker Gropp
On Aug 22, 9:30 pm, Tyler Ernst [EMAIL PROTECTED] wrote: Also since the 0.9 beta has been released I have been unable to copy the .so to the /system/lib directory of the emulator.  If anyone has found a way to do this that would be greatly appreciated. Hi, you have to mount the system rw. To

[android-developers] Re: Android JNI

2008-08-25 Thread Tyler Ernst
Thanks, that was exactly what we needed. We realize JNI is not supported, but Java code is just too slow to do the things we need... On Aug 25, 2:23 am, Volker Gropp [EMAIL PROTECTED] wrote: On Aug 22, 9:30 pm, Tyler Ernst [EMAIL PROTECTED] wrote: Also since the 0.9 beta has been released I

[android-developers] Re: Android JNI

2008-08-25 Thread Ahmet A. Akin
Blame the Dalvik, not java :P On Mon, Aug 25, 2008 at 2:15 PM, Tyler Ernst [EMAIL PROTECTED] wrote: Thanks, that was exactly what we needed. We realize JNI is not supported, but Java code is just too slow to do the things we need... On Aug 25, 2:23 am, Volker Gropp [EMAIL PROTECTED] wrote:

[android-developers] Re: Android JNI

2008-08-25 Thread hackbod
Native code is not supported in 1.0. On Aug 25, 11:15 am, Tyler Ernst [EMAIL PROTECTED] wrote: Thanks, that was exactly what we needed.  We realize JNI is not supported, but Java code is just too slow to do the things we need... On Aug 25, 2:23 am, Volker Gropp [EMAIL PROTECTED] wrote: On

[android-developers] Re: Android JNI

2008-08-22 Thread vol
Actually, the errors stemmed from some compile-related incompatabilities. Is it possible to do this from win32, or do I have to do it from Linux? On Aug 22, 11:36 am, vol [EMAIL PROTECTED] wrote: I'm having trouble building the JNI example

[android-developers] Re: Android JNI

2008-08-22 Thread Tyler Ernst
You are getting those errors because you are building for linux, but using the windows jni includes. This is because the compiler does not recognize the __int64 microsoft extension. You can build this in a windows environment, but you'll have to get the include files from the linux environment.