See the selection in the image selected when the use of invokeFilePicker() second time

Hello

I use invokeFilepicker() to select images to my Gallery.

The code I'm usign is like that, and it works fine.

function openFilepicker() {
// filepicker options
var details = {
mode: blackberry.invoke.card.FILEPICKER_MODE_PICKER_MULTIPLE,
type: [blackberry.invoke.card.FILEPICKER_TYPE_PICTURE],
viewMode: blackberry.invoke.card.FILEPICKER_VIEWER_MODE_GRID,
sortBy: blackberry.invoke.card.FILEPICKER_SORT_BY_NAME,
sortOrder: blackberry.invoke.card.FILEPICKER_SORT_ORDER_DESCENDING
};
blackberry.invoke.card.invokeFilePicker(details, function(path) {
patharray = path;
//blackberry.system.setWallpaper('file://' + path);
showToast('Wallpaper changed!');
var tempChose = selectedPhotosDiv();
$('.chat-input-container').prepend(tempChose);
},
// cancel callback
function(reason) {
showToast("cancelled " + reason);
},
// error callback
function(error) {
if(error) {
alert("invoke error " + error);
} else {
console.log("invoke success ");
}
});
}
function showToast(msg) {
blackberry.ui.toast.show(msg);
}

Now after selecting images and choice made, I want to again select some pictures more.

So here, I want to make the selected alreay images selected.

I already have the list of the table that is selected, but I don't know how to make the selection.

Waiting for more

Thank you

Hi there, I took a quick glance through the docs:
https://developer.BlackBerry.com/HTML5/APIs/beta/BlackBerry.Invoke.card.filepickeroptions.html

And AFAIK, the API will not lets you specify a file to be highlighted when the selector is presented. You could present this as a JIRA / fiction asks through the developer Issue Tracker.

Tags: BlackBerry Developers

