Hello,

I have a large app written in GWT and I want to create a mobile view
of the app (with limited features). The user interface and features of
the app should be completely adapted to the smaller screen size of the
mobile device. However, I have the following obstacles:

1. How do I detect the mobile device? I was planning to use the user
agent, but the problem is that there are many different user agents
with new ones introduced regularly. Hence, the method as explained in
the following url will not really work for me:

http://code.google.com/intl/nl-BE/webtoolkit/doc/latest/DevGuideCodingBasicsDeferred.html#replacement

2. As the HTML page hosting the app will also needs to be adapted, I
am wondering whether the best solution will be to do all the user
agent recognition at server side, and set a cookie for the mobile
device. Then the deferred binding components can use the cookie?

Any other are ideas welcome

Cheers
Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to google-web-tool...@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to