LAMW - does this solve thread problem in LAMW? lazarus / 43-Android ---------------------------------------------------------------------- Mongkey · 2021-10-08 01:12 see this topic https://forum.lazarus.freepascal.org/index.php?topic=39762.0 I've solved the problem ... When the static method Java_Event_pOnThread in Pascal side is called from a second thread and then from the main thread (the second thread does not complete the Java_Event_pOnThread method) has stack problems and JVM terminate the process. Also add to main unit of application and cthreads unit. I dont know how to do that ---------------------------------------------------------------------- Guser979 · 2021-10-10 02:42 This for me remains a problem. I've been experimenting a lot with threads but I'm still far from being able to put it to good use with LAMW