android - Using one instance webview for multi page -
i want paging web's content in android application. example, use flipview display each page of web content, , don't know how using same webview created, loaded url display on each flipview page.
anyone suggest me !
thanks suggestions !
use webview.cangoback() property.
@override public boolean onkeydown(int keycode, keyevent event) { // check if key event button , if there's history if ((keycode == keyevent.keycode_back) && mywebview.cangoback()) { mywebview.goback(); return true; } // if wasn't key or there's no web page history, bubble default // system behavior (probably exit activity) return super.onkeydown(keycode, event); }
for more details please visit. http://developer.android.com/guide/webapps/webview.html
hope
Comments
Post a Comment