I want to use BitmapRegionDecoder class in my application to handle very large images. My application is developing under android 2.2 (API-8), but BitmapRegionDecoder is not available in android 2.2 and lower and i can't change android 2.2 to 2.3 or higher, it must be android 2.2 only. So is there any other way to use BitmapRegionDecoder in my application or any jar file for BitmapRegionDecoder or alternative jar to BitmapRegionDecoder that perform same task of BitmapRegionDecoder.
Asked
Active
Viewed 567 times
2 Answers
0
I've read in the description of this project, that the recreation of the BitmapRegionDecoder for API < 10 requires heavy use of JNI:
on SO, Dianne Hackborn says this is non trivial.
So you could try it, but I fear it will be just too complicated to port it back to lower versions :(
Edit: I just found this question on SO, maybe this will help.

Community
- 1
- 1

Markus Rudel
- 1,318
- 15
- 30
0
Take a look at my other (detailed) answer about BitmapRegionDecoderCompat
(API 8+).
-
Just vote to close similar questions as duplicates instead of duplicating (or referencing) your answer. – corsair992 Jul 20 '15 at 20:14