[android-developers] multicast permission of dalvik and how to attach to dalvik env?

2009-09-16 Thread caval
-DetachCurrentThread();* it seems AttachCurrentThread not failed but env not correct. Regards, Caval. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] JNI callback problem

2009-09-15 Thread caval
(stderr, -- In _Java_com_caval_now_Map_AddItem Thread Attached Failed.\n); return; } jstring ret = env-NewStringUTF(pszTitle); // I run to this line and ap crashed. jclass cls = env-FindClass(com/caval/now/ServerList); } the AttachCurrentThread func return OK and also I get the env pointer. but any

[android-developers] Re: JNI callback problem

2009-09-15 Thread caval
) The logcat output will have some information about the crash that you should include. On Sep 15, 3:33 am, caval cavalzh...@gmail.com wrote: firstly I save JVM pointer in a native function which called when ap lauched: JNIEXPORT void JNICALL Java_com_caval_ServerList_Init (JNIEnv * env

[android-developers] Re: Catching memory exception

2009-08-04 Thread caval
Firstly you can enter into the shell mode by typing adb shellthen because android has a linux heart so you can type ps to see all process's status which also including mem info. Regards, Caval. 2009/8/5 whitech whit...@163.com Oh so sorry to hear that Thank you. There's another problem