hi all,

in the webView, it dosen't work call action

// first, easy way to call action. just add a 'single line' below
<a href="tel:010-7494-3852" class="tel">call action</a>

// problem
http://www.kandroid.org/board/data/board/AndroidTechQnA/file/1/e2fcb3d2_error.jpg

what's wrong?


// code

.manifest
....
<activity android:name=".webviewDemo"
              android:label="@string/app_name">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category
android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
<uses-permission android:name="android.permission.INTERNET"></uses-
permission>
<uses-permission android:name="android.permission.CALL_PHONE"></uses-
permission>
....

.java
...
mWebView = (WebView)findViewById(R.id.webview);
mWebView.setWebViewClient(new AppWebViewClient());
mWebView.getSettings().setJavaScriptEnabled(true);
mWebView.loadUrl(http://m.map.daum.net/mobilemap/actions/
recommendPlaceMainView);
...
private class AppWebViewClient extends WebViewClient {
   @Override
   public boolean shouldOverrideUrlLoading(WebView view, String url)
{
    view.loadUrl(url);
    return true;
   }
}
...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to