IOS File type association

I am trying to invoke my air app when a user clicks a text file in something like drop box.  I found the following through a bit of research but when I add it into my InfoAdditions, I get an error.
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>txt</string>
<string>TXT</string>
</array>
<key>CFBundleTypeName</key>
<string>Text</string>
<key>CFBundleTypeRole</key>
<string>Editor</string>
I am just getting started with IOS development.  What is currently in there right now is:
<key>UIDeviceFamily</key><array><string>1</string><string>2</string><string>2</string></ar ray>
Any thoughts?  I just want to read in text from a text file.
Thanks

Below is a sample to register your application for pdf files.
<key>CFBundleDocumentTypes</key>
<array>
<dict>
<key>CFBundleTypeName</key>
<string>my pdf viewer</string>
<key>CFBundleTypeRole</key>
<string>Viewer</string>
<key>LSHandlerRank</key>
<string>Owner</string>
<key>LSItemContentTypes</key>
<array>
<string>com.adobe.pdf</string>
</array>
</dict>
</array>
<key>UTExportedTypeDeclarations</key>
<array>
<dict>
<key>UTTypeDescription</key>
<string>my pdf viewer</string>
<key>UTTypeIdentifier</key>
<string>com.adobe.pdf</string>
<key>UTTypeTagSpecification</key>
<dict>
<key>public.filename-extension</key>
<string>pdf</string>
<key>public.mime-type</key>
<string>application/pdf</string>
</dict>
</dict>
  </array>
CFBundleDocumentTypes registers the File Types Your App Supports, and UTExportedTypeDeclarations is required so that other applications on the system are made aware of it.
With this in place your application will be able to handle documents attached to emails or from other applications on the system.

