Closed Bug 1035053 Opened 10 years ago Closed 7 years ago

[Device Storage] To Support Variant Cloud Storage

Categories

(Firefox OS Graveyard :: General, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(tracking-b2g:backlog)

RESOLVED WONTFIX
tracking-b2g backlog

People

(Reporter: mchen, Unassigned)

References

Details

(Whiteboard: [ft:conndevices])

As an user, I would like to share my cloud storage (ex: dropbox/google drive) into my device. Then there will be a new device stroage for me to access files. ex: playing music, view image and video.
blocking-b2g: --- → backlog
Whiteboard: [FT:Stream3]
And concept is to introduce a set of Web API called "Virtual Device Storage". 1. App A can register itself as a Virtual Device Storage. 2. Then there will be a new device storage created in runtime. 3. Other app can access this cloud storage by normal DeviceStroage Web API. 4. The file I/O will be routed back to App A. 5. The different protocol to communicate with variant cloud storage can be implemented on Web Content layer. Note: According to there will be a new device storage created in runtime, we also need to introduce a Web API in Device Storage for notifying web content about new storage appeared/removed.
See Also: → 1035051
(In reply to Marco Chen [:mchen] from comment #1) > Note: > According to there will be a new device storage created in runtime, we > also need to introduce a Web API in Device Storage for notifying web content > about new storage appeared/removed. I started an email thread in dev.platform and proposed that we add navigator.deviceStorage We could then have .addOberver, .removeObserver, .getAll, and .getDefault .add/removeObserver would allow registering interest in notifications, and we would have notifications about the default storage area changing and about new volumes being added/removed. deviceStorage.getDefault would return the same thing as navigator.getDeviceStorage deviceStorage.getAll would return the same thing as navigator.getDeviceStorages
Depends on: 1035748
Depends on: 1126694
Whiteboard: [FT:Stream3] → [ft:conndevices]
blocking-b2g: backlog → ---
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.