Best approach to select from multiple/all photos from the CameraRoll iOS?

I want to use FlashBuilder 4.5.1 to build a photo organizer project mobile flex that allows me to select several photos from the iPhone Camera Roll.

I saw the class flash.media.CameraRoll , but it doesn't seem to provide CameraRoll.browseForImage () which opens a dialog box to select a SINGLE photo.

Has anyone built an application that allows users to select multiple photos, or select all from the CameraRoll? You can access the embedded thumbnail DB or do you to import all the photos in the ApplicationStorageDirectory first? I'm better off the coast of writing an application native iOS?

Mobile Flex allows something like this:

// is this a security violation?
var cameraRoll:File = new File('/var/mobile/Media/DCIM');

var photos:Array = [];
var folders:Array = cameraRoll.getDirectoryListing();
for (var i:int=0 ; i<folders.length; i++) {
    var files:Array = folders[i].getDirectoryListing();
    for (var j:int=0 ; j<files.length; j++) {
        var photo:File = files[j];
        photos.push(photo);
    }
}
// show photos, somehow...

However, this method does not give access to thumbnails managed by: ' / var/mobile/User/Media/Photos/Photo database '

from: http://stackoverflow.com/questions/6936881/how-do-you-access-the-ios-camera-roll-from-a-fl project-mobile-ex

At the moment (AIR 2.7), the CameraRoll class does not have the features you need. In AIR 3 (data release TBA), you can write a native extension that would provide these features. So if you need these features right now, or you do not the benefits of using AIR for the rest of your application are sufficient, you must write a native application. However, if the rest of the application is faster and easier to write Flex that Objective C or you want to publish the application on Android and Playbook (and maybe the office as well), and you can wait a bit for AIR 3, then you will probably be out before sticking with Flex.

Tags: Adobe AIR

