12-13-2010 03:24 PM
I am currently designing a application which will open a few specific kind of files. I have two question regarding this decision:
1. How can I tell the Playbook OS that I can handle those files?
2. How can I open/upload those files onto the emulator for testing purposes?
Thanks in advance.
Solved! Go to Solution.
12-13-2010 03:44 PM
You can install files that are under your /src file. Those files will be in the folder defined by the class File.
applicationDirectory. Other files could be grabbed from the Internet and saved to the File.
AIR allows you to register certain file types that a certain application can manage. That is defined in the -app.xml file.
06-25-2011 01:36 PM
I am also facing a similar problem, the difference is this I am trying on a real device. Let me explain..
We are developing an application which would allow opening files in some proprietary formats, for this we have to register our application for those file types. We have already tried setting up file types in AIR XML configuration file. What's interesting is that after those changes corresponding AIR application running on a MAC OSX Desktop gets registered for the file types but the playbook variant doesn't work.
This leads me to conclude that there is some more configuration required for the playbook variant. As of now we are stuck with no clue to move forward. Any help would be highly appreciated.
XML Snippet for AIR XML Configuration File
<description>File Description we would like to support</description>
Development IDE : Flash Builder 4.5
Operating System : Mac OSX 10.6.6
BlackBerry SDK : 1.1.0
06-25-2011 02:00 PM
06-27-2011 01:53 AM
Thanks John for your Reply !
I would be eagerly waiting for a word from RIM as this would be holding us on releasing some stuff which we intend to develop for RIM platform !