I have created a picture library and selected some pictures (through a check box). I have also added a menu item 'Download to my App' in the 'Actions' menu item in the standard toolbar. Now, on clicking the 'Download to my App' option, I want to download the selected pictures programatically to my application. So how can I get the ids/names/guids of selected pictures so that I can get SPListItem or SPFile objects of pictures.
Is there any token that I can get like ListId/ItemId in url?