Similar Questions

  • I use a PC and I used LR3. I'm a newcomer to LR, so patient with me! My problem is related to the import function. I have a photo library on an external hard drive. I slowly imported previews of the photos selected from the library in

    I use a PC and I used LR3. I'm a newcomer to LR, so patient with me! My problem is related to the import function.

    I have a photo library on an external hard drive. I've slowly been import previews of the photos selected from the library in my catalog, adding them during the import process - well. But now, I hit a problem. Another folder in my library contains several subfolders, each containing a number of photos (a mixture of RAW steals (naves) and jpg). I was importing found in my catalog each Subfile in turn, using the Add function, usually of the jpgs only from each Subfile. It works fine, until I reached a particular Subfile. For some reason when I try to import from it and select the secondary file as a Source, only the RAW (NEF) images appear in the preview pane (sorry, forgot the correct term for it!). I know that jpg files are in this auxiliary file on the external hard drive, because when I view its content in Windows, they are all there. But try as I can (choose the file under source, select the folder parent as a source, try to copy or move them, instead of adding them), nothing seems to work. Since they do not appear in the preview pane, I can't import them. It does appear that this a Subfile where the problem exists, but I don't see anything that is different from the others (names of files under all use the same structure - yyyy-mm-dd_custom name, and pictures in all subfolders are adopting the same denomination structure too - yyyy-mm-dd_sequential number_custom name.) NAVE/JPG. So what I am doing wrong? Any ideas please.

    It is possible that the images in this particular subfolder were taken in your camera in RAW + JPEG.  If so, you will need to go to preferences under the general tab and make sure the box "processing JPEG files files next to raw as separate photos" is checked.

    However, assuming that this is the case, there is really no reason to import the JPEG file if you already have the RAW file.

  • Select from the table where the last character of the string is numeric

    Hello
    I have a table of STREETS with a field called ADDRESS. I want to select all the records in streets where the last character in the address is a number.
    Select ADDRESS of STREETS where regexp_like (substr (address,?,?,), '[0-9]');
    --? means that I don't know what to put here!

    I don't know if substr is the best approach to do this, because I want only the last character and the records are of different lengths.

    Thank you!

    Hello

    If you want to use regular expressions:

    WHERE     REGEXP_LIKE ( address
                  , '[0-9]$'
                  )
    

    You can get the same results, no doubt more effectively, without regular expressions:

    WHERE     INSTR ( '0123456789'
               , SUBSTR (address, -1)
               )     > 0
    
  • Image display according to the value selected from the bean of choice

    Hello

    I have a table with columns of bean of choice and have an another bean image

    based on the value selected from the bean of choice of a particular line, I want to display an image in the column of bean image

    and it is particularly in the line, in which the user changes the value of the bean of choice.

    Please help me

    Thank you

    Hello
    H1.

    If I choose 'user' of choice its not display any image, but I need disabled display images it

    -have you set the URI of the Image of the time of the image?
    -deleteicon_enabled.gif N deleteicon_disabled.gif

    Concerning
    Meher Irk

    Published by: Meher Irk on October 24, 2010 12:18 AM

  • ORA-22992: cannot use LOB Locators selected from the remote tables...

    Oracle 10.2.1.0.4
    Solaris 10

    We try to access a table in another database via a db_link.

    The table we are trying to access has a LOB.

    We get the following error: ora-22992: cannot use LOB Locators selected from the remote tables.

    Is there a way to get around this? We need the data in the BLOB field.

    Thank you.

    See on metalink:

    ORA-22992 has a workaround solution in 10 gr 2
    DOC - ID: 436707.1

    Werner

  • Photo, what are the criteria for images selected from the collections of photos?

    With Photo on my Mac when I'm in the view "of the years', I see all my photos. When I switch to 'Moments' I see all the photos, especially older. When I go to "collections", then I self pictures? What are the criteria for images selected in 'collections' of photos? Thank you

    You should see all the photos in the Moments, the years, Collections, unless you have the "Summarize" option enabled in Photos > Preferences > General.  Then some pictures will be omitted, but the rules are not documented.

  • produce a series of numbers to select from the shortcomings of the ID column

    (1)

    Suppose I have a table t that contains lines like this:

    A AND B
    ---------- ----------
    2 4
    6 7

    I would like to use select to produce lines with numbers between a column and column B included
    for each line, like this:

    Select from t...

    2
    3
    4
    6
    7

    (2)

    Suppose I have the ID column that is lacking, I want to get the lowest < N > numbers available between the gaps.
    I did some research and I can find the range of gaps, but I can't get the numbers listed separately, therefore
    I ask the question (1). But is there a direct way for the list instead of going through beaches and the list.

    For example, I have the ID column that has

    2
    5
    6
    7
    9
    2000000

    I would get a select query that produces

    Select...

    3
    4
    8
    10
    11

    I have a way to get a list of 2 to 2000000, then less than what we need to get all the
    numbers of the gap, but who is not effective and may is short-term memory.

    PS: before I post on this group, I did some research already on "connect by", with recursive queries.

    PuraVidaOTN wrote:

    I would like to use select to produce lines with numbers between a column and column B included

    for each line, like this:

    Assuming that no duplicates in the table...

    with t as
    (
     select 2 c1,4 c2 from dual union all
     select 6 c1,7 c2 from dual
    )
    select c1,c2,c1+level-1 c
    from t
    connect by c1+level-1 <= c2
    and prior c1 = c1
    and prior c2 = c2
    and prior sys_guid() is not null;
    
    C1 C2 C
    -- -- -
     2  4 2
     2  4 3
     2  4 4
     6  7 6
     6  7 7 
    

    Suppose I have the ID column that is lacking, I want to get the lowest numbers between the gaps.
    I did some research and I can find the range of gaps, but I can't get the numbers listed separately, therefore
    I ask the question (1). But is there a direct way for the list instead of going through beaches and the list.

    I have a way to get a list of 2 to 2000000, then less than what we need to get all the
    numbers of the gap, but who is not effective and may is short-term memory.

    It's the best way in my opinion...

    Or rather less, you can try outer join...

    Published by: JAC on December 19, 2012 21:28

  • Best approach and Apps to manage Pix taken on the iPhone and sync.

    Can someone direct me to articles or the spirit to give me a quick post re: a great way to manage my pix that I take on my iPhone 6 then organize into folders easily and have the synchronization of files to my other mobile devices and Apple computers? My iPad and iPhone are both on the same iOS but my computers are a little different: I always use Lion (10.7.5) on my Mac Pro and Yosemite (10.10.5) on my Macbook Pro. My equipment is:

    1. iPhone 6 (iOS 9.3.2)
    2. Air iPad (iOS 9.3.2)
    3. MacBook Pro (OSX Yosemite 10.10.5)
    4. Mac Pro (OSX Lion 10.7.5)

    Basically, I want to be able to create a folder of say on my iPhone and put relevant pix in it and have the folder synchronization and pix of my devices above. And if I were to edit or delete a photo on another device synchronization of changes to the other 3 devices. Key word is easily. The best analogy I just with that is IMAP for email, and whose changes are instantaneous and fluid to all other connected devices assuming that you use the same AppleID devices of course.

    Maybe it's me, but I find a bit intuitive Photo Apple application so thinking maybe someone has created a more robust application and intuitive that works on all the other computers and mobile devices Apple.

    I read reviews on App Store and Googling but thought maybe I'd get a stronger recommendation here among the Digerati Apple

    Thank you

    Steven

    the built solution just for this is iCLoud library except for the Lion system - there is no transparent and automatic solution for Lion do what you want

    iCloud Photo library FAQ - Apple Support

    LN

  • In first items 14 scene selection from the Menu movie (Motion, holiday, Christmas frame) does not bind the scene 6 main Menu page. It places the scene 6 2 Menu scenes, but unrelated to the other, the main or scene selection Menu. What it

    How can I edit a movie Menu template? I use a Motion - celebrations and events - model of menu for Christmas related to 6 scene markers. Five scenes are represented by a thumbnail and name on 1 Menu scenes that appears when the button on the main menu page scene selection is reached. However, the scene 6, which has also a sticker and marker corresponding scene, is on another page (Menu 2 scenes) that does not link to the home page (does not appear in the scene selection Menu that has just 5 thumbnails and an arrow to return to the main Menu). In the area of work under the clip monitor Main Menu 1, Menu 1 and Menu 2 of scene scene appear together and by clicking on the thumbnail in the scene 2 menu the link to the clip 6 works except when Preview Disc is played, in which case the Menu 2 scene disappears. The scene marker is correctly linked, it just does not appear in the menus of the finish. The first five items of the Assembly (related to the scene selection menu) are all the video clips, but the 6th clip is a slide show. I read several threads on menus but found no mention that a slide show scene marker is treated differently by a menu template. Is it? The 5 first clips are all in the format AVI - DV with imported project files previously saved in this format, so that they could be related and engraved on a DVD. The slideshow is imported from PSE14 and 6 attached clips have already been burned successfully on disk (without menu) as a try-out. However, I was not satisfied with the resolution, then saved individually at the only other resolution DVD - SD576. Now I'm stuck at getting this sort menu. I operate 10 WIN. Any help will be accepted with gratitude.

    Hi, thanks for your response. I can rephrase the question very easily: why I've been so stupid? My problem was that I couldn't see a link in the menu between the Menu scenes 2 template and the main Menu. It turns out that the link was there all the time (a sideway arrow just above the main Menu link) but I thought he was part of the link from the main Menu and never clicked on it. When I burned my project to a disc and played on television, the sideway arrow was a different color and, of course, another link... the link I was looking for. Then, my apologies, problem solved, lesson learned - click on everything you see. Thank you. And I was very happy since the upgrade to 14 before except when it makes me feel stupid, which is frequently.

  • Script to move a selection from the limits of spread?

    I have a document with a difference much larger than the content in the document.

    1-oversize-pasteboard.png

    I have another template file with a gap corresponding to the size of the limits of all selected objects. I need to open this template, paste the objects, that pasted selection of objects align to the top left of the spread (aka cardboard neighborhood or work?) and then export as a PDF and .eps.

    Due to a lot of confusion about various coordinate systems, my ideal would be not having to move what that at all, but have instead, the upper left corner of the pasted content aligned with the upper left of the spread, as it is glued. Paste or paste in place makes the content where I need them. The objects are too weak.

    2-contents-pasted-too-low.png

    Even if there is a solution to paste the information where it needs to go from the outset, I would like to know how make a difference compared to the visible work area (I think it is properly known as the spread, but more commonly referred to as the mount table?) I want to just make sure I ask my question correctly so my intentions are understood).

    My first test with the following line of code produces the result seen in the next picture; only the background .eps object is moved, and it moves down.

    App.Selection [0]. Move([MyPage.Bounds[0]+myMargins.Top,MyPage.Bounds[1]+myMargins.Left]);

    3-first-try-to-move.png

    My second test is shown below; It seems also only reposition the background image, but something moved too far down and to the right. It seems that it may be of the same size and shape, like spread which I copied objects. The limits of selection have the right size when I stuck first the object in the new document, until the line of code to change the geometric limits has been executed.

    App.Selection [0] .geometricBounds = [myPage.bounds [0] + myMargins.top, myPage.bounds [1] + myMargins.left, myPage.bounds [2] - myMargin s.bottom, myPage.bounds [3] - myMargins.right];

    4-2nd-try-to-move.png

    Also, previous attempts (until I added the image of the Tiger, the text to its immediate left and a red rectangle behind the Tiger) saw all objects selected EXCEPT the background .eps image move upward and in the right position using app.selection [0] .geometricBounds.

    Any help would be greatly appreciated. Here is the code and a screenshot of the objects on the layer that are involved.

    indesign #target - 11.064 / / CC 2015

    myDoc = app.activeDocument;

    myPages = app.activeDocument.pages;

    myActivePage = app.activeWindow.activePage;

    // 1. Select and copy everything on this document activePage

    App.Select (SelectAll.All);

    App.Copy ();

    // 2. Open the template file and paste

    whichExportTemplate = "FCILG";

    myTemplateFolder = ' / Users/user/Documents /!  "Resources / models / Ted signs / Tags ';

    sFileName = myTemplateFolder + "/" + whichExportTemplate + ".indd".

    sFileName = sFileName.replace (/ % 20/g, "'" ");

    newDoc = app.open (File (sFileName));

    app.pasteInPlace ();

    App.Select (SelectAll.All);

    // 3. POSITION IT

    var myPage = myActivePage;

    var myMargins = myPage.marginPreferences;

    App.Selection [0] .geometricBounds = [myPage.bounds [0] + myMargins.top, myPage.bounds [1] + myMargins.left, myPage.bounds [2] - myMargin s.bottom, myPage.bounds [3] - myMargins.right];

    App.Selection [0]. Move([MyPage.Bounds[0]+myMargins.Top,MyPage.Bounds[1]+myMargins.Left]);

    // 4. Save the new file

    // 5. Close

    5-layers.png

    Would you mind bringing together all elements of the page on the page, you have a single object to process after duplication (I prefer duplicate() on app.copy () / app.pasteInPlace ()) without selecting anything? Just answer has all the elements of the page on your source page to add a group and manage this unique group object.

    Quick and dirty:

    //TWO InDesign documents are open
    //The SOURCE document is the ACTIVE one
    
    var myTargetDoc = app.documents[1];
    
    myTargetDoc.viewPreferences.rulerOrigin = RulerOrigin.PAGE_ORIGIN;
    myTargetDoc.zeroPoint = [0,0];
    
    //Group everything on the active page of your SOURCE document:
    var myActivePage = app.layoutWindows[0].activePage;
    var myGroup = myActivePage.groups.add( myActivePage.pageItems.everyItem().getElements() );
    
    //Target the second document for the duplicate of the group:
    var myDuplicate = myGroup.duplicate(myTargetDoc.pages[0]);
    
    //Move the duplicate:
    myDuplicate.move([0,0]);
    
    //Tidy up a bit:
    myDuplicate.ungroup();
    myGroup.ungroup();
    

    Hope, that helps.

    Uwe

  • How to create a report based on the item selected from the list of selection?

    Hello

    I created a tables_LOV based on:

    Select table_name table_name user_tab_cols r, d

    where column_name like '% _type % '.

    Then I created a ListOfTables page element, display in a selection list and pointing to tables_LOV.

    I run the page, and I can choose the table I want in the drop-down list.

    How to create a report based on the selected element? (ex: select * from selected_table)

    Thanks in advance

    Salah

    Hi Salah,

    Allright, take a look at this page: http://apex.oracle.com/pls/apex/f?p=vincentdeelen:collection_report

    I think that simulates what you are trying to accomplish. I've implemented the simplest method I could think of.

    The report is based on a collection of apex. If you are not familiar with this, you should study the documentation: APEX_COLLECTION

    To recreate my example, you should:

    (1) create a report (interactive) on your collection

    SELECT *
       FROM APEX_collections
     WHERE collection_name = 'MY_COLLECTION'
    

    (2) create a selection list page_item for the tables that you want to display (in my case, this is called "P38_TABLES")

    (3) create a dynamic action that triggers on the evolution of your selection list page_item. Dynamic action must be a parade of PL/SQL procedure the following code:

    declare
      l_query varchar2(4000);
    begin
      l_query := 'select * from '||:P38_TABLES;
      if apex_collection.collection_exists
            ( p_collection_name => 'MY_COLLECTION' )
      then
        apex_collection.delete_collection
          ( p_collection_name => 'MY_COLLECTION' );
      end if;
    
      apex_collection.create_collection_from_query
        ( p_collection_name => 'MY_COLLECTION'
        , p_query           => l_query
        );
    end;
    

    Make sure that you add your page_item 'Page to send items' section.

    (4) add a real extra action that makes an update of the report area.

    Here are two photos describing the da:

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA1.PNG

    http://www.vincentdeelen.com/images/OTN/OTN_COLLECTION_REPORT_DA2.PNG

    Good luck and greetings,

    Vincent

    http://vincentdeelen.blogspot.com

  • When you import photos into LR4, import feature does not all photos in the folder

    I have a catalog with all the imported pictures from a trip I just got back from.  But when I compare the catalog for real photos in the folder, there are 104 missing photos from the catalogue.  If I try to sync the catalog, it says 104 photos must be imported, but the import process said that there are no new photos.

    I created a new catalog and tried to import the file again, but its lack still the same images of 104.

    I don't know what to do here.  Help, please.

    There are only three reasons that I see which files are not imported:

    1. the issue of Raw + Jpeg, you already have reduced.

    2 not supported file types. So is there anything on these 104 images that are unusual in a perspective of file type? What kind of file, what device, what version of LR4 (4.0 or 4.1).

    3. already imported file. Seems more likely that you said that you "they remind of where everything what he. Have you tried to identify one of the 104 files and then find in Lightroom (use the text search option in the library filter bar).

  • Create the table in select * from the other table

    DB: 11.2.0.2

    How to create a table with structure only not empty the data that we do not generally create table in select * from... But the command will pull the data also. How to create without data?

    create table foo
    in select * bar
    where 1 = 0

  • How to select an image (all black) describe the use of script

    Hi all

    We have thousands of clip art images to convert wmf to png. We need to apply a treatment to each image. We do this by selecting the black outline with contiguous offshore so it selects all the black. We then inverse the selection and apply the treatment to the remaining parts of the color of the image, leaving intact black. We can easily automate all steps except the first selection of black outline.

    Anyone have an idea how we can do this?

    If not do that in illustrator when we convert wmf to png and create layers it?

    Thank you.

    Here is an example of a mask created in a way that can be scripted without user intervention.

    The good news is it was easy to create a script that starts with a record of wmf files in subfolders and end with the converted png file is either in the same folder as the non-neurologique used to make the png or to a new folder while keeping the original folder structure.

    Now, it's just a matter of defining what measures to use to smooth an image. If you are happy with the mask of the sample, I can post a script for you to try on a subset of the files.

  • SELECT from the table during a TRUNCATION operation...

    Nice day

    Environment: Oracle 10 g 2 EE on AIX and Crystal Reports/Crystal Enterprise (XI 3.1)

    We have a table that is refreshed every 10 minutes throughout the day and night. Users run reports against the table pretty well any time they want. The table is updated through OWB by using the TRUNCATE/INSERT that first truncates the table and then reloads the entire table.

    Opportunities random when the user runs the report at the same time as the update of the table, the user gets an error message from Crystal as follows:

    Error in the file ~ tmp23206abf4faed20.rpt: impossible to extract the data from the database. Details: [database vendor Code: 8103]

    In other cases, which is the one that I expect, the user sees a report empty and all simply of runs again the report. The report only takes a few seconds.

    This error could be due to the Crystal report trying to get the data in the table at the EXACT time that the table is truncated?

    Other thoughts are welcome!

    Thank you very much!

    -gary

    Hi Gary,.

    This behavior is described in MOS 170185.1

    Concerning
    Peter

Maybe you are looking for