Thx for the answers but i found a way of defining my own property based on a javascript (in .gwt.xml file) which tests the complete user agent string for some keywords. http://www.javaneverdie.com/gwt/want-to-show-mobile-or-phone-site-version-check-user-agent/
On 15 August 2010 11:23, cokol <[email protected]> wrote: > you can either use js browser detection script and work with it over > JSNI in GWT ( like http://javascript.about.com/library/blbrsdet.htm ) > or a serverside solution ( like http://wurfl.sourceforge.net/ ) which > helps you to handle clients capabilities > > gwt claims to work on every browser :) hence there is no explicit > support on mobile devices ( I suppose ) > > On 14 Aug., 14:32, Ice13ill <[email protected]> wrote: > > I wont to know if by checking the "user.agent" property in the gwt.xml > > file I can detect if the client is using a browser on a mobile phone > > (like HTC wiht Android, or IPhone etc) > > > > And also, are there "nasty" restrictions on the JS (thus GWT classes) > > on those browsers ?(at least for those very widely used) > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
