일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- STS
- Eclipse
- 원한
- 리눅스
- 말라키
- LOG
- Linux
- pythoncom37.dll
- 분노
- checkbox
- geckodriver
- HMI
- 가상환경
- 파이썬
- 명령어
- Python
- DataTables
- error
- 맥코트
- build
- JQuery
- Custom
- SCADA
- Anaconda
- ORA-28002
Archives
- Today
- Total
2010년 5월 1일, 2막
[Android] WebView에서 local file 접근 본문
1. assets 폴더 생성 : /app/src/main/assets/ 생성
2. assets/ 디렉토리 접근 : "file:///android_asset/" 식으로 접근
ex).
web_view.loadUrl("file:///android_asset/sample.html")
mWebView.loadUrl("file:///android_asset/www/index.html");
출처 : [Android] WebView에서 local file 접근하기(feat. Android Assets) :: 준비된 개발자 (tistory.com)
'Computer > Tips' 카테고리의 다른 글
[Android] 인터넷 연결 안될 때 (0) | 2023.05.25 |
---|---|
Ubuntu 22.04 in VirtualBox (0) | 2023.03.02 |
폴더 내 파일 리스트 추출 in 윈도우 cmd (0) | 2022.10.19 |
WSL2에서 systemctl 사용 (0) | 2022.08.03 |
wsl 드라이버 이동 설치 (0) | 2022.08.02 |