android - WebView - show dialog when user clicks a link -
i have activity webview. when activity loads, show alert message dismiss on "onpagefinished" event.
what need know, show progressbar when user clicked on link , webview loading it, , dismiss when loading over. similar iphone behaviour.
is possible?
10x :) udi
this described in documentation:
final activity activity = this; webview.setwebchromeclient(new webchromeclient() { public void onprogresschanged(webview view, int progress) { // activities , webviews measure progress different scales. // progress meter automatically disappear when reach 100% activity.setprogress(progress * 1000); } });
see here.
Comments
Post a Comment