안드로이드 개발 질문/답변
(글 수 45,052)
public void onPageStarted(WebView view, String url, Bitmap favicon) {super.onPageStarted(view, url, favicon);
Drawable drawable = new BitmapDrawable(favicon);
// BitmapDrawable bitmapDrawable = (BitmapDrawable)bitmap;
// Drawable drawable = (Drawable)bitmapDrawable;
favicon_image = (ImageView)findViewById(R.id.favicon_image);
favicon_image.setImageDrawable(drawable);
favicon_image.setVisibility(View.VISIBLE);
onPageStarted() 메소드에서 파비콘을 받아서
화면에 보여주려합니다.
그런데 공백만 나오네요
무엇이 문제일까요?




http://stackoverflow.com/questions/3462582/display-the-android-webviews-favicon
다음 코드로 먼저 webicondatabase 를 열랍니다.