Re: Determining if user is using a tablet

2013-04-30 Thread Honza Rames
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+unsubscr...@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.




Re: Determining if user is using a tablet

2013-04-29 Thread Jeffrey Chimene
On 04/28/2013 12:31 PM, 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.
> --

There are a variety of Javascript solutions out there that effectively
return the results of CSS3's min/max width. They can be adopted to GWT
without too much trouble.

-- 
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+unsubscr...@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.




Determining if user is using a tablet

2013-04-28 Thread bvt
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+unsubscr...@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.