开发者

Android-jQM: MyWebViewClient::shouldOverrideUrlLoading() not working with local URI

I'm using Android's WebViewClient to handle <a> clicks of my jquerymobile page. It is working fine when my target is some full url like <a href="h开发者_如何学编程ttp://stackoverflow.com"> but if my target is local script for eg. <a href="test.html">, I'm not event getting the call to my shouldOverrideUrlLoading.

thanks, nehatha


I could find the solution doing this:

<a href="file.php?number=<?=time();?>" ... data-ajax='false'>Link</a>

Hope it works for you. Cheers

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