Android sound or image picker ANE help

Hi folks,
We are building an AIR app and working on native extensions. Has anyone done an ANE that calls the native music track picker (to select multiple tracks) or image gallery picker (to select an image)? Mind sharing the source? Would really appreciate some help on this.
Mucho gracias.

There's a posting that will help you on this, but I couldn't find it.
Here's the code that works
Make sure you set the delegate (not the peoplePickerDelegate) to the class you will overwrite the navigationController: willShowViewController: animated method.
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated
UIView *custom = [[UIView alloc] initWithFrame:CGRectMake(0,0,0,0)];
UIBarButtonItem *btn = [[UIBarButtonItem alloc] initWithCustomView:custom];
[viewController.navigationItem setRightBarButtonItem:btn animated:NO];
[btn release];
[custom release];
}

Similar Messages

  • How do I stop iChat/Address Book image picker attempting to connect to unavailable server?

    I'm using Mac OS X Lion. In iChat, if I click on my personal image then select Modify Image, I get the image picker that allows you to change the image, take a picture from iSight, etc. In Address Book, I can get to this same or similar window when I double-click on the personal image placeholder.
    In both cases, a spinner starts up in the lower left corner and after a few seconds I get an error stating that "the connection to server XXXX has failed." This message will pop up continuously until I close the program. The server that it is trying to connect to is a local Mac OS X Snow Leopard server that used to be part of the network but no longer exists.
    By setting up a DNS entry to get it to attempt to connect to a server that does exist and using Little Snitch, I've been able to deduce that it is NetAuthSysAgent trying to make a TCP connection to port 139 TCP (netbios-ssn).
    First, I find it odd that a Mac program trying to connect to a Mac server would use NetBIOS. I also find it odd that either of these programs would need to connect to the server.
    I have a new OS X Lion server but I no longer join to its directory services. As the issue seems to be some configuration left over from when I was connected to that server, I tried joining the new server and then unjoining to see if that would clean up the settings, but that did not help.
    Performing a find . -type f -exec grep -l "<server name>" {} \; revealed two files:
    .viminfo
    ~/Library/Application\ Support/SyncServices/Local/TFSM/com.apple.Keychain/data.syncdb
    The latter was a SQLite database that did not revel anything very legible.
    I've search high and low for a setting that points to this old server name to no avail.

    First off I want to thank you for sticking with me through this, it's nice to have somebody to shoot ideas around with, it made me think up ideas, what I'm trying to say is, by just writing this down in this thread I solved my own problem. Linc I already deleted almost all of the Login items previously, as I did have the same idea, that something in that spot was trying to connect to the desktop through the network, that didn't work, but for some people it could be a problem. When you first mentioned, "make sure that new windows don't open to a folder on the server.", that comment made me look around for any folders connected to the server, then in my last comment I mentioned the word "alias", turns out that was the problem. In my users folder on the Macbook Pro, I had 2 folders that were alias folders, one was the download folder and the other was the Movie folder, I made new folders and put copies of everything into the folders, then threw away the alias folders and renamed the two new folders I created with their original names, presto no more problem.
    Must be getting old, cannot remember making any alias folders, but I probably did, probably had some great idea to save hard disk space on the Macbook Pro, only has 250 GB disk, the Mac Pro has over 8 Terebytes of space so I thought I'd use it probably, bad idea, sometimes I get too Geeky for my own good. Again, Thanks Linc for sticking with me on this.
    There were interesting ideas on the internet, seems other people have run into similar problems, one suggestion was the terminal to check for any "open processes". link was here, if interested....  http://apple.stackexchange.com/questions/25639/why-is-my-mac-constantly-trying-t o-connect-to-another-server
    I'm going to mark your last comment as being helpful, as actually all of it was helpful in forcing me to find those pesky alias folders.

  • Labview Remote conection and acquire sound and image

    Good afternoon for everyone,
    What I want is the following:
    1. º How do I record values from a graph in Excel by pressing a button (eg recording).
    2. º How do I show my power picture and sound on my pc through the microphone and webcam laptop by pressing two buttons, for example sound "on" and picture "on" and do the "off" to both.
    3. º How do I power fizar my IP, since I already did what was on this page and I can not communicate with any other PC.
    http://redacacia.me/2010/10/15/internet-control-of-a-labview-vi-part-ii/
    Please find attached the program.
    Thank you and if I can help thanks a lot!
    Best Regards,
    FASP
    Attachments:
    imaqUSB.llb ‏174 KB
    Menu_Final_tabs.vi ‏5532 KB

    I'm sorry, but from your description I have no idea what you are trying to do. Ok, I see that LV is doing something, and that you want to acquire sound and images, and that the web is apparently involved. But,
    How is Excel involved?
    What is the web interface doing?
    Where are the buttons you talk about pressing located? 
    What are the sound and video sources?
    What version of LV are you using?
    What is the network you are using?
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • When I export my job on QuickTime, sound and image don't. respect.

    when I export my job on QuickTime, sound and image don't. respect.

    Don't what? They don't play in the Quicktime? The images don't show up? A little more information and we can might be able to help.

  • Image Picker Selection Area

    I'm currently experiencing issues with the image picker across several Mac apps, including Address Book and iChat. The selection appears as rectangular instead of squared, thus deforming the image.
    As far as I know this behavior is not normal. Any ideas on how to solve this without reinstalling Snow Leopard?
    My image picker: http://img.skitch.com/20100129-xjagjqnmpqg2rncpxripdfqy68.png
    Message was edited by: tcvv Reason: Added images.

    So, since no one as helped me I tried to figure out this on my own. It happens that, for some reason, Apple changed image picker from Leopard to Snow Leopard.
    Image Picker in Leopard: http://kttns.org/zdayz
    Image Picker in Snow Leopard: http://img.skitch.com/20100128-xjagjqnmpqg2rncpxripdfqy68.png
    I don't see how can this be a feature, since people don't have a face that's wider than longer.

  • Imported MP3 sound and image CD Bird pics and sounds but each song is an album, so cluttering my album and artist lists. How can I keep together as one album please?

    I Imported a MP3 sound and image CD Bird - Birds of Sri Lanka - via itunes on my mac, then synched content to my Iphone as a Playlist to get all the songs/pics in alpha order. BUT each of the 329 birdsongs are listing/appearing as a separate album, so cluttering my album and artist lists :0(
    How can I get all the Birds of Sri Lanka songs/albums to come together as just one album please?
    Do I need to delete what i have, and download again in another way? :0(
    Can I move them all the songs somehow so they become ONE ALBUM :0)
    Thank you
    BW

    OOOOhhhhhh no worries, sorted it.
    In playlist Selected all songs, went into Get info and updated COMPILATION field from NO to YES.
    :0)

  • I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.

    Hi all,
    I am using Adobe Pro 11 and on opening a pdf I am getting error 'Insufficient Data for an Image'. Please help and provide a workaround if the solution not there.
    I have already set the preferences to for page view to low zoom settings, and page fit view settings, but it never opens the pdf. Please check and provide a solution asap.
    Thanks in advance!

    Most of the documents have sensitive info on them.  I will have to do some looking for some that i can share, but will get something to upload (dropbox) as soon as I can.
    Thanks for you help.

  • My husband and I both have types of IPods but we can not download any music to them because we have an Acer Android tablets. Could someone please help us to be able to download music to our IPods all we have is this tablet

    We have two types of Ipods. A nano generation 5 & a nano touch, and we are unable to download music to them was told its because we have an Acer Android tablet. Could someone please help us in solving this issuses cause we just bought these ipods and was not aware that and all we have is this tablet. .. Please help us

    Templeton Peck, the Android tablet  does not support iTunes
    Angs78, you purchase music from iTunes on the iPod touch. I know of no way to get music on the Nanao from the tablet.

  • Synchronizing sound and image for splash screen.

    Hello all,
    I have a peculiar request. ...
    I have a sound file (about 137KB) and an animated gif (about 134KB).
    I would like to use this as my splash window before my app starts up.
    I know how to load these 2 to a screen but my problem is how do I synchronize the sound to go along with the image when it starts up? (Its a gunshot sound, whcih is looped with the animated image showing the bullet holes ;-)
    I've been investigating using the Timer class but no success to date.
    Currently, the sound file loads up, starts and then a few seconds later the image..
    So.... How do I:
    1. Load the sound first.
    2. Load the image.
    3. Start both of them synchronized.

    This is actually pretty involved...
    Are you using java.applet.AudioClip to play the sound? Are you loading the animated gif as a JLabel or something using ImageIcon?
    If you are using AudioClip for the audio, I suggest that you cache the sound and image before playing the sound... otherwise you'll probably hear pops or the sound will pause. To cache the sound, do this:
    AudioClip clip = Applet.newAudioClip("somefile");
    Unfortunately, java really sucks at handling animated gifs. On slower computers, I've seen it take about 15-20 seconds to load an animated gif that's around 90k in size... totally unacceptable! If you have a gif that just plays a once (or a few times) and then stops, you'll have to flush the graphic to restart the image. This will reload the file and cause the long delay every time you need to replay the gif.
    It seems like the best thing to do is to break up the animated gif into frames (either put each frame in its own file, or place each frame into one large image file and use clip rectangles to retrieve frames) and handle the animation yourself with your own thread. Alternatively, you can use the GifDecoder utility available at http://www.fmsware.com/stuff/gif.html, but be careful when using GifDecoder, it eats up a lot of memory for larger Gif files. When you handle the animation yourself, things should work properly. Again, make sure to cache the images by doing something like:
    ImageIcon ii = new ImageIcon("somefile");
    Once everything is preloaded, things should be pretty much synchronized if you play the sound and then show the image.
    To have more control, you may have to use an object with synchronized methods... like if you want a sound to play on the 3rd and 10th frame of animation. Another option is to use Quicktime for Java.
    If you need more info, let me know!

  • I have made a webpage in HTML with several links to JPGs / GIFs. The text matter opens perfectly but not the images. Please help me

    I have made a web page in HTML with several links to JPGs / GIFs. While text matter opens up perfectly, but not the images. Please help me.
    == This happened ==
    Every time Firefox opened
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; CTS Version; .NET CLR 1.1.4322; .NET CLR 2.0.50727)

    URL of that web page?

  • Corrupted sounding music...please help

    Hello I have a problem on my new ipod 5th gen 32gb. When I sync my music over to my ipod it sounds corrupted but on itunes it is completely fine. I have tried to delete and resync the music but it still sounds corrupted. Can anyone help?

    I actually have been able to fix it by restoring the iPod and now it works perfectly. Thanks for your help anyway I was hoping that I didn't have to have bring it back to the store because I had just got the device today.

  • Interval between sound and image!

    Hello all!
    I didn't see that question on the FAQs or in the most recent topics...
    On burnt DVDs via iDVD 5.0.1, I surprisingly notice a half-a-second interval between sound and image (the latter earlier), approaching the end of a long movie (45 minutes), should the movie be captured from the camera as a single clip, or should it be split into several clips in iMovie.
    As if the sound encoding would result in a longer sound tape as the video tape, the movie perfectly begins and the interval progressively installs...
    Any explanation or idea or tip to fix that?

    they may have been in a 12-bit format!
    12-bit seems to be the industry "standard" for camcorders. Both of mine came set to 12-bit. I learned about switching to 16-bit with my first one, because I read the manual. I wanted the best audio.

  • I plugged a HDM1 cable from the Sony flat screen TV into a mac pro book and get not sound.  great picture.  Help?

    I plugged a HDM1 cable from the Sony flat screen TV into a mac pro book and get not sound.  great picture.  Help?

    Mac computers: Frequently asked questions about using ...

  • I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    I am using adobe photoshop cs6. I am facing a problem. When i save any image as "save for web". After saving image it show cropped. An image show many parts of the image after saving the image. Please help me. Thanks in advance.

    Just go back in photoshop and use the Slice Select tool, then just click and select the slice and hit delete - if you're not sure which one is the active slice just right click and find the one that has the Delete Slice option.
    It's possible you either added the slices by accident or if you received it from someone they just had the slices hidden. For the future, you can go to View > Show > Slices to display (or hide) slices.

  • Image Picker- no images get saved or appear in the folder that gets created though alert says 'Saving images...' :-(

    I am using Image Picker as an addon. Initially it worked fine but not anymore. I follow all the instruction - choosing tab, show all images, select few or all, then Save. An alert appears saying it is saving the selected no. of images, opens the target folder, nothing is saved or appears saved there! What am I missing/ I have tried removing and add the add on again.

    http://code.google.com/p/imagepicker/issues/list
    Looks like there is a problem with that add-on in Firefox 36 - 5 "defect" reports since early January.

Maybe you are looking for