在res\drawable目录下有 ibeach.jpg文件 不知道怎么的始终显示不出来图片 请各位大侠帮忙
String data = "<HTML>在模拟器 2.1 上测试,这是<IMG src=\"APK'>file:\\\\android_asset/ibeach.jpg\"/>APK里的图片";WebView web = (WebView) findViewById(R.id.webwiew1);
web.loadDataWithBaseURL(null, data, "text/html", "utf-8", null);
String data = "<HTML>在模拟器 2.1 上测试,这是<IMG src=\"APK'>file:\\\\android_asset/ibeach.jpg\"/>APK里的图片";WebView web = (WebView) findViewById(R.id.webwiew1);
web.loadDataWithBaseURL(null, data, "text/html", "utf-8", null);
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货