04-04-2012 12:09 PM
So I got my hands on the Playbook and am happy to discover there is an AIR SDK for it. I can't seem to figure how to make it work, and I don't seem to find what I need from my google-fu. So I though I couls ask here.
I want to try and publish the most simple thing there is: a simple project with a button on it. I installed the SDK, pointed to the Flex SDK 18.104.22.16828 (Flex Hero) which has the AIR SDK 2.6. I created an AIR project, with a simple AS file. Below is its code:
[SWF(backgroundColor="#cccccc", frameRate="30", width="1024", height="600")]
public class PlaybookHelloWorld extends Container
public function PlaybookHelloWorld()
var button:LabelButton = newLabelButton();
button.label = "hello world";
Then I went in the debug configuration to create a new one. However, when I click debug, I get an error:
"Compile" has encountered a problem. An internal error occured during: "Compile".
And details are equally vague:
An internal error occurred during: "Compile".
The SWF is not even generated, due to that error.
I know it's not that I cannot publish AIR projects with FDT, as I have tried, to cover that option, and AIR only projects work.
Michael Chaize published a video explaining how to do this in Flash Builder (http://vimeo.com/16470265), because there is an integration into that IDE.
So the question is, how to do that with FDT? Any help is welcome!
04-07-2012 02:54 PM
There are some nice resources linked in the FDT community pages:
you could also check this post on my blog on how to customize FDT templates for the PlayBook:
04-11-2012 06:15 PM
04-16-2012 05:08 PM
I heard FDT 5.5 has blackberry intégration... So you might want to check it out http://fdt.powerflasher.com/2012/04/fdt-5-5-beta-r
I remember a few weird bugs with FDT 5 it wouldonlly recognize a air 2.6 sdk, so you have to manually fake the tablet os sdk signature to be able to use it with FDT...
04-17-2012 11:04 AM
Unfortunately, I've had this error several times with FDT and never got to the bottom of it as there is not a lot to go on from the error.
I came to the conclusion (and have avoided it since) that using the Flex SDK with the Blackberry SDK overlayed seems to cause problems with the Debug compile. Even changing back to a pure Flex SDK (with no Blackberry SDK overlay) doesn't seem to fix the problem (or at least didn't for me).
I always use ANT scripts now to manage my Playbook compile/debug and deploy which avoids this problem.
I haven't tried FDT 5.5 yet - maybe that does help.
Sorry it's not a true solution to the problem.
04-18-2012 11:05 AM
Hey guys, so FDT 5.5 beta indeed helps for BlackBerry Playbook projects: https://twitter.com/#!/jansensan/status/1923518105
That comes from the project with which I had an issue when I asked this questions.
However, creating a new project with the provided template is still an issue: http://bugs.powerflasher.com/jira/browse/FDT-2692
Anyone else facing this?
04-18-2012 03:44 PM