Re: [fpc-devel] Android native application with local webserver

2011-04-15 Thread Michael Schnell
On 04/14/2011 05:12 PM, Dariusz Mazur wrote: I've implement message queue (like in Windows), also VCL/LCL style communication with widgets. TThread.synchronize was reimplement, because there is many "Main thread" - per each session. All enough to use the same source do build desktop and web a

Re: [fpc-devel] Android native application with local webserver

2011-04-14 Thread Dariusz Mazur
W dniu 2011-04-14 16:08, Michael Schnell pisze: On 04/14/2011 02:55 PM, Dariusz Mazur wrote: What is the problem when pthreads works? In fact this supposedly is a Lazarus LCL problem, so we might be in the wrong discussion group here, The LCL's "Application" object defines a main thread, tha

Re: [fpc-devel] Android native application with local webserver

2011-04-14 Thread Michael Schnell
On 04/14/2011 02:55 PM, Dariusz Mazur wrote: What is the problem when pthreads works? In fact this supposedly is a Lazarus LCL problem, so we might be in the wrong discussion group here, The LCL's "Application" object defines a main thread, that allows for "event driven programing" (the progr

Re: [fpc-devel] Android native application with local webserver

2011-04-14 Thread Dariusz Mazur
W dniu 2011-04-14 11:35, Michael Schnell pisze: On 04/14/2011 10:36 AM, Dariusz Mazur wrote: Did you already succeed in managing the usual obstacles of this: creating timers, yes Great ! How ? What is the problem when pthreads works? notifying the main thread from worker threads, yes

Re: [fpc-devel] Android native application with local webserver

2011-04-14 Thread Michael Schnell
On 04/14/2011 10:36 AM, Dariusz Mazur wrote: Did you already succeed in managing the usual obstacles of this: creating timers, yes Great ! How ? notifying the main thread from worker threads, yes Great ! How ? doing application initiated "active" user notifications on the web-page ? I'

Re: [fpc-devel] Android native application with local webserver

2011-04-14 Thread Dariusz Mazur
W dniu 2011-04-14 09:38, Michael Schnell pisze: On 04/13/2011 11:11 PM, [email protected] wrote: Hello I finish first stage to move my webapp as native Android application. Its consists one java file with declaration webWiew, and all rest, written in FPC, is build as library. Of course start

Re: [fpc-devel] Android native application with local webserver

2011-04-14 Thread Michael Schnell
On 04/13/2011 11:11 PM, [email protected] wrote: Hello I finish first stage to move my webapp as native Android application. Its consists one java file with declaration webWiew, and all rest, written in FPC, is build as library. Of course start is thought jni, but after that http server (based on

[fpc-devel] Android native application with local webserver

2011-04-13 Thread darekm
Hello I finish first stage to move my webapp as native Android application. Its consists one java file with declaration webWiew, and all rest, written in FPC, is build as library. Of course start is thought jni, but after that http server (based on Synapse) is started, and build in browser can play