Jump to content

Recommended Posts

Guest t0mm13b
Posted

I have noticed a strange behaviour on Gallery app.

Try this:

  • From the command line, do adb push some_image.jpg /sdcard/DCIM
  • Launch the Gallery
  • The 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

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

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 (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 by css771
Guest t0mm13b
Posted (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 by t0mm13b
Guest css771
Posted

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

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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.