I am making a webpage and Now i want to make a mobile version of this webpage. My question is how can i use the same Application to work for both desktop and mobile browser( I am using Fennec verson of mozilla).
how can my application detect whether it is accesed through which browser(desktop or mobile).
I am using jsf 2.0 and primefaces 2.2 i have read somewhere that by overriding calculateRenderKitId API we can do it. Has any body done that.
(I have separate pages for mobile version and desktop but the backing beans are same)
I am making a webpage and Now i want to make a mobile version
Share
You can check the request headers to detect which is the client
and here is the list of user agent