smartGWT-mobile
GWT 2.5
Android browser
Attempted opening browser with Samsung Galaxy tab browser and got the message in the browser :
Still got the message after updating the *.gwt.xml file as below :
The extend-property lines were added. Let me know the correct approach.
GWT 2.5
Android browser
Attempted opening browser with Samsung Galaxy tab browser and got the message in the browser :
Code:
ERROR : Possible problem with your *.gwt.xml module file. The compile time user.agent value (android) does not match the runtime user.agent value (safari). Expect more errors.
Code:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.6.4//EN" "http://google-web-toolkit.googlecode.com/svn/tags/1.6.4/distro-source/core/src/gwt-module.dtd"> <module rename-to="airtime"> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name="com.google.gwt.i18n.I18N"/> <inherits name="com.smartgwt.tools.SmartGwtTools"/> <inherits name="com.smartgwtpower.tools.Tools"/> <inherits name="com.smartgwt.mobile.SmartGwtMobile"/> <inherits name="com.smartgwtpower.SmartGwtPower"/> <extend-property name="user.agent" values="android" fallback-value="safari"/> <extend-property name="user.agent" values="ipad" fallback-value="safari"/> <extend-property name="user.agent" values="iphone" fallback-value="safari"/> <!-- this is where the application starts --> <entry-point class='com.reliable.app.client.MobileGreetingPage'/> </module>
Comment