Similar Messages

  • IOS 6 File Type Association Issues

    I've run into a problem that appears to be restricted just to iOS 6 devices -- iOS 5 seems to handle this situation well.
    I'm building an application that exports JSON-formatted files with a custom extension via email, and should also be able to open the file attachment from within mobile mail using the "Open with" dialog. Basically just a way to send your app's settings to other users of the app via email. These are small files as well -- less than 200KB.
    The problem I've run into is that even though my application name appears in the list of available applications to open the attachment, iOS 6 devices fail to open my application. In the device logs, the following gets reported:
         LaunchServices: Invalid LSOpenOperation request - No applications found to open document
    I've been looking for anything online about this kind of issue, but haven't found any reference to that console output. I'm also positive that I've set up the Document Type and Exported UTI items correctly -- again this all works fine in iOS 5. I've included the values defined for the Document Type and UTI below:
    Document Type
    ============
    <key>CFBundleDocumentTypes</key>
             <array>
                     <dict>
                             <key>CFBuldlerTypeRole</key>
                             <string>Editor</string>
                             <key>CFBundleTypeExtensions</key>
                             <array>
                                     <string>exportedModel</string>
                             </array>
                             <key>CFBundleTypeIconFiles</key>
                             <array>
                                     <string>icon</string>
                             </array>
                             <key>CFBundleTypeName</key>
                             <string>Exported Model</string>
                             <key>LSHandlerRank</key>
                             <string>Owner</string>
                             <key>LSItemContentTypes</key>
                             <array>
                                     <string>com.company.applicationName.exportedModel</string>
                             </array>
                     </dict>
    </array>
    Exported UTI
    ==========
    <key>UTExportedTypeDeclarations</key>
             <array>
        <dict>
          <key>UTTypeConformsTo</key>
          <array>
            <string>public.text</string>
          </array>
          <key>UTTypeDescription</key>
          <string>Exported Model</string>
          <key>UTTypeIdentifier</key>
          <string>com.company.applicationName.exportedModel</string>
          <key>UTTypeTagSpecification</key>
          <dict>
            <key>public.filename-extension</key>
            <string>exportedModel</string>
            <key>public.mime-type</key>
            <string>application/octet-stream</string>
          </dict>
                     </dict>
    </array>
    Has anyone else seen this kind of behavior in iOS 6? Could there be a cache of file type associations that is messing the "Open with" operation up?

    Hi! You have given me some hope - I have a very similar problem and too have been tearing my hair out. My app has stopped launching in iOS6 from an email attachment containing XML data, but of a user defined type .ftl. My application was launched in iOS 4 without any problems and I get the same:
    LaunchServices: Invalid LSOpenOperation request - No applications found to open document
    Error .... My .info file is also absolutely fine. Mate, how do you establish the MIME type of your email attachment?
    Regards,
    Lee

  • Set file type associations in Adobe Bridge for Photoshop CS6

    Is there a way I can edit the registry so that in Adobe Bridge, under edit, preferences, file type associations, the jpg extension is forced to use the 32-bit version of Photoshop?  I can do it manually, but is there a registry key i can export to apply it to multiple computers?

    Yes, in theory, but it is generally not recommended. But that location would depend on what OS you are on. This video give the locations for the Photoshop files, Bridge would just be in a neighboring folder: http://tv.adobe.com/watch/the-complete-picture-with-julieanne-kost/how-to-reset-photoshop- cs6s-preferences-file/

  • Removing obsolete file type associations from "Open With" menu

    Ever since I removed VMWare Fusion 3.x from my system, I've been unable to remove the Bootcamp file type associations that it created. For example, if I right-click on a PDF and choose Open With, this is a partial list of what I see:
    Adobe Acrobat Pro (default)
    Adobe Distiller (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Fireworks CS4
    Adobe Fireworks CS4 (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Illustrator CS4
    Adobe Illustrator (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    Adobe Photoshop CS4
    Adobe Photoshop CS4 (Mac) - Boot Camp partition (VMWare Fusion 3.0.0)
    ...and on and on and on. 17 additional entries for Fusion for PDS's alone. This junk is driving me crazy.
    I've tried rebuilding the Launch Services database with MacPilot and Onyx (the recommended fix that I've found on the web), but the entries still are there even after restarting Finder and rebooting my iMac. I'm at a loss to figure out how to get rid of these.
    Can anyone help me?
    Thanks!

    They are stored in the LaunchServices database. You can give this a try, but no guarantees. If you no longer use VM Fusion then I suggest following the information below on uninstalling software.
    Rebuild LaunchServices Database
    Open the Terminal application in your Utilities folder. At the prompt paste in the following command in its entirety:
    find /System/Library/Frameworks -type f -name "lsregister" -exec {} -kill -seed -r \;
    Press RETURN.
    Wait for the Terminal prompt to return after which you can quit the Terminal.
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash. Applications may create preference files that are stored in the /Home/Library/Preferences/ folder. Although they do nothing once you delete the associated application, they do take up some disk space. If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application. In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder. You can also check there to see if the application has created a folder. You can also delete the folder that's in the Applications Support folder. Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item. Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder. Log In Items are set in the Accounts preferences. Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab. Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS. Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term. Unfortunately Spotlight will not look in certain folders by default. You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead. Download Easy Find at VersionTracker or MacUpdate.
    Some applications install a receipt in the /Library/Receipts/ folder. Usually with the same name as the program or the developer. The item generally has a ".pkg" extension. Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are also several shareware utilities that can uninstall applications:
    AppZapper
    Automaton
    Hazel
    CleanApp
    Yank
    SuperPop
    Uninstaller
    Spring Cleaning
    Look for them at VersionTracker or MacUpdate.
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • File Type Associations

    Recently re-installed Adobe Photoshop CS6, Dreamweaver CS4 and Illustrator CS4 because I had considered not renewing my Adobe CC subscription. I decided to stay on CC one more year, but the previous version installs totally messed up my default file associations. I do not want to uninstall those previous apps.
    So of course I went to Bridge preferences and painfully changed them to the CC programs. The problem is if I want to open an .ai in Photoshop CC I used to be able to from one of the options in the flyout. Now I can only pick the default and all the other options are like Photoshop CS6 and Illustrator CS4. How can I change those other options populating the flyout without uninstalling the old apps?
    I can go to Photoshop CC and manually open it there, but that defeats the whole purpose of Bridge.
    I tried to change file type associations through Windows 8 file type associations but it won't let me do it there either.
    Thanks.

    Find a file you want to have associated to a different application in the Finder.
    Control-mouse click (or right click if you have a two button mouse) the file and select Open With's submenu Other...
    Find the application you want to open it with, and make sure in the Open With... file dialog box, you check "Always Open With" before selecting the application. Documents of that type will now always open with that specific application you chose.

  • File Type Associations Do Not Stick System-Wide CS4

    When I set File Type Associations for PSD, Tiff, DNG and Jpeg fles in Bridge CS4 so that my files will open in PS CS3 (and insure that the same file associations apply in Bridge CS3), this works as it should from within CS4 and CS3, but it is impossible to introduce a system-wide change in Mac OS 10.5.5 via File-Info. It always reverts to CS4 for these file types, if I try to 'modify all'. The same thing happened when I upgraded from CS2 to CS3.

    If File Type Associations are set properly in the Bridge preferences, the default setting can be made to open files in PS CS3, with CS4 installed. This works from within CS3 and CS4. However, it sometimes happens that one is in the Finder, and the default remains PS CS4, however much one tries (via File-Get Info) to modify the default system-wide settings so that these files open in CS3. In any event, a bit invasive. Of course, if I could get comfortable with the Adjustment Layer Panels, all this would be unnecessary, but for the moment, there appear to be too many clicks, and it is going to take some time, so I don't want to burn bridges. Perhaps there is also some ambiguity in my mind as to what the pointing finger in the new Curves dialogue box, much like a tolling bell, is trying to tell me.
    But thanks, once again Anne, for your good-natured help.

  • Bridge File Type Associations don't see my (2014) products?

    I have just updated Ps, Ai & Id to (2014) and uninstalled old versions (Win 7)
    Now Bridge has forgotten all my File Type Associations (no Adobe products in drop down) same is happening with my suitcase fusion 5 plugs, 2014 product not in plugs list
    Adobe is not installed in the default location, is on my second drive. all else is normal
    The result in this is that I can't 'Edit Original' or open any files without dragging from bridge into app.

    Has Ubuntu and Windows ever seen each other?
    You say "Ubuntu is apparently a linux platform...". not apparently - it IS a linux platform (are these your computers?)
    The first thing is to get them all into the same logical Workgroup.
    On PC: ControlPanel>System>ComputerName..jot down workgroupName.
    On ubuntu, the file/etc/samba/smb.conf is edited (might not need this yet).
    On Mac: Utilities> DirectoryAccess, Configure SMB/CFS...enter WorkgroupName in appropriate box.
    (then look into SystemPreferences>Sharing, and turn on File Sharing.
    In network utilities on the mac, have you been able to you ping these computers by their IP address? Have you been able to ping mac by number from Windows or Linux?
    This site might help, too along with the Apple link that the other user posted:
    http://www.ifelix.co.uk/tech/

  • Configure File Type Associations dosen't work for users

    Hi EB,
    Does anyones knows how to set the File Type Associations for users ? It works for me when i'm logged in as Admin but not as a user. When logged as user it always ask to configure the file associations when i open JDev and even with JDev open it does not set it. I tried to find an article about that but couldn't find any.
    I'm using :
    winXP SP3
    JDeveloper 11g TP4
    and i've sets all rights for autentified users on the folders and subfolders of JDeveloper.
    Thanks

    I tried going on tool>preferences>File Type .... and associate projets and source and applications files with JDev check marking "open with JDev"... it didn't worked as user... it's just not saving my settings while reopening it it's never saved... at least i've been able to associate it in my Admin account then i can go back in user account and select open file with in windows, choose JDev and check mark "always open that file with that program" only after that the association is saved in JDev... but still it open the Configuration file windows at startup with the ones i already opened with JDev checked... anyway that's not a big issue ... only that i can't save those settings by the JDev environement while logged in as a user...

  • Setting Bridge's file type associations in Preferences

    Hello,
    I am using Bridge with Windows 7 and I'm trying to change the file type association for a jpg from Photoshop to Office 2015. When I click on Browse, I find myself looking in Program Files/ Program Files (x86) but nothing seems to be a form of Office 2015 that will work. I see a folder for Office 2015 and inside is an .exe file, but that doesn't do it.
    Any suggestions?
    Thank you.

    cosmasd86465293 wrote:
    Hey,
    I apologize station_two but when you say "look for a specific application" what would the extension be?  The only thing I seem to see are .exe files and they don't seem to work…
    You are looking for an application, and ALL applications in a Windows environment have an .exe extension.  There's no other kind.
    cosmasd86465293 wrote:
    …More importantly, though, could you tell me what you mean by "I cannot even remotely imagine why you would want to do that, but it's your workflow, not mine."?
    Because to me it sounds nuts.  All MS Office applications are pretty bad at handling images and voracious resource hogs.
    cosmasd86465293 wrote:
    …I don't want to open up Photoshop every time I want to see a jpg. What would be a good "viewer" -- that's not as huge as Photoshop?…
    Google is your friend.  There are all kinds of free image viewers, even free image editors.  I can't help you there because I don't do windows. 
    Finally:
    Remember, you are not addressing Adobe here in the user forums.  You are requesting help from volunteers users just like you who give their time free of charge. No one has any obligation to answer your questions.

  • Since changing our computer I have been unable to download ebooks to my Reader Library I get a message Some file types associated with EPUB files are not associated with Reader Library; Waterstones suggest that I may have accidentally created a new Adobe

    When I try to download them from the Waterstones website I get a message saying:
    ‘Some file types associated with EPUB files are not associated with Reader Library.  Do you want to associate them now?  When I reply yes I get another message; ‘Configuration error unable to update EPUB files check network firewall and try again’.
    The ‘books’ are saved in the Download directory and I can’t transfer them from there to my E-Reader. I have not had any problems before, it was very simple; I saved the download and it automatically went into the Reader Library.
    I contacted HP and they said it is a software error and suggested I contact Waterstones.  I contacted Waterstones Customer Support and got the following response:
    As the error message is specifically mentioning the firewall it does sound like something in the firewall settings is stopping the download from taking place correctly. However, the files should not be being saved to the Download folder. It would be worth trying again by going to your Digital Order History on your Waterstones.com account and pressing the download button, and then making sure to press "Open" not "Save". When you press Open rather than Save it should give the option to open the file with Adobe Digital Editions. If the firewall message still comes up then I'm afraid something is blocking it on your end.
    If the above "Open" download method works but you then still get an error message it could possibly be that you have accidentally created a new Adobe ID when setting up on the new computer, rather than signing in with your old Adobe ID. It would be worth trying the aforementioned download technique again first, but if problems did still persist it would be worth calling Adobe themselves on 0207 365 0735, as they should be able to sort out any account issue.
      In response to the first para of Waterstones email I already do what they suggest I do press ‘Open’ not ‘Save’ but I don’t get the open with Adobe Digital Editions (we have installed Adobe Digital Editions on the new computer. Waterstones say we may have ‘accidentally created a new Adobe ID when setting up the new computer’ does that mean that we shouldn’t have installed Adobe Digital Editions on the new computer as it would have already been there? How do I sign in with my old Adobe ID? 

    Hi all after attampting to get some supoport from adobe by phone.... nice people infurating policys as far as support for digital editions or DRM is conserned... However I got no where with support.
    I ended up instaling Digital editions on my desktop PC and going through the motions of registering and borrowing a book then returning it. Then I trying on my iPad, Bluefire worked, Over drive did not so I completely removed Overdrive and reinstalled and re registered. all working now.
    Maybe some one at adobe did something. Maybe the install of the adobe DE client on a PC corrected what ever was out of wack with my account. Mayby the server that my account lives on did a scan disk and corrected a bad clustrer.
    What ever happend My account is actiove and working again. hope this helps others.

  • File Type Association fails when opening multiple files from Bridge to Premiere

    I'm running Vista 32 bit CS3 Bridge and Premiere.
    According to the Video workshop
    http://www.adobe.com/designcenter-archive/video_workshop/
    under Premiere > all 19 topics > Managing Media in Adobe Premiere Pro > at 02:46 it shows group selecting a bunch of quicktime files using Edit > Select all, then File > Open With ...the drop down shows Premiere.
    Mine only show Premiere if a single file is selected. If I multiple select, it only shows Quicktime Player 7.6.
    I've checked the file type association in preferences of Bridge to open these files in Premiere but it still only sees Premiere if a single file is selected.
    I've upgraded Bridge to 2.1.1.9 and set to run as Administrator but to no avail.
    Any ideas?

    Import has always worked fine. this is not the issue.
    I have now changed the file association in Vista, re-started Premiere and Bridge and then after having started just Premiere chose File > Browse and the selected all the .mov files and selected Open With. Hurrah! Premiere is now listed!
    However, If I continue the focus changes to Premiere but a warning appears "This file path does not exist on disk at this location".
    Nothing is imported. Unlike the video workshop mentioned above.
    If however, I chose Open and not Open with then the files are imported.
    Seems to be a bug with Open with with more than one file chosen. If a single file is chosen and Open With is applied then the focus changes to Premiere but no file is imported.
    I have seen the exact same problem in another discusion "Re: Bridge CS3: Not importing clips into Premiere CS3" (see the More Like This panel on the rightside of this window)

  • RemoteApp 2012 and File Type Associations

    Hi, All :),
    the scenario is like this -  2 x Server 2012: one as the RD Connection Broker and RD Web Access and one as the RD Session Host (clients are Windows 7). ALMOST everything works: there is one collection, several applications, all successfully thrown into
    the RemoteApp and Desktop Collections by GPO (Powershell script - http://gallery.technet.microsoft.com/ScriptCenter/313a95b3-a698-4bb0-9ed6-d89a47eacc72/).
    But one thing doesn't work - file type associations. Well, I want the client without, for example, Office installed to open the RemoteApp application (Excel) by clicking on the XLSX file. When looking at the application properties -> File Type Associations
    -> Current Associations column, I see the name of the collection, which includes Excel ... but it does not work. After updating the RemoteApp and Desktop Connections on the client, the RDP file with Excel noticed a new line:
    remoteapplicationfileextensions: s:. csv,. xls,. xlsx,. xltx
    How do I make it work? I know that in RemoteApp on Server 2008R2 you could export the MSI file that took care of File Type Associations, but what to do in case of Server 2012?

    Unfortunately, the feature to install file type associations for RemoteApp programs in your GPO-pushed RemoteApp and Desktop Collection is only supported on Windows 8 clients. Several improvement were made over the old MSI-based file type associations, and
    those improvements rely upon changes in the Windows 8 OS.
    Ultimately file type associations are controlled with registry keys, all of which are documented on MSDN. RemoteApp programs are pretty much the same as any other local program, except the file type is associated with mstsc.exe with some special parameters.
    Although the way we register those file type associations in Windows 8 won't work for you, the way the old MSIs used to register them would. You could in theory register the RemoteApp file type associations yourself in the same way that one of the old MSIs
    would have done (you could use some sort of GPO-pushed script on the clients).
    The easiest way to do this would be to track down one of those old MSIs, install it, and do a before-and-after view of the registry to see what changes it makes.
    Hope that helps,
    Travis Howe | RDS Blog: http://blogs.msdn.com/rds/default.aspx

  • 4.0EA3: File type associations lost - can they be included when importing previous settings please?

    Hi,
    I've just noticed that my file type associations have been lost when upgrading from 3.2 to 4.0EA3
    Can you ensure that these are included in the imported preferences please?
    thanks

    Fixed. The problem for me was my desktop's USB hardware.
    I purchased a USB PCI Express card and the problems went away. I still canno get calendar to sync but I understand that is an apple issue. I had read somewhere that some motherboard chipsets are having problems that become evident with iPhone syncing.
    I also want to thank Lawrance for all his input and support (another post "Why does iTune say my 16 gig 3G iPhone has 4gig capacity")

  • File Type Associations--no mp4

    From Alias(.pix) to XML (.xml), I can find NO mp4 in the File Type Association list, found in the Edit-Preferences dialogue.
    What?
    No mp4?!?!

    I don't think mp4 and mp4a are the same thing.
    Try this:
    http://www.ehow.com/info_12198542_mp4a-file.html
    I did not go through all the info but it seems the 'a' stands for only audio.
    Bridge can handle a lot of file type but by far not everything. It should handle all Adobe Suite possible filetypes but even this is still not the case. However trying to get all kinds of file types handled will be a big task

  • File Type Associations box is empty

    In Bridge CS4 -- Click on Edit/Preferences/File Type Associations and you should get a list of files. I don't. My file Type Associations box is empty. Starting Bridge by dumping the cache and preferences does not help, the box remains empty. Has anyone ele experienced this? Better yet, does anyone know a possible fix. Thanks to anyone who can ofer any insight.

    Curt:
    Nope, I tried that but nothing happened. However, I did discover my bridge associations file had been deleted. I restored it and everything is back to normal. Thanks for your interest.
    Jim

Maybe you are looking for

  • Why is email disappearing from my inbox in Apple mail?

    I will open an email, read it then close Mail, or not.  Either way, when I go back to Apple Mail to re-read the message it is gone.  I've lost an extremely important message.  I've searched Junk and trash, all of my accounts and the message is gone. 

  • [js] [cs2] Remove all baseline shift

    Hi, Does anyone know how to remove all baseline adjustments of all text in all frames of an entire document. All text must be set on 0 baseline. How to go trough every character of every paragraph of every textframe on every page in the current docum

  • Execution of this code

    Hai All declare pin_no varchar2(26); pin_date date; pin_time varchar2(25); mstr varchar2(200); m_file TEXT_IO.FILE_TYPE; m_file_path varchar2(100) := :global.filename; line_count number; M_BARCODE VARCHAR2(26); M_BARDATE DATE; M_BARTIME varchar2(25);

  • Download Scheduler Day scheduling

    Dear Gurus, I have designed a report and I want to schedule as on date as when report runs each day it should pick up the current day date. I want to schedule this in download scheduler. How can I generate report as on day so that the report take the

  • Scrap allowance in Planning raw mateial

    Dear all GURU, we are planning raw material as per BOM quantity and scrap allowance to it.(ONLY SUBCONTRACT SCENARIO) ex. bom says that Inhouse component 100 pcs needs 100 pcs of semi finished subcontract material and for that 100kg of raw material n