0

I'm beginner to MGWT and GwtPhoneGap.I have .html file which having some hyperlinks and text content and few images. I want to place a button in my view ,when I tapped the button I want to open the my html page on the same view. For this I tried GWT Hyperlink,Frame classes, But not succeeded. Is there any direct widget support given from GwtPhoneGap or else give me the approach to reach my requirement. Thanks in advance.

1 Answers1

0

This should work:

com.googlecode.mgwt.ui.client.widget.LayoutPanel main = new com.googlecode.mgwt.ui.client.widget.LayoutPanel();

com.google.gwt.user.client.ui.Frame frame = new com.google.gwt.user.client.ui.Frame(link);
frame.setSize("100%", "100%");

main.add(frame);
Spiff
  • 3,873
  • 4
  • 25
  • 50