mWebView.setWebViewClient(new WebViewClient()
{
public boolean shouldOverrideUrlLoading(WebView view, String url)
{
if(url.startsWith("tel:"))
{
Intent call_phone = new Intent(Intent.ACTION_VIEW, Uri.parse(url));
startActivity(call_phone);
return true;
}
else if(url.startsWith("sms:"))
{
Intent sms_phone = new Intent(Intent.ACTION_SENDTO, Uri.parse(url));
startActivity(sms_phone);
return true;
}
else
{
pd.show();
view.loadUrl(url);
return true;
}
};
위는 웹뷰 소스이고..
<a href="/board/file_download/30/18136">다운로드파일1201.pdf</a>
웹에 이런 태그가 있는데.. 클릭을 하면 웹뷰 화면에 undefined가 출력이 되요..
어떻게 해줘야 하는건가요..
앱개발자가 없어서 참 힘드네요 ㅠㅠ