Closed Bug 766358 Opened 9 years ago Closed 9 years ago

Update device storage paths for Gaia (again)

Categories

(Core :: DOM: Device Interfaces, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla16

People

(Reporter: dougt, Assigned: dougt)

Details

Attachments

(1 file)

Turn out that the picture directory might need to be /sdcard/DCIM/.
The DCF spec is at:

http://www.jeita.or.jp/cgi-bin/standard_e/pdf.cgi?jk_n=51&jk_pdf_file=CP%2D3461A_e%2Epdf

If we want to have the camera recognized as a camera on major OS (this includes Linux), then DCIM has to be at the root of that filesystem, and images stored in subdirectories following the right conventions as set in this spec.
This supports multiples vendor / device for the same storage (see 3rd party camera app)

Do be like these guys:
  http://code.google.com/p/android/issues/detail?id=2960
 
> Do be like these guys:
>   http://code.google.com/p/android/issues/detail?id=2960

Here I meant "do not be like these guys".
Where the breakage is propagated to other vendors like Samsung.
Thanks.

it was like this before I was asked to change it to /sdcard/Pictures/  :(

We'll revert it back.
Attached patch patch v.1Splinter Review
Assignee: nobody → doug.turner
Attachment #634811 - Flags: review?(fabrice)
Comment on attachment 634811 [details] [diff] [review]
patch v.1

Review of attachment 634811 [details] [diff] [review]:
-----------------------------------------------------------------

I love the way you increase your commit log score ;)
Attachment #634811 - Flags: review?(fabrice) → review+
https://hg.mozilla.org/mozilla-central/rev/d9e9f7ebe2a1
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla16
You need to log in before you can comment on or make changes to this bug.