티스토리 뷰
Drawable객체를 손쉽게 Bitmap으로 옮길수 있다.
소스는 다음과 같다.
BitmapDrawable drawable = (BitmapDrawable) getResources().getDrawable(R.drawable.icon); Bitmap bitmap = drawable.getBitmap();
'Mobile > Android' 카테고리의 다른 글
Resource를 Bitmap만들기 (0) | 2014.08.11 |
---|---|
Notification (0) | 2014.08.11 |
다른앱의 리소스를 가져와서 사용 (0) | 2014.08.08 |
어플 설치 여부 확인 (0) | 2014.08.08 |
설치된 어플 목록 가져오기 (0) | 2014.08.08 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
TAG
- Xcode
- enum
- android
- Linux
- Gradle
- php
- Java
- docker
- nodejs
- github
- intellij
- Spring
- MySQL
- windows10
- Python
- Kotlin
- cocoapods
- war
- golang
- go
- tomcat
- Codable
- rxswift
- ubuntu
- CentOS
- SWIFT
- git
- centos8
- Windows
- ios
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함