Load large images into Bitmap?

前端 未结 5 2116
耶瑟儿~
耶瑟儿~ 2021-01-02 09:23

I\'m trying to make a basic application that displays an image from the camera, but I when I try to load the .jpg in from the sdcard with BitmapFactory.decodeFile

5条回答
  •  一生所求
    2021-01-02 09:45

    Well after working a lot i found out that the problem was not with code but the ram size of emulator, editing avd and increasing ram size solves all problems and saves huges pics easily. thanks.

提交回复
热议问题