Similar Questions

  • Where the of can see the in and out point time?

    I'm combining a lot of extracts from different movies into one and because sound levels are different in each clip, I extracted the audio clips, mp3gain applied to them and them inserted in the calendar below the corresponding video clip. Of course, I would first of all the points of entry and these audio clips on the same values as the video, but I don't know an easy way to see the in and out point time.

    If I double click on the video (i.e. open it int the preview window) I can scrub the timeline and see where the point is in, but is not very accurate, and I wish that were true.

    As well, any of this just ask: how to find exactly in/point of a clip in the timeline to exit?

    For what you are wanting to do, I highly recommend using Audio Mixer. This is great to do exactly what you want and will be 'automate' changes via track keyframes.

    I do this as on the process of the latest in my editing, because I want to make sure I have all my game cuts. In fact, any Audio work is at the end of my workflow. Once my changes are visually where and how I want them, I launch Audio Mixer. If I have several tracks Audio, such as Narration and soundtrack, I cut these and start "riding gain", or "soil" that I play the movie and listen very carefully with good headphones. As the movie plays, I adjust the Gain to exactly what I want for this entire Audio track. Because PE sets keyframes on the Audio track, you can go back and basically re-save your changes in a particular area. It is much simpler in PE, as Audio Mixer of PrPro, while the latter allows more "power". When I finished my Track dialogue, I leave on as reference and then reactivate my storytelling, adapting it properly. Finally, I will leave these two and address the same way soundtrack. Once this is done, you can then play with the Audio Mixer Panel open all and look at the 'pot' for Gain moves automatically in each Audio track.

    The main reason for doing this the last stage of the workflow of editing is because key frames are on the Audio track (s) and NOT on Clips. If you go to edit the Clips, changing their duration, etc., you need to delete your key frames of the track and start over, or adjustments will be more correct.

    It's basically how it's done in Hollywood.

    Good luck and don't forget a good pair of headphones to really listen carefully. I do not work with a large number of meter settings, other than look for cutting, but rather listen to the piece and my changes.

    Hunt

  • My use of the disc skipped dramatically. How can I see the use of the disc by folder or subfolder to see what happened?

    My use of the disc skipped dramatically.  How can I see the use of the disc by folder or subfolder to see what happened?

    Probably - system restore
    System Restore: frequently asked questions
    http://windowshelp.Microsoft.com/Windows/en-us/help/517d3b8e-3379-46C1-B479-05b30d6fb3f01033.mspx
    TaurArian [MVP] 2005-2010 - Update Services

  • How can I download the software for a second time without a backup with the serial number?

    Hi guys,.

    stupidly my gear broke and I missed it to make a backup for programs. May this is a stupid question, but how can I download Lightroom for the second time? I have the serial number for this, but can not find a link without buying it again...

    Thanks a lot for your help!

    See you soon,.

    Hannah

    Lightroom - all versions

    Windows

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Windows

    Mac

    http://www.Adobe.com/support/downloads/product.jsp?product=113&platform=Macintosh

  • Additional column names selected when you use the describe "popup" to select columns

    Hello

    In SQL Developer 3.2.20.09, if you use the popup describe the function on a individual table columns using Ctrl + click (not shift click choosing a range of columns) and select and then drag them to the SQL worksheet to find the column names, it includes all of the columns between the individual columns that have been selected.

    For example if I choose column 1 and 5, it includes 1,2,3,4,5 columns when I drag them through.

    Simple to reproduce on any table, just open the SQL worksheet, type the name of a table, open the popup describe and select some columns.

    Kind regards

    Steve

    Is not past in v4 ai2 it seems to be fixed.

  • I bought a bunch of vector images (doing different things of the mascot), how can I separate the images so I can use one at a time?

    I'm new to Illustrator.  When I select an image to move, all 6 of the mascot images move together.  They are on a transparent background, but I only want to use a single image at a time.

    Selection in Illustrator works differently than in Photoshop.

    You usually select stuff by clicking on the artboard.

    If it is a group, then object > ungroup. You may need to do more than once.

    Also: in the layers panel, if there is a triangle in front of a group or object, you can consider the issue to analyze.

  • Tecra A7 - seeing the battery flashes orange several times

    Hello

    I recently acquired a Tecra A7 but without a battery or power adapter.
    I bought a power (15V, 0 6 a) adapter and plugged.

    Whenever I'm trying to power the laptop, the only answer I get is the battery light blinks orange 11 - 12 times.
    Note: I don't have any battery connected.

    Could be the problem?

    A solution for this problem I meet someone knows?

    Kind regards
    See you soon,.
    KrisK

    Hello

    If there is no laptop hardware problems must run with AC power only and without battery.
    Of course we don t know if this laptop is defective or not, but it turns out that, according to specification Tecra A7, you use AC adapter / right CC.
    If you see flashing power led only it can be electronic power supply is defective and had to be verified by the authorized service provider.

    Sorry, but on this virtual path, it is not easy to say more than that.

  • Discoverer get the parameter sys_context every second time

    Hello

    I have a very strange situation with Oracle Discoverer BI 11g (11.1.1.6.0)

    There is a package which is reflected in the context of two values DATE_FROM and DATE_TO. In the view, it looks like:

    ET aeb. GLOB_YEAR_MONTH > = to_number(SYS_CONTEXT ('SEPA' 'DATE_FROM'))

    ET aeb. GLOB_YEAR_MONTH < = to_number(SYS_CONTEXT ('SEPA' 'DATE_TO'))

    I created workbook with the worksheet, which is based at the sight and use parameters to pass to the sys_context in addition.

    The problem is that opening spreadsheet for the first time and entering the settings I get the empty result, but as soon as I do refresh parameters (values remain the same) I results.

    In other words, every second I get the results for the query execution.

    Anyy ideas?

    Thanks in advance

    Seems in this case, the problem is:

    You can set a worksheet to set up a different session many
    These parameters and settings is valid for the duration of the
    Discoverer session. However, users should be informed of a problem then
    This technique is used with the discoverer Plus and the Viewer. Discoverer of the Web-based
    sets cache the results of SQL queries. When a workbook is opened, if the same
    SQL query has already been run, then the previous results are returned to the
    user. Discoverer does not detect that the context has changed and that the
    query will now return different results. This problem can usually be fixed by
    the user refreshing their workbook.

  • We get a SIGBUS error when you press NavigationPane a second time.

    Hello!

    Im working on an application of news at the moment. The news are displayed in a list. When a ListItem is triggered, the navigation pane is pushed to the next page, like this:

    ListView {
                            property variant newsListViewOrientation: orientation;
                            id: newsListView
                            dataModel: xmlDataModel
                            scrollIndicatorMode: ScrollIndicatorMode.ProportionalBar
    
                            onTriggered: {
                                newsListView.clearSelection()
                                newsListView.select(indexPath, !newsListView.isSelected(indexPath));
                                var selectedItem = dataModel.data(indexPath);
    
                                var page = newsDetailPage.createObject();
                                page.title = selectedItem.title;
                                page.info = selectedItem.info;
                                page.date = selectedItem.date;
                                page.imagePath = selectedItem.img;
                                newsNavPane.push(page);
                            }
    
                            onSelectionChanged: {
                                var selectedItem = dataModel.data(indexPath);
                                console.log("selected Index: "+indexPath+" | selectedItem: "+selectedItem.title);
                            }
    
                            layout: StackListLayout {
    
                            }
    }
    

    The first time when you trigger the ListView, it works very well and pushed to the next Page. If you skip the navigation pane and try to push it again, the application goes down, and I get the following error on the console:

    Process 496513394 (SanofiTemp) terminated SIGBUS code=1 fltno=5 ip=7899eaf2(/base/usr/lib/qt4/lib/libQtXml.so.4.8.5@_ZN8QDomNodeC2EP15QDomNodePrivate+0x15) mapaddr=0000eaf2. ref=00000005
    

    Some more information:

    ListView is part of a tab, which belongs to a TabbedPane. The TabbedPane has another tab, with an another NavigationPane (the other NavigationPane works fine btw). And another thing: my NavigationPane has this game:

    onPopTransitionEnded: {
                    page.destroy();
                }
    

    No idea what means this error and how to solve?

    Thanks in advance!

    I found the error comes to me immediately. For those who already have this problem:

    The problem has been the onSelectionChanged method:

    
                            onSelectionChanged: {
                                var selectedItem = dataModel.data(indexPath);
                                console.log("selected Index: "+indexPath+" | selectedItem: "+selectedItem.title);
                            }
    

    This code was interrupted somehow push again navigation pane. If anyone knows why, feel free to explain it

  • can not see the size / used for desktop HD icon

    Then... I managed to get the main drive Macintosh HD appears in the sidebar of Finder and on my desk.  So far so good.

    And I managed to get the Finder View Options to show the size (and space still free if writable) to the drive and folder of the icons on the desktop.  EXCEPT...

    ... Macintosh HD, disc master system, which is of course that I'm more interested!  No text size or free space for that icon.

    All recommend for anything - dock icon, mini app, pref setting - which would allow me to see the used/free space on the primary drive at a glance without having to launch the utility disc or cmd - I Info or another tool?  I just want to see, in the text or graphic to sectors or at the bar of the gauge form, somewhere on my desk.

    Right-click on the icon of the hard disk on your desktop.  In the submenu that appears, select "Show view Options".

    Then check "view point info.

    If this does not work as a first step, relaunch the Finder (-> force quit-> Finder-> stimulus), then try again.  You can also start your computer Safe Mode, follow the steps that I have described above and see if it works.  If this is the case, restart your computer normally, and then try again.

  • I have a Mac Book Air of 2015 running El Captain I see the airplay icon in my menu bar and I've upgraded to the latest version of the software on my AppleTV 2 but I can not Airpay icon on the menu bar of my mac to turn blue when I select the apple TV conn

    I have a Mac Book Air of 2015 running El Captain I see the airplay icon in my menu bar and I've upgraded to the latest version of the software on my AppleTV 2, but I can't get the Airpay icon on the menu bar of my mac to turn blue when I select the apple TV connected to a HD from LG smart TV. Help!

    Hi, Arghbee1.

    Please visit Apple support communities.

    I understand that you are unable to AirPlay from your Mac to your Apple TV.  Here are some troubleshooting steps that I recommend to go through this problem.

    Get help

    If you do not see the AirPlay icon , make sure that your Apple TV is awake and that it meets the system requirements.

    If you do not see your Apple TV in the AirPlay menu, make sure that your Mac and Apple TV comply with the system requirementsand your software from the Apple TV is updated. Also check your firewall settings:

    1. Choose the Apple menu > System Preferences, click Security & Privacy, and then click the Firewall tab.
    2. Click the lock icon and enter an administrator name and password.
    3. Click Firewall Options.
    4. Deselect the option "block all incoming connections".
    5. Select the option "automatically allow signed software to receive incoming connections.

    If your office does not look great on your HDTV, high-definition TV could apply image quality improvements that are not the best for the computer images. Check the manual of your HDTV for more information on how to adjust your HDTV settings for use with a computer. Your HD TV could offer a more appropriate display mode, such as the computer or game mode mode. Also try adjusting the HDTV settings like sharpness, retail building and noise reduction.

    If you mirror your screen and the image correspond to your HDTV screen, you can adjust the size of the Office for the best image. Click the AirPlay icon, and then select an option under "game size desk to." If you fit to desktop size to your Apple TV, the image fills the screen HDTV but will not look as good on your Mac screen. Learn more about overscan and underscan and what you can do about it.

    If AirPlay disconnects itself, your wireless network can be too busy or have too many wireless interference to maintain the connection of the antenna. Learn how to solve the problems of Wi-Fi connectivity. The manual of your router network may have additional suggestions for maintaining a strong and fast connection with your devices.

    Use AirPlay to view a video of your Mac on a HDTV

    See you soon

  • Cannot see the whole picture when you move into a smaller template with the direct Selection tool

    Hello!

    I recently got my laptop cleaned in preparation for examinations and such (I'm in high school). As I belong to art class, when Basic programs have been re-installed we also got the Adobe programs, but we got the CC 2015 version instead of the version CS5, we had earlier. After a stressful week, I finally had time to sit and work on my projects aside, but I quickly found a big problem which stops at my work. After re size the image at the size I want, I don't see the whole picture when I move in the smallest area with the direct Selection tool more. Photos I use are generally quite large, that I've tried to work with now are 451mmx338mm after the scaling down and I have a 'framework of standard departure' to 60mmx15mm (I make the bosses), so now I have basically has to guess my way toward a good composition...

    Can I make it work again?

    Click on the image and hold the pointer of the mouse for a while. And then drag.

  • Select an exact size of the image to be copied when you use the "Marquee" tool

    How can I select an exact size of the image to be copied when you use the "marquee"?...

    I like to choose a section image of 14.00 x 12,00... When you use the marquee selection tool, you can not control the mouse to select exactly 14.00 12.00 x is always a little higher or lower at 14:00 or 12: 00 am...

    is there a way that you can easily select the exact size of 14,00 x 12,00?...

    Please advise...

    see you soon,

    Hi wong168,

    You can use the fixed size option and enter the size in the input fields using the unit of measure of your choice; That is to say in, px, cm etc.

    If you right click in the entry boxes there are the list of measured values.

  • Windows 7, I did a "new folder" to put pictures in, how can I do this? When I select all and right click to add photos to my account, I don't see the folder

    I'm new to using Windows 7, I did a "new folder" to put pictures in, how can I do this?  When I select all and right click to add photos to my account, I don't see the folder...

    Drag and drop the video,

    http://www.YouTube.com/watch?v=6n3YKsgOdsk

    Or right-click and use cut then right click on the folder and select Paste.

  • quick mask. When you press q after a quick mask of finishing, I don't see the selection. When I can't see the diagram of the opening levels. How can I solve this?

    quick mask. When you press q after a quick mask of finishing, I don't see the selection. When I can't see the diagram of the opening levels. How can I solve this?

    He has worked previously. I must have pressed some buttons or everything that makes this problem occurs.

Maybe you are looking for