DroidGap: how get webpage?
Posted
by
Max Usanin
on Stack Overflow
See other posts from Stack Overflow
or by Max Usanin
Published on 2012-11-21T10:31:01Z
Indexed on
2012/11/21
11:01 UTC
Read the original article
Hit count: 144
My source:
public class MainActivity extends DroidGap {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
super.loadUrl("file:///android_asset/www/index.html");
}
@Override
public boolean dispatchTouchEvent(MotionEvent e) {
super.dispatchTouchEvent(e);
// Now what page ??
return true;
}
How to get the current web page?
© Stack Overflow or respective owner