[fpc-devel] Android native application with local webserver

Michael Schnell mschnell at lumino.de
Thu Apr 14 11:35:48 CEST 2011


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'm not sure I understand
> when I need this, web page (by Javascript) sequentially ask server
This is what I meant. So you do polling in the Java script, killing the 
performance of the whole device. There are Java script based algorithms 
(such as "Comet") that might or might not help and might or might not 
introduce additional problems.

-Michael



More information about the fpc-devel mailing list