꿈꾸는 개발자

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

URL 1

[android] URL주소에서 이미지를 가져와 이미지뷰에 보여주기

try{URL url = new URL("이미지 주소");URLConnection conn = url.openConnection();conn.connect();BufferedInputStream bis = new BufferedInputStream(conn.getInputStream());Bitmap bm = BitmapFactory.decodeStream(bis);bis.close();imgView.setImageBitmap(bm);}catch(Exception e){} ※주의!!퍼미션

android 2014.10.02
이전
1
다음
더보기
프로필사진

꿈꾸는 개발자

  • 분류 전체보기 (45)
    • android (39)
    • jQuery & script (3)
    • MS-SQL (1)
    • asp .net (0)
    • 포트폴리오 (0)
    • 여행 (0)

Tag

android Bitmap, 안드로이드 스크립트, 안드로이드 이미지, google cloud print, android backkey, JSON, Android, thread, 기본쿼리, Timer example, 안드로이드, Script통신, jsInterface, android Script, HttpUtrlConnection, android image, Java, resourceId, EditText 굴자 제한, 화면크기 구하기,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/05   »
일 월 화 수 목 금 토
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

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

티스토리툴바