Trying to load some big images into a bitmap and encountered this:
I have big.jpg which is 1000x1000 pixels and huge.jpg which is 3409x9000
bmp.Initialize(File.DirAssets,"big.jpg") ====> works
bmp.Initialize("/mnt/sdcard/external_sd","big.jpg") ====> works
bmp.Initialize(File.DirAssets,"huge.jpg") ====> works
but
bmp.Initialize("/mnt/sdcard/external_sd","huge.jpg") cause the app to "Stop Unexpectedly".
both big.jpg and huge.jpg DO EXIST on the external SD card.
Any thoughts?
I have big.jpg which is 1000x1000 pixels and huge.jpg which is 3409x9000
bmp.Initialize(File.DirAssets,"big.jpg") ====> works
bmp.Initialize("/mnt/sdcard/external_sd","big.jpg") ====> works
bmp.Initialize(File.DirAssets,"huge.jpg") ====> works
but
bmp.Initialize("/mnt/sdcard/external_sd","huge.jpg") cause the app to "Stop Unexpectedly".
both big.jpg and huge.jpg DO EXIST on the external SD card.
Any thoughts?