Closed
Bug 811258
Opened 12 years ago
Closed 12 years ago
[Bluetooth] can share files, but always shows "file transfer failed"
Categories
(Firefox OS Graveyard :: Gaia::Bluetooth, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 811615
People
(Reporter: dkuo, Assigned: iliu)
References
Details
When using Gallery and Music, users can share files to paired devices, but always shows "Bluetooth file transfer failed"
Reporter | ||
Comment 1•12 years ago
|
||
Related to bug #809781
Reporter | ||
Updated•12 years ago
|
Assignee: dkuo → iliu
Reporter | ||
Comment 2•12 years ago
|
||
The flow of how we share files via bluetooth in gaia: - Gallery or Music (File) -web activity-> Bluetooth app (File) -> mozBluetooth (File) But currently result in: - Gallery or Music (File) -web activity-> Bluetooth app (Blob) -> mozBluetooth (Blob) Looks like after passing by web activities, a File object will become a Blob object, but mozBluetooth api needs File, not Blob object because it needs File.name and File.size Blobs doesn't contain .name and .size So that's why it always shows failed for current gaia.
Reporter | ||
Comment 3•12 years ago
|
||
(In reply to Dominic Kuo [:dkuo] from comment #2) > The flow of how we share files via bluetooth in gaia: > > - Gallery or Music (File) -web activity-> Bluetooth app (File) -> > mozBluetooth (File) > > But currently result in: > > - Gallery or Music (File) -web activity-> Bluetooth app (Blob) -> > mozBluetooth (Blob) > > Looks like after passing by web activities, a File object will become a Blob > object, > but mozBluetooth api needs File, not Blob object because it needs File.name > and File.size > Blobs doesn't contain .name and .size > One correction, Blob does have .size, so the only missing property is .name for mozBluetooth api. > So that's why it always shows failed for current gaia.
Updated•12 years ago
|
Component: Gaia → Gaia::System::Bluetooth
Reporter | ||
Updated•12 years ago
|
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•