09-11-2013 02:47 AM
I have a game already created and published in the App World...
However, I need to include a service integration in order for it to be certified as Built for Blackberry...
* Now, it is not a Freemium game (so no payment service can be added to it)...
* It doesn´t need a location nor maps service
* The NFC, invocation Framework, Bluetooth Smart, or Multiplayer don´t apply because of the game...
So I have left the BBM or the Ad Service...
Now, how can I integrate such services with Flash Pro?
09-11-2013 01:19 PM - edited 09-11-2013 02:05 PM
We have an AIR Native Extension available that allows you to make use of BBM in an AIR applicaiton. You can find out more about it here: BBM Social Platform - AIR
09-11-2013 02:01 PM
Hello your system at (xxx.xxx.xxx.xxx) is not allowed to connect to the requested bugzilla.qnx.com project because your IP address is not in the list of allowed hosts.
To request access to bugzilla.qnx.com please click on the link to send an email to firstname.lastname@example.org and we can address the issue.
09-11-2013 02:06 PM
Sorry, I pasted the wrong link. I fixed it in my message above.
09-12-2013 02:56 AM
I have finally created a premium item so anyone can buy it... so I am trying to add the payment service to the app...
now maybe you know: I am trying to follow this guide:
mixing it with
since I am using CS6. I loaded all the SWCs and I have imported all the files, but as soon as I declared the var var paymentSystemaymentSystem; I get an Error #1079: Native methods are not allowed in loaded code... do you have any idea on how to fix it?
Thanks a lot!!!!
(of course it makes the app not working at all now, since the premium item needs to be bought at the beggining of the game)
09-12-2013 09:41 AM
You need to make sure that you're also loading in the ANE files. When loading in the native extensions there not going to be found on Windows so the only way you're going to be able to test them is on the simulator. I forgot a piece in my guide. Have a look at the thread below while I get the guide updated which is another step in getting ANE's working.
09-12-2013 10:58 AM
Allright, so, the
-ane QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane
should be at the beggining or at the end, or where? like
blackberry-airpackager -ane QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane -package etc
blackberry-airpackager -package *.bar, etc (XMLs, icon, swf, all other files) -ane QNXDevice.ane QNXNetwork.ane QNXSensors.ane QNXSkins.ane?
09-12-2013 11:03 AM
Should be something like:
blackberry-airpackager -package %PROJ_NAME%.bar -installApp -launchApp %APP_XML% %PROJ_NAME%.swf %BAR_DECRIPTOR% %ICON% %SPLASH_SCREEN% %ADDITIONAL% %ANE_FILES% -sign -storepass %STORE_PASS% -device %DEVICE_IP% -password %DEVICE_PASS% -flexsdk %FLEX_SDK%
The %ANE_FILES% part would be like:
-ane lib/QNXDevice.ane -ane lib/QNXNetwork.ane -ane lib/QNXSensors.ane -ane lib/QNXSkins.ane
And then to verify it was signed properly:
blackberry-signer -verify %PROJ_NAME%.bar
09-12-2013 11:51 AM
09-12-2013 03:09 PM
Are you using the latest 10.2 simulator? If so it will support up to AIR 3.5 (or Flash 11.5). If not it will only support up to AIR 3.1. What are you compiling your swf for?
Also make sure that you are setting the proper linking for the extensions.
Other than that make sure you have the <extensions> tag in your app.xml like I mentioned above. If you still can't get it to go I strongly recommend having a look at Flash Builder or FDT as they are officially supported. Coding is much easier.