Tuesday, April 30, 2013

Re: Determining if user is using a tablet

Also you may consider using trunk\samples\mobilewebapp\src\main\java\com\google\gwt\sample\mobilewebapp\FormFactor.gwt.xml from the official GWT svn. This example generates a property you can use in your gwt.xml to specify deferred binding rules. If you don't want to use deferred binding you may use PropertySource (https://github.com/Legioth/PropertySource) project that will make the property available in your java code.

On Sunday, April 28, 2013 9:31:05 PM UTC+2, bvt wrote:
Does anybody have any advice on how to determine whether somebody is using a tablet to access my GWT application? If I understand https://code.google.com/p/google-web-toolkit/issues/detail?id=4911 correctly, it would appear that GWT 2.5.1 supports only CSS2 media queries, which don't seem particularly useful in this regard. I'd like to adjust spacing of items to make selection easier for tablet users, but compact items on small screens.

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

No comments:

Post a Comment