W dniu 2011-04-14 09:38, Michael Schnell pisze:
On 04/13/2011 11:11 PM, dar...@emadar.com 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 Synapse) is started, and build in browser can
play with them.
Sounds great.
So your way to overcome the native-code <-> user interface barrier on
Android is to make the apllication a web server and access it via the
browser ?
yes,
this is the same application as for linux or windows
I understand the executable has a built-in web server, so it is _not_
a CGI. Correct ?
yes
Did you already succeed in managing the usual obstacles of this:
creating timers,
yes
notifying the main thread from worker threads,
yes
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
--
Darek
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel