Closed Bug 646550 Opened 14 years ago Closed 14 years ago

Downloaded image should show in Android Gallery immediately

Categories

(Firefox for Android Graveyard :: General, defect, P2)

ARM
Android
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: tarend, Assigned: wesj)

References

Details

Attachments

(1 file)

(1) Go to any web page that shows a picture (2) long tap and "save image" Result: Image is available in the browser's "Downloads" section, but NOT in the Android Gallery. "Open" shows a view of the image that does not allow any sharing activity. It only shows up in the Android Gallery (in folder "download") after a Media Scan, which happens at boot time or after unmounting USB. Expected: show image in Android Gallery instantaneously.
Assignee: nobody → wjohnston
Attached patch WIP PatchSplinter Review
This works well, but I am not sure I am handling all of the garbage collection correctly. It also doesn't remove elements from the Gallery when they are deleted from the DownloadManager (they show up as thumbnails, but show blank pictures). So far the only solution I've seen for that is to "fake" mounting the directory: http://stackoverflow.com/questions/4646913/android-how-to-use-mediascannerconnection-scanfile
Attachment #523473 - Flags: review?(blassey.bugs)
Attachment #523473 - Flags: review?(blassey.bugs) → review+
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
VERIFIED FIXED on: Build Id: Mozilla /5.0 (Android;Linux armv7l;rv:2.2a1pre) Gecko/20110412 Firefox/4.2a1pre Fennec /4.1a1pre Device: HTC Desire Z (Android 2.2)
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: