Questions tagged [mgwt]

mgwt is an mobile extension to GWT which allows to write mobile apps with GWT

mgwt is a library for developing mobile apps and mobile websites with GWT from one code base. mgwt provides native looking widgets for many platforms, animations and many other things that are needed for writing mobile apps. gwt-phonegap enables GWT apps to use Phonegap. With Phonegap HTML5 apps can access the same device features that native apps can use from Javascript, such as the file system or contacts. With mgwt and gwt-phonegap you can deploy your GWT apps into any app store or let your users use them as a website. Both projects are available under apache 2.0 license from maven central.

144 questions
2
votes
1 answer

How does GWT work or rather how does GWT load the code into the app.html file?

I would like to know what the rootPanel (which is in the entryClass) exactly is, and how GWT loads the Java code into the appname.html file via rootpanel. What happens there exactly? Where is the connection between the rootpanel and the HTML file? I…
Pero
  • 774
  • 3
  • 15
  • 34
2
votes
1 answer

mgwt - Orientation change programmatically

Is it possible to change the enforce a particular orientation of screen in a gwt+mgwt application? Lets say I would want the users to always use the application in landscape mode.
blue01
  • 2,035
  • 2
  • 23
  • 38
2
votes
1 answer

MGWT ScrollPanel Snaping

I am using the scrollpanel in mgwt to display images and i want it that when the user scrolls the closest image snaps to the top. i see there are two methods of the scrollpanel for snapping void setSnap(boolean snap) void setSnapSelector(String…
user1634451
  • 5,133
  • 6
  • 30
  • 43
2
votes
2 answers

GWT Codesplitting and PhoneGap

I am planning on writing a GWT application that will deploy to web and mobile web, as well apps on native devices. To do this I will first compile my GWT into JavaScript, and then use the GWT-Phonegap library to help bridge that JavaScript to be…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
2
votes
2 answers

GWT popup scrolling problems on Android default browser

To each problem I had encountered earlier I was able to find a solution here, but this problem is really annoys me. I have GWT application with gwt-maps library. Then you click a marker the pop up infowindow appears with a scrollpanel in it. So…
vitaliy_z
  • 21
  • 3
2
votes
1 answer

Is is possible to always display scrollbars in an MGWT ScrollPanel?

Some of the stakeholders on my project expressed doubt in easily recognizing hidden vertical content to scroll to in an MGWT ScrollPanel (without taking a swipe at it). As an attempt to address the concern I'd like to always show the pretty…
Boris Brudnoy
  • 2,405
  • 18
  • 28
1
vote
2 answers

MGWT ScrollPanel.scrollTo(0, y) leads to Cannot read property 'style' of undefined

I use the ScrollPanel from MGWT and do the following: private void scrollToBottom() { if (getUiHandlers().isVisible()) { final int height = scrollPanel.getOffsetHeight(); final int heightInt = cellList.getOffsetHeight(); …
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
1 answer

mGWT debugging on Android emulators

I’m developing with MGWT 2.0.1 for iOS and Android platforms. I need to debug my application on Cordova emulators and I read the article http://blog.daniel-kurka.de/2012/07/mgwt-super-dev-mode.html?m=1 for using Super Dev Mode with MGWT. I followed…
dario
  • 11
  • 2
1
vote
0 answers

MGWT Forms vs pure GWT Form

What is the real difference between in forms classes provided by MGWT and pure GWT? I'm currently developing in GWT web application with lots of forms, so I'm preparing some helper classes. In a moment I will need also a mobile version. I've already…
pH4Lk0n
  • 21
  • 4
1
vote
1 answer

MGWT permutations size for a very simple app

I just started to created a simple app with MGWT, and so far I have: 1 Activty/Place/view (containing a scrolling panel, 3 buttons and 3 inputs) 1 HistoryObserver 1 ActivityMapper 1 AnimationMapper After compiling I can see that the permutations…
grebesche
  • 511
  • 1
  • 3
  • 14
1
vote
1 answer

How to bind Touch Events with GWTQuery?

To bind events like click with GQuery you can do something like: @UiField Element myButton; ... $(myButton).on("click", new Function() { @Override public void f() { // event is triggered } } What I need is support for touch events…
Michael
  • 32,527
  • 49
  • 210
  • 370
1
vote
1 answer

mgwt animation not working

I have created a simple mgwt project . Its running fine but the Animation isnt working . I am not able to import import com.googlecode.mgwt.mvp.client.Animation; as mentioned in tutorials .. It says "Animation cannot be resolved" I…
junaidp
  • 10,801
  • 29
  • 89
  • 137
1
vote
1 answer

MGWT [ERROR] Trying to sink unknown event type webkitAnimationEnd

I'm currently developing a mgwt application using some techniques in showcase. Anyway, on a line when calling MGWTPlaceHistoryHandler.handleCurrentHistory method in entry point (initialization of first view) i got this…
1
vote
0 answers

MGWT scrollpanel issue in ios8

I'm developing an app using gwt,mgwt and gwtphonegap. My device having ios8. My scrollpanel containing some textfields and some list boxes.After appearing of keyboard or drop down if I tried to scroll the background scrollpanel, it is scrolling…
1
vote
1 answer

is there any way to make css pseudo-class input:focus not to effect when filed is readonly,GWT/MGWT

I'm developing a mobile app using GWT,MGWT and HTML,CSS, My view having some text fields some of the fields among them are readonly. I used css pseudo-class in my css file as follows: input[type=text]:focus { background-color: #FFFACD; } it…
1 2
3
9 10