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

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -