[android-developers] What's the UI performance tools for Android?

2009-12-24 Thread William.lw.w
Hi Google Expert, I'm not sure if this is right place to post this question. I just listen the Google IO section of "Make your Android UI Fast and Efficient" again. It is a very useful for the daily Android development. There are some benchmark about the UI performance, e.g. the "frames per seco

[android-developers] Re: java.nio.ByteBuffer on jni error

2009-12-16 Thread William.lw.w
Great. Thank you very much. On 12月17日, 上午6时20分, fadden wrote: > On Dec 16, 9:05 am, "William.lw.w" wrote: > > > When I run it, it report below error: > > 12-16 23:49:54.307: WARN/dalvikvm(653): JNI WARNING: method declared > > to return 'Lja

[android-developers] java.nio.ByteBuffer on jni error

2009-12-16 Thread William.lw.w
Hi expert, This is about the Android JNI. My apps return a buffer from native to java by jni NewDirectByteBuffer interface. The Java method declared as: public native ByteBuffer readData(int flags); The JNI native method is as follows: JNIEXPORT jobject JNICALL Java_com_lw_DataParser_