11-29-2012 01:12 PM
For some reason, the BB10 WeatherGuesser sample was built for PowerFlasher FDT, not for Adobe Flash Builder. It uses a rather "exotic" project structure, which makes it difficult to get working in Flash Builder.
Attached to this message is a version that should be a little easier to use with FB 4.6. I've adjusted the package and asset locations and names to match the "best practices" that we are used to.
To use the sample, choose File > Import Flash Builder Project and select the .zip file attached to this post. After import, you'll need to modify the <author> and <authorId> tags in bar-descriptor.xml to match your debug token.
This sample is based on the AIR SDK beta4 version posted here on 2012-11-28.
12-02-2012 02:11 AM
Thanks for this - I gave up attempting to import the FDT based project - couldn't even work out how to make that into a mobile application :/
Managed to get your zip working in about 2 minutes flat
12-16-2012 05:28 AM
THANK YOU THANK YOU THANK YOU!
I gave up on my attempt at making it work in FB 4.6, and have been wanting to try it out badly.
I might give a go at commenting it.
12-18-2012 03:35 PM
Cannot get this to work:
FB 4.7 - when importing, says it will be converted to AIR 3.4.
- Changed app.xml to 3.4
- set -forceAIRversion 3.1 in Advanced tab
- inserted my author/authorId
BB10 DevAlpha simulator v 10.0.9.1673 (In FB 4.7 there is a new simulator option: AIR simulator - assuming we do NOT use that)
app launches, crashes after showing default (BB) splash screen: no consol output.
what am I doing wrong?
12-19-2012 10:46 AM
For FB 4.7, (as I understand) xmlns must be 3.4
then we use "-forceAIRversion 3.1" in the Advanced tab in Build Packaging.
It runs fine in FB 4.6, but trying to test with latest FB/SDK's...
12-19-2012 02:03 PM
Also make sure you add the compiler argument -swf-version 14
12-19-2012 04:35 PM
sorry to pester, but...
This says its running in captive mode - is that correct?
If so, does that mean that the app (also built using FB 4.7) that I submitted to the Hack-a-Thon will not be accepted?