when I load external web page, image or javascript file from local
webpage.
I can't see external image and can't load javascript or webpage.
but I can only see local image.
why I can't load external javascript, 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://4.bp.blogspot.com/_2-7AdSkZA7I/RlCnDhD3ZfI/
AAAAAAAAE9U/LEHMtyVLdY8/s400/CutyTale10.jpg">
       <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.com"; 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 {

       WebView webView;
   /** 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