Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Can you drag and drop a folder onto minimized Java app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can you drag and drop a folder onto minimized Java app



On Mar 16, 2011, at 1:00 PM, Paul Taylor wrote:

> Using OpenFilesHandler and adding CFBundleTypeExtension to my Info.plist at long last I can now open certain files types by dragging them onto my minimized application, but is there a way I can get it to accept a folder ?
>
> Supplementary question, for opening certain types of music files I have just added
>
> <key>CFBundleDocumentTypes</key>
> <array>
> <dict>
> <key>CFBundleTypeExtensions</key>
> <array>
> <string>mp3</string>
> <string>mp4</string>
> <string>ogg</string>
> <string>flac</string>
> <string>m4a</string>
> <string>m4p</string>
> <string>wma</string>
> </array>
> </dict>
> </array>
>
> which is working fine, but should I be adding any more info, the other apps I cribbed the info form contained more keys but I couldnt work out if they were relvent to me.

This is more of a general Cocoa app development question, but I think this thread has been discussed before:
<http://www.cocoabuilder.com/archive/cocoa/92460-cfbundletypeextensions-for-folders.html>

Regards,
Mike Swingler
Java Engineering
Apple Inc.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Can you drag and drop a folder onto minimized Java app (From: Paul Taylor <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.