03-06-2011 01:12 PM
The "shared" is link to common location where all apps share files. It has the following structure:
So from Peter's analysis, we currently have no way to get to the other directories (other than "documents")?
03-06-2011 01:15 PM
Correct, unless you just use a relative path, which is what I'm doing temporarily (until we get a fixed SDK or see how it is on the real hardware):
This has the advantage of being likely to continue working on the real thing, even if I don't get around to doing an update before someone else tries the app.
04-13-2011 11:23 AM
I'd like to note that one of my earlier posts describing the mapping from File.xxxxxDirectory names to actual folders in the filesystem was incorrect.
Although I later corrected that information when 0.9.3 came out, it appears the change was not yet applied to the "official" documentation that captured that information.
I've added a comment describing the issue and including the correct information. I've confirmed that particular mapping is correct for 0.9.2, 0.9.3, 0.9.4, and 1.0.
(The mistake involved swapping where File.userDirectory and File.desktopDirectory pointed. If you use either of those and might be relying on the older, incorrect information, please review and fix your code.)
04-13-2011 01:10 PM - edited 04-13-2011 02:56 PM
XoomMan, it's available to people who work for RIM and QNX, at least. I know no one who has it, outside of that group.
My "source" does have access to 1.0 and pointed out that that knowledge base article was wrong for 1.0, and then we compared with the other versions and verified things.
I'm not actually certain I was wrong with the original 0.9.2 stuff, come to think of it. I retested before posting, but used SDK 0.9.4 for the build, running it on the old simulator. I'll retest with an 0.9.2 build just to tie up that loose end too. The actual mapping is supposed to come from /etc/system/config/qnxair.conf, which is the same in each simulator I've checked today, but possibly the older SDK didn't correctly read those values. Most likely I just screwed up.
(Addendum: I tried various combinations of 0.9.1 and 0.9.2 SDK and simulator, and can't find one that gives the combination I originally posted... chalk it up to pilot error. My bad, pure and simple.)