LAMW: Async/Process example lazarus / 43-Android ---------------------------------------------------------------------- c4p · 2023-08-26 10:23 Does anyone have a basic AsyncTask/process example that's stable? I tried the demo one and although it kind of works it seems unstable and crashes the app on occasions, if there was something that was like a TProcess in Delphi that would be ideal, just need to background process some code. Any help greatly received. ---------------------------------------------------------------------- loaded · 2023-08-26 13:21 In my experience, the healthiest use for asynchronous operations on Android is the use of runnable. I guess this is not available in LAMW. https://developer.android.com/reference/java/lang/Runnable https://stackoverflow.com/questions/541487/implements-runnable-vs- extends-thread-in-java In my own application I was able to add it manually with different methods and run it without any problems. But it would be long and difficult for me to describe it here. My advice would be for Master Jmpessoa to address the issue. ---------------------------------------------------------------------- c4p · 2023-08-26 20:28 Thank you, maybe Jmpessoa can help with a Process example, maybe a thread would do?