As a WebWorks developer, my <input type="file"> elements will trigger the file picker card #150
Comments
Right now, using BB10 OS version 10.0.6.386 on the dev alpha, there seem to be an issue choosing one (or even more) file(s) from filesystem with the The next issue with And one more issue to be mentioned, if I choose the "Pictures" element in the file picker it doesn't show any image previews, only the select boxes which are blank/white elements. |
@RonMen -
input element is this
|
For your other issue, multi-select on a file picker will exposed through other invocation APIs and will be possible |
THX. As I wrote in the forum discussion, it doesn't make any sence to me to not add the filePath to the file object. Right now we are not able to handle eg. fileuploads using the HTML5 FileTransfer (or the corresponding WebWorks extension for PB + BB OS for SmartPhone) since we need to define the I have already worked with the |
We have been discussing this issue a little bit in the last couple of days Have you tried XHR2 http://www.html5rocks.com/en/tutorials/file/xhr2/ |
THX. XHR2 isn't new to me. Since FileTransfer is there for PB (WebWorks Community API) or by default in BB10 it seem to be a step backwards when we have a nice FileTransfer API for such use cases but we "need" to work with the XHR2. I know almost all browser vendors, except FF, work in this way with a fakepath. |
I don't personally think of this as a step backwards at all. There are two separate use cases.
Changing default HTML behaviors specially to fit WebWorks better is never a good idea. These cases should be handled through WebWorks APIs. @kwallis thoughts? |
I like this train of thought of WebWorks versus re-useable web content. Once we have access to the file picker from a WebWorks API, then I think both scenarios are covered in appropriate fashion. Ken Wallis Product Manager – BlackBerry WebWorks Research In Motion (905) 629-4746 x14369 From: Nukul Bhasin [notifications@github.com] I don't personally think of this as a step backwards at all. There are two separate use cases.
Changing default HTML behaviors specially to fit WebWorks better is never a good idea. These cases should be handled through WebWorks APIs. @kwallishttps://github.com/kwallis thoughts? — This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. |
Ok. I think @nukulb pointed things out quite well and the mentioned HTML behavior changings for only the WebWorker devs wouldn't be a good choice, but on the other hand we don't know what is on your list and what we can expect in the (near) future. I only want to notice missing things on other "stable" mobile OSs since BB10 is on it's way to one of them and we might be able to give you our ideas and thoughts about it. I'm in the process to "decompose" all the APIs and possibilities of the BB10 device in use case I can think of to get the best of all, that's my intention writing the one or other thing here. THX. |
We are very appreciative of all the feedback you are providing here! By all means please continue to post your thoughts here in GitHub, already you have provided valuable insight. Looking forward to seeing what you come up with from a use case perspective; there is still so much for us to do, would be good to get input on what use cases people see as important. If you have something you wish to share that goes beyond a particular issue here in GitHub, please feel free to email me directly at kwallis@rim.com and we can figure out the best way to share it (maybe a GitHub wiki page or something) |
I had a small discussion about the file picker situation with some other devs around and talked about the FileAPI in general. For this scenario of the file picker, wouldn't it be the better choice to return a list of FileEntries since they represent files in the FileSystem? Referring to http://www.w3.org/TR/file-system-api/#the-fileentry-interface I would vote for FileEntry, even if browser vendors (webkit, ff, opera, ie, ...) implement the other way to only return a list of files like here: http://www.w3.org/TR/FileAPI/#dfn-filelist |
Adds manual tests. Fixes issue blackberry#150 Fixes issue blackberry-webworks/BB10-Webworks-API#27
Adds manual tests. Fixes issue blackberry#150 Fixes issue blackberry-webworks/BB10-Webworks-API#27 Reviewed By: Igor Shneur <ishneur@rim.com> tested By: Igor Sheneur <ishneur@rim.com>
Adds manual tests. Fixes issue blackberry#150 Fixes issue blackberry-webworks/BB10-Webworks-API#27 Reviewed By: Igor Shneur <ishneur@rim.com> tested By: Igor Sheneur <ishneur@rim.com>
Acceptance Criteria
The text was updated successfully, but these errors were encountered: