Guest t0mm13b Posted July 29, 2011 Report Posted July 29, 2011 I have noticed a strange behaviour on Gallery app. Try this: From the command line, do adb push some_image.jpg /sdcard/DCIMLaunch the GalleryThe image that you just pushed into the directory does not show The cure to that, which is a work-around, tap on Settings > Storage > Unmount SD Card. Wait for the SDCard to be unmounted, then remount it again. Now Gallery picks up the images in /sdcard/DCIM :huh:
Guest ColdEmbrace Posted July 29, 2011 Report Posted July 29, 2011 Curious as to why you want to push an image into the camera folder though? I'd suggest a reboot but unmount/mount would be faster depending on card size and file usage.
Guest t0mm13b Posted July 29, 2011 Report Posted July 29, 2011 Curious as to why you want to push an image into the camera folder though? I'd suggest a reboot but unmount/mount would be faster depending on card size and file usage. Simple! Have a few images on computer - needed to transfer to blade to show to someone :) (Just go into Gallery and say 'Look...' ) In fairness, Gallery should have detected new files in there....
Guest css771 Posted July 30, 2011 Report Posted July 30, 2011 (edited) That's coz the MediaScanner service scans the sdcard only when it is unmounted/mounted, not on adb push. On CM7, you can just use the Dev Tools app to run the Media Scanner. All new stuff should get detected after that. I've got another issue with the CM7 Gallery and that is it blacks out when zoomed in on a picture. Edited July 30, 2011 by css771
Guest t0mm13b Posted July 30, 2011 Report Posted July 30, 2011 (edited) That's coz the MediaScanner service scans the sdcard only when it is unmounted/mounted, not on adb push. On CM7, you can just use the Dev Tools app to run the Media Scanner. All new stuff should get detected after that. I've got another issue with the CM7 Gallery and that is it blacks out when zoomed in on a picture. Oh! Cheers for the tip! :) That's the problem solved! Thanks for that - did not know about this Dev Tool... and yes it makes sense that Media Scanner did it after unmounting/mounting sdcard.. :) Edited July 30, 2011 by t0mm13b
Guest css771 Posted July 30, 2011 Report Posted July 30, 2011 Oh! Cheers for the tip! :) That's the problem solved! Thanks for that - did not know about this Dev Tool... and yes it makes sense that Media Scanner did it after unmounting/mounting sdcard.. :) Yup. Google's only catering to people who copy stuff over, not to those who use adb :D
Guest Phoenix Silver Posted July 31, 2011 Report Posted July 31, 2011 Yup. Google's only catering to people who copy stuff over, not to those who use adb :D I had the same bug but in mounting my sdcard through menu. Copy paste from pc Released usb port Picture had not appeared in gallery.
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now