GWT Mobile Application

105 views
Skip to first unread message

Myth17

unread,
Jun 16, 2011, 3:42:48 AM6/16/11
to google-we...@googlegroups.com
I have some experience with GWT designing web apps!
However I want to make a simple mobile web app now which allows user to type a text(simple update) mark a couple of tags and post it to a database. Simple and Sweet!

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?


Myth17

unread,
Jun 16, 2011, 3:48:13 AM6/16/11
to google-we...@googlegroups.com
Ahh it seems that WidgetDesign is in their roadmap and yet to be implemented --> http://code.google.com/p/gwt-mobile-webkit/wiki/WidgetsDesign

Christof Kaller

unread,
Jun 16, 2011, 4:10:29 AM6/16/11
to google-we...@googlegroups.com
Hi,

check out this link:
http://www.m-gwt.com/
it is based on PhoneGap (a open source framework for developing native applications based on HTML & AJAX)
and connects it with GWT.

Greetz Christof


2011/6/16 Myth17 <nitish...@gmail.com>
Ahh it seems that WidgetDesign is in their roadmap and yet to be implemented --> http://code.google.com/p/gwt-mobile-webkit/wiki/WidgetsDesign

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/XbZesLdZXWAJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--

Christof Kaller
 
An de Krütpasch 15
47661 Issum
 
T: +49(0)2835-440 621 / M: +49(0)177-23 44 54 8
E:
Christo...@googlemail.com
 
Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, daß jede Form der
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem Absender der E-Mail in Verbindung zu setzen.

Myth17

unread,
Jun 17, 2011, 1:12:12 AM6/17/11
to google-we...@googlegroups.com
if I am writing a mobile app view in GWT, is dere any way I can see how my app will look when deployed in a phone?

Alain Ekambi

unread,
Jun 17, 2011, 3:28:50 AM6/17/11
to google-we...@googlegroups.com
You could try the android emulator i guess ....

2011/6/17 Myth17 <nitish...@gmail.com>
if I am writing a mobile app view in GWT, is dere any way I can see how my app will look when deployed in a phone?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.



--


Christof Kaller

unread,
Jun 17, 2011, 3:31:26 AM6/17/11
to google-we...@googlegroups.com
I am not sure what you mean. You could open a browser in an Android emulator
and surf to that page..?
It gives you a first impression. But finally you will have to test it on an
actual device.

To test look of an iPhone aApp you should open the page with Safari browser.

I found a nice way to make screenshots that look almost as if it was an
iPhone app

2011/6/17 Myth17 <nitish...@gmail.com>
if I am writing a mobile app view in GWT, is dere any way I can see how my app will look when deployed in a phone?

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
iPhoneExample.jpg

gianni

unread,
Jun 17, 2011, 9:26:08 AM6/17/11
to Google Web Toolkit
Deploy your app to a local web server on your laptop, then hit the IP
of the laptop followed by the port, on your device. Make sure the
device and the laptop are on the same network. Your device would
connect on wifi.

I use MAMP to run my local web server, and I use port 8080.

On my laptop I can hit http://localhost:8080/myapp/

Or I can hit http://Laptop's IP:8080/myapp/

The second one is available to other devices on the network. On a Mac
I enable Web Sharing, under Preferences -> Sharing to expose the IP to
the network.

On Jun 17, 3:31 am, Christof Kaller <christof.kal...@googlemail.com>
wrote:
> I am not sure what you mean. You could open a browser in an Android emulator
> and surf to that page..?
> It gives you a first impression. But finally you will *have to* test it on
> an
> actual device.
>
> To test look of an iPhone aApp you should open the page with Safari browser.
>
> I found a nice way to make screenshots that look almost as if it was an
> iPhone app
>
> 2011/6/17 Myth17 <nitishupr...@gmail.com>
>
> > if I am writing a mobile app view in GWT, is dere any way I can see how my
> > app will look when deployed in a phone?
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Google Web Toolkit" group.
> > To view this discussion on the web visit
> >https://groups.google.com/d/msg/google-web-toolkit/-/r_4y_rSA9ZYJ.
>
> > To post to this group, send email to google-we...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > google-web-tool...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/google-web-toolkit?hl=en.
>
> --
> <https://www.xing.com/profile/HansChristof_Kaller>
>
> Christof Kaller
>
> An de Krütpasch 15
> 47661 Issum
>
> T: +49(0)2835-440 621 / M: +49(0)177-23 44 54 8
> E: Christof.Kal...@googlemail.com
> XING:https://www.xing.com/profile/Christof_Kaller
>
> Der Inhalt dieser E-Mail ist vertraulich und ausschließlich für den
> bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat
> dieser E-Mail oder dessen Vertreter sein sollten, so beachten Sie bitte, daß
> jede Form der
> Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des
> Inhalts dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall
> mit dem Absender der E-Mail in Verbindung zu setzen.
>
>  iPhoneExample.jpg
> 181KViewDownload

ocaner

unread,
Jun 18, 2011, 3:17:40 AM6/18/11
to Google Web Toolkit
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.
Reply all
Reply to author
Forward
0 new messages