안드로이드 개발 질문/답변
(글 수 45,052)
안녕하세요.
intent 혹은, webview 에서 loadUrl 접근 시 접근이 불가능 하더라구요.
웹뷰 에서는
// webV.loadUrl(file:///sdcard/flash/bee.html);
로 sdcard 에 있는 html을 접근 하였고,
intent 사용 시에는
intent 혹은, webview 에서 loadUrl 접근 시 접근이 불가능 하더라구요.
웹뷰 에서는
// webV.loadUrl(file:///sdcard/flash/bee.html);
로 sdcard 에 있는 html을 접근 하였고,
intent 사용 시에는
// Intent intent = new Intent(Intent.ACTION_VIEW);
// Uri uri = Uri.fromFile(new File("/sdcard/flash/bee.html"));
// intent.setDataAndType(uri, "text/html");
// startActivity(returnIt);
로 접근을 시도 했는데, 접근이 불가능 하더라구요.
물론 이렇게도
// Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("http://www.google.com"));
접근을 시도 해 봤습니다.
제가 하려는 작업은 웹브라우저에서 sdcard 에 저장 된 html 을 로딩 시키려는 작업 합니다.
혹시 가능 한 방법이 있나요?