08-12-2012 02:09 PM
08-12-2012 03:15 PM
08-12-2012 07:03 PM
I would just grab the zip of the source code here:
https://developer.blackberry.com/air/beta/files/re
It has everything you want (i.e. the PushReceiver.bar for you to try out and then the source code itself).
See the steps from the README.md file here to get started:
https://github.com/blackberry/Samples-for-AIR/tree
Let me know if you run into any issues.
Thanks,
Matt
08-13-2012 02:53 PM
Just a quick comment about the "VerifyError: Error #1014: Class mx.core::BitmapAsset could not be found." error.
I've encountered this error myself in Flash Builder 4.6.
Here's how I've usually fixed it:
1. Right click on your project in Flash Builder 4.6 and go to properties.
2. Click on ActionScript Build Packaging and then on the BlackBerry option.
3. Click on the Native Extensions tab.
4. Make sure that there is a Package checkmark for each of the ANEs. (The ANEs you should have listed are QNXDevice.ane, QNXSkins.ane, and BlackBerryPushService.ane.)
Thanks,
Matt
08-20-2012 02:58 PM
08-20-2012 03:25 PM
08-20-2012 04:10 PM
Agreed. I'll make sure the documentation is updated for the next update to the sample app.
Thanks,
Matt