Hi!
On Jun 16, 9:42 am, Myth17 <
nitishupr...@gmail.com> wrote:
> I would want the application to run on as many mobile phones as
> possible(blackberry+android+iphone)! What should be my strategy? Do I need
> to use something
> like -->
http://code.google.com/p/gwt-mobile-webkit/(they dont say
> anything about Blackberry support) or I can do it with my plain old GWT?
Your GWT Code should run on android+iOS devices like phones and
tablets, because both use WebKit as browser.
gwt-mobile-kit is library for html5/mobile apis like geolocation,
localstorage end so on, but as you mentioned in your later post, this
library lacks widgets. Localstorage is also supported in GWT itself
since 2.3. So gwt-mobile-kit shouldn't be necessary.
To test your app on a mobile devices, open the Run Configurations for
your project and add "-bindAddress 0.0.0.0" without the qoutes to
Program Arguments on the Arguments Tab. This tells gwt to use all
network interfaces not just localhost(127.0.0.1). Rerun your
application, now you should be able to connect from a mobile device.
Now hit the GWT compiler button (red GWT icon in eclipse toolbar) and
let your app compile, you could reduce the compile time if you set the
supported browsers to only safari.
After compiling your app you could open your app from your mobile
device or emulator or just your chrome/safari browser.