I am writing a program to display pictures stored on sdcard, using
BitmapFactory facility.
But after I pushed more than 2000 pieces of pictures onto the
Emulator's sdcard image, the media scanner crashed, saying cannot
allocate memory.
So many of the pictures on the sdcard are not scanned,
The problem is that my program cannot show the picture which is not
scanned.
No exception catched during BitmapFactory.decodeFile().
The images just not appear.
Those which are scanned are displayed well.
Can anybody tell me why.
And how to bypass media scanner to display pictures?
Thank you very much.
B.R.
-Robin
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
No comments:
Post a Comment