Hello pius.lee,
I'm having this same problem.... have you found out how to solve it?!
Thanks!

On May 27, 7:50 am, "pius.lee" <[email protected]> wrote:
> when Iloadexternalweb page, image or javascript file from local
> webpage.
> I can't seeexternalimage and can'tloadjavascript or webpage.
> but I can only see local image.
> why I can'tloadexternaljavascript, webpage or image?
>
> here is the HTML source.
> (of course, I filled right [daum open API key])
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
> <html>
> <head>
> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <title>Daum 지도 API</title>
> <script type="text/javascript" src="http://apis.daum.net/maps/maps.js?
> apikey=[daum open API key]" charset="utf-8"></script>
> </head>
> <body>
>        <div id="map" style="width:600px;height:400px;" style="border:
> 1px
> solid #000"></div>
>        <img src="http://developer.android.com/assets/images/home/sdk-
> large.png">
>        <img src="file:///android_asset/coffeebean.jpg">
>        <script type="text/javascript">
>                var map = new DMap("map", {point:new DLatLng
> (37.48879895934866,
> 127.03130020103005), level:2} );
>        </script>
>        <iframe src="http://www.daum.net"; width="300" height="150"></
> iframe>
> </body>
> </html>
>
> and I use this Activity source
>
> package bo.my.android.test;
>
> import android.app.Activity;
> import android.os.Bundle;
> import android.webkit.WebView;
>
> public class OpenAPITest extends Activity {
>
>        WebViewwebView;
>    /** Called when the activity is first created. */
>    @Override
>    public void onCreate(Bundle savedInstanceState) {
>        super.onCreate(savedInstanceState);
>        setContentView(R.layout.main);
>
>        webView= (WebView) findViewById(R.id.webView1);
>        webView.setWebViewClient(new DaumMapClient());
>        webView.getSettings().setJavaScriptEnabled(true);
>
>        webView.loadUrl("file:///android_asset/daummap.html");
>        //webView.loadUrl("http://www.daum.net";);
>    }
>
> }
>
> I check permission like this manifest
>
> <?xml version="1.0" encoding="utf-8"?>
> <manifest xmlns:android="http://schemas.android.com/apk/res/android";
>      package="bo.my.android.test"
>      android:versionCode="1"
>      android:versionName="1.0">
>    <application android:icon="@drawable/icon" android:label="@string/
> app_name">
>        <activity android:name=".OpenAPITest"
>                  android:label="@string/app_name">
>            <intent-filter>
>                <action android:name="android.intent.action.MAIN" />
>                <category
> android:name="android.intent.category.LAUNCHER" />
>            </intent-filter>
>        </activity>
>    </application>
>    <uses-permission android:name="android.permission.INTERNET"></uses-
> permission>
>    <uses-sdk android:minSdkVersion="2" />
>
> </manifest>

--~--~---------~--~----~------------~-------~--~----~
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