04-15-2012 01:24 AM
Please forgive me if I'm posting this at the wrong section as this is my first post in BlackBerry Support Forums (and I'm new to forums in general).
Anyway, here's the problem: I got interested in developing for PlayBook and I set-uped my PC with Tablet OS SDK and Adobe Flash Builder 4.6 and the PlayBook simulator. And for a start I copied the whole code listing from the BlackBerry Getting Started guide for Adobe AIR. But, it shows 2 imports as not available. The imports:
import qnx.dialog.DialogButtonProperty; import qnx.dialog.PromptDialog; import qnx.display.IowWindow; import qnx.fuse.ui.buttons.LabelButton; import qnx.fuse.ui.text.Label;
Only the last two imports show errors (says they cannot be found).
So anyone have any idea why this is? Maybe I'm overlooking some small thing but can't figure out what this is..
04-15-2012 12:09 PM
04-15-2012 12:28 PM
I have "Add Platform Specific Libraries To Project" checked.. Other than that, I do not see any specific libraries to check/uncheck.
04-15-2012 01:28 PM - edited 04-15-2012 01:29 PM
Make sure under Window --> Preferences --> Flash Builder --> Target Platforms --> BlackBerry Tablet OS
The checkbox for "latest SDK" is checked. You don't want it pointing to something pre 2.0, as 2.0 brings the fuse components in.
If this doesn't work I am not sure what the issue would be then. I would suggest exiting Flash Builder and attempting to reinstall the SDK as they import just fine for me. Make sure the "Integrate with Flash Builder" option is checked if you reinstall the SDK.