File picker

Is it possible to invoke a file selector that returns the path for the file to my application?

I noticed that the Facebook app opens a pop-up when you are choosing which image to download.

There is no API for this.  You need to implement yourself.  You can add menu items to the request of the media, but it would not create the same interactions that you describe.

Tags: BlackBerry Developers

Similar Questions

  • How to read file returned by the file picker

    I'm going to obviously stupid here, but for the life of me I can't figure out how read in a text file returned by the file picker.  I am currently getting the good full path of the file in the file picker but where do I go from here?  BlackBerry.IO.file does not seem to exist in Blackberry 10 and I'm confused as to how I would use the HTML5 File API from only a file returned by the file picker path.

    Can someone please spit out a quick and dirty example showing me the rudiments of reading in the data file from a path returned by the file picker, please?

    Thank you very much

    DM

    Don't know if you have the path to the file, and then you left there. One thing to note. The file MUST be inside you bar (sandbox) OR you need to add the <> ermit > access_sharedermit >
    and then he can live the file in the shared folder on the device.

    Here is a code that you can use to read a file. I poached it our docs found here:https://developer.blackberry.com/html5/apis/blackberry.io.html

    
    
  • On a simulator file picker

    The file selector is available on the Simulator? When I add the bbcascadespickers library and add a selector to my page, it freezes on the splash screen when I load the application. I try it on the Simulator 10.1.X.1020.

    You can test again with the GC of the Simulator build?   I don't know any problem in the simulator which would impact on the file picker such that it is supported.

  • Error in the file Picker BB10

    When I try to choose a file to my device A DevAlpha containing an apostrophe in the file name, for example: "Gettin ' on you (Featuring Fergie & LMFAO) .mp3" file selector return syntax error: at least one digit must occur after a comma.

    I would like to ask - is it possible to fix this error?

    Thanks in advance.

    Nice work, you have found an error in our implementation of the file picker. I have confirmed that this is a problem with what we do. Apparently our encoder does not properly handle single quotes. I will file an issue on our end and let you know how it goes.

    You can follow here: https://github.com/blackberry/BB10-WebWorks-Framework/issues/385

    Thanks a lot for us to know. You can follow the progress through that issue.

  • Cannot use the file picker

    Whenever I try to use a file picker in any Store app on my laptop, the application crashes. I don't know what could be the cause.

    I'm not sure what it was, but after having downloaded manually about 50 updates to Microsoft.com and then restart, the file selector now works (I had problems with Windows Update as well, and that works too).

    Very strange, but at least it is fixed.
  • File picker for Business Catalyst WebApp server-side

    When we write our own WebApps in Business Catalyst, how can we present a file selection dialog box so that the user can select a file that exists on the server and possibly download a file on the server of this same dialog box?

    Catalyst for business have their own implementation of the present in the admin WebApp UI and I wonder if we can hang on it. I guess it will be a question to include a JS file (or several files) and then a jQuery works to hang it.

    Can I use the file in British Colombia picker?

    If this is not the case, how could I go about this as I guess I would need to provide some sort of connector ASP to do the work of collecting lists of files/folders which I guess would be not possible to do.

    Brett,

    If you (or someone else) for the license of the file Explorer code, I created for use in your applications to BC happy to do. Drop me a line.

  • Is there an API for developing WebWorks Playbook file picker?

    I'm looking for a way to ask the user to navigate to a file and then access the file in javascript. I found there is something for BlackBerry smartphone, https://github.com/blackberry/WebWorks-Community-APIs/tree/master/Smartphone/FilePicker. For the same reasons, I can not use the input type HTML field 'file '.

    Is there an equivalent for Playbook?

    Hi asiayeah,.

    Unfortunately it doesn't seem to be something similar to this extension in space Tablet currently. Seems that you need your own custom control (WebWorks APIs leverage) or extension (to dig down in the AIR or AIR > native) for this right now.

    Erik Oros

    BlackBerry Development Advisor

  • Bug with file picker? Keyboard unauthorized access?

    My main screen listen to escape and enter keys. The main screen has a button that launches a FilePicker (via an anonymous executable instance).  When the FilePicker is launched, I get a keyboard listener exception not allowed.

    This only happens to some of my clients.  On a Storm 2, and as well as on a 8530. No one else has complained to this topic, and I can't she reproduces on any Simulator.

    If enveloping in an invokeAndWait later to solve the problem? is this a known bug? is there a work around?

    Thank you
    ~ S

    It looks like a problem with the operating system.  He had problems with FilePicker in 5.0.  If you are looking to create your own, take a look at this example:

    Create a shortcut of the file selection screen

    http://supportforums.BlackBerry.com/T5/Java-development/create-a-file-selection-popup-screen/Ta-p/44...

  • Restrict the qml file picker for formatting

    According to https://developer.blackberry.com/cascades/reference/bb__cascades__pickers__filepicker.html#property-, you can define a filter in qml.

    Here is the code I try:

    FilePicker {
          id: filePicker
          type: FileType.Other
          filter: {"*.pem"}
          directories: [ "/accounts/1000/shared/" ]
     }
    

    I also tried "pem", but without success. The debug output indicates that the filter is set, but it does not show the files with this extension.

    Any tips?

    This code below works, but should be a specified exact directory (such as various, documents, etc.), you can't store files directly in the common dir.

    attachedObjects: [
            FilePicker {
                id: filePicker
                type: FileType.Other
                title: "Select files"
                directories: [ "/accounts/1000/shared/misc" ]
                filter: [ "*.pem" ]
                onFileSelected: {
                    console.log("FileSelected signal received : " + selectedFiles);
                }
            }
        ]
    
  • Validation of the application using Schematron file pick

    Hi all

    My requirement is "validation of the incoming request using schemetron leader (.sch) as a mediator."

    for the above prescription, I tried like below:

    The contribution of the Ombudsman to improve and output should write in the file adapter.

    I created the file schemetron for the validation of the entry application which is indicated below:

    <? XML version = "1.0" encoding = "UTF-8"? >

    " < scheme xmlns =" http://www.ASCC.NET/XML/Schematron "> "

    < name of the pattern 'validation of the sal' = >

    < context rule = "Employee/Employedetails" >

    < assert test = 'sal > 15000' > salary should be greater than 15000 < / statement >

    < / rule >

    < / pattern >

    < / schema >

    My diagram is as follows:


    < xsd: element name = "Employee" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "Employedetails" maxOccurs = "unbounded" >

    < xsd: complexType >

    < xsd: SEQUENCE >

    < xsd: element name = "empname" type = "xsd: String" / >

    < xsd: element name = "depno" type = "xsd: String" / >

    < xsd: element name = "sal" type = "xsd: int" / >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    < / xsd: SEQUENCE >

    < / xsd: complexType >

    < / xsd: element >

    The problem here is that I am able to deploy the project. While test, it does not validate the sal.i.e (if > 15000 sal and sal < 15000 is validated).

    Can someone tell me what that error is doing here and a solution to complete this requirement with success?

    Appreciate your help.



    Kind regards

    Teja

    Hi Alain,

    Thank you for spending your valuable time.

    After providing the full xpath.it is not able to validate the sal.

    I tried with another sample taking different schema and adding @namespace in schematron file

    My schema file

    http://www.w3.org/2001/XMLSchema.

    "xmlns ="http://www.example.org"

    "targetNamespace ="http://www.example.org"

    elementFormDefault = "qualified" >

    S chemetron file to validate the application of entry which is indicated below:

    http://www.ASCC.NET/XML/Schematron">

    http://www.example.org prefix' = 'a' / >

    SAL must be greater than 10000

    The schematron file works fine and sal is having validated according to the provided entries.

    Kind regards

    Teja.

  • Log Agent Insight - tracking logs files / pick up where he leaves?

    Hello

    I want to check that the Agent Insight of the newspaper (Linux in my case) actually 'catch up' after a restart of the service liagnetd or a server restart.  It seems to follow the current logfile against operational records, that the agent uses.  Please let me know if this is the case, or if my assumptions are false.

    Thank you

    Pete Boguszewski

    You are right, as soon as the officer first finds a file, it will begin to collect in the next event and will always watch where it stopped and will catch up if anything interrupts collection.

  • Cannot open files of Pages saved in my folder to iCloud

    If I create a page file on my iMac and save it in my iCloud account, I can't open it from there if I need to access it again. The only way I can open it is by connecting to iCloud and opening it from this location. Can someone please let me know if this process is correct, or do I have to change a setting somewhere for me to open my files from the folder local iCloud on my iMac. I have no problems at the opening of MS Word documents. Any help on this would be appreciated.

    Ken

    Start Pages and when the open file picker appears, click on the entry reader favorite iCloud and then navigate to the document, either in the folder of your Pages, or another folder. Click it, and then select open.

    If this does not work, search for the document in the Finder and then while pressing the option key held down, drag the file to your desktop. Double-click to open pages.

  • Lately my Windows Live Mail is no longer allow me to attach files to the message.

    Windows live Mail

    Lately my Windows Live Mail is no longer allow me to attach files to the message.

    When I try, I get the following error window:
    "The file picker was suddenly closed by Windows" and this happens everytime I try to join.
    Send and receive e-mail works great.
    I also tried to run the command file check:
    c:\sfc/scannow
    invites me to insert the Windows XP Pro SP3 CD disc.
    Since this is a computer that is about 41/2 years I have
    original OEM Windows XP Pro disk, even if I've upgraded to SP3 via MS download
    How this rpoblem of e-mail can be fixed?
    I really need help with this question
    Thank you

    Hi Tell214,

    The question you posted would be better suited to Windows Live Solution Center. I suggest you to send your application in the Windows Live Solution Center for better support.

    http://www.windowslivehelp.com/product.aspx?ProductID=15

  • How to call the BB10 file manager?

    Hello

    Is it possible to open a native file bb10 Manager application of webworks? I've not found anything expect the api file picker that is not exactly what I want. I have to just call/open the file manager inside a folder that is created by the app.

    tips are welcome.

    Thank you very much

    No I don't think so. The docs invocation page: Basic applications does not include the application of file manager: https://developer.blackberry.com/html5/documentation/invoking_core_apps.html

    The file picker has been designed to give applications an easy way to activate the file selection.

  • Get the thumbnail of the file for ListView

    Is there a way to get the thumbnail of an image? I have a listview showing the list of selected images and I want to display the thumbnail and the name of the file. Here's what I have so far

    I let the user select a picture through the file picker that returns only the path of file then I go this path in a method to add it to the datamodel.

    CPP file: I spend in the path of the image file that has been selected

                QVariantMap itemMap;
            QFileInfo fileInfo = QFileInfo(filePath);
            itemMap["name"] = QVariant(fileInfo.fileName());
            itemMap["image"] = QVariant(fileInfo.filePath());
    
            if (indexOf(itemMap) == -1)
            {
                   insert(0, itemMap);
             }
    

    ListItem QML

    StandardListItem
    {
        id:pictureItem
        title: ListItemData.name
        imageSpaceReserved: true
        imagesource: ListItemData.image
    
    }
    

    I'm pretty new to this so I have a feeling strong on this issue, I'm going the wrong way, but I noticed that I get an error message saying: he can't access element of . My thought was that the image space would diminish the image to fit the placeholder

    For the error do you put the permission to access_shared?

    I suggest that you should be creating thumbnails of images, save them in the folder of application data and update the image of ListItem.

    If you experience a delay when filling ListView, then you must think of preloading images and caching.

Maybe you are looking for

  • Satellite U400 - after update BIOS lighting lights

    Since the update the BIOS on my U400-15E (Vista 32), lighting of the multimedia keys, touchpad always turn after the restart, recovery from the sleep or Hibernate. Touch the illuminance on the off button once does that second touch them will turn off

  • On Satellite A100 DVD drive is not accessible - i/o device error

    I have a Satellite A100 - 01 G, but the CD/DVD drive is not accessible when I try to open the files on a disc. When I try to run a disc I ge "the request cannot be performed an i/o device error.When I click on the drive icon it says that the applicat

  • Lenovo Thinkpad Edge S430 other devices

    Hi guys,. Someone at - he installed W8 RTM in S430? It is always showing three "other devices": PCI device PCI\VEN_10EC & DEV_5229 & SUBSYS_21FC17AA & REV_01 PCI\VEN_10EC & DEV_5229 & SUBSYS_21FC17AA PCI\VEN_10EC & DEV_5229 & CC_FF0000 PCI\VEN_10EC &

  • Compatibility of K4000 keyboard Bluetooth HP Slate HP 10

    What HP K4000 keyboard Bluetooth HP Slate 10 compatibility?

  • IE e-mail transmissions

    I use Windows 6, XP. When I try to send an email to email IE I get the following error: the server does not support the required HTTP methods. Account: ' http://**** address email is removed from the privacy *', Port 0, secure (SSL) Server "PROPFIND