Web application ZK 5.0 on mobile
20 Sep 2011 02:49:58 GMT
20 Sep 2011 04:46:54 GMT
20 Sep 2011 04:46:54 GMT
Any version of ZK can be used on mobile browsers, it's a web application after all. If you want to customize your webapp according to mobile or desktop browser you can get the user-agent header with:
Executions.getCurrent().getHeader("user-agent");
20 Sep 2011 05:23:38 GMT
20 Sep 2011 05:23:38 GMT
RichardL thank's for your help.
6 Feb 2012 02:01:40 GMT
6 Feb 2012 02:01:40 GMT
I read the question but I would like to know where can I add "Executions.getCurrent().getHeader("user-agent");" in to zul file or windowcontroller?
8 Feb 2012 18:44:40 GMT
8 Feb 2012 18:44:40 GMT
wincontroller, in doaftercompose
ZK - Open Source Ajax Java Framework
Hello, i have been reading some information about zk mobile and i have seen that zk application on mobile must be 3.0 version and 5.0 is not working on mobile, but if i have a web application on client, can i connect to the web application from a android mobile?
The difference connecting from pc or mobile device is the web browser.
is there anyway to detect the web browser that is used to connect to web application (safari mobile) and depends on this web browser work with zk web application?
Or must i used a zk 3.0 web application to be used in mobile device?