Android - Retrieving image blob form SQLite DB without using bitmaps or decodeStream -
android - getting image jpeg url , storing in binary form in sqlite db. while retrieving same blob db, getting bytearray nad converting bitmap, using decodestream; causes outofmemory , have used insamplesize scale image.
but requirement not scale image, there other way get image db without using bitmaps , decodestream.
also there way in android retrieve image db in native format(jpeg)?
i understand that, process cannot done without bitmaps. still resolved issue without scaling image. added following in manifest,
android:largeheap="true"
under application tag.
i understand may cause serious performance issue app. temporary solution. have started clean code , try use heap more efficiently.
thanks all!! :)
Comments
Post a Comment