Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
06-07-2012 11:57 AM
Has anyone been able to debug an ANE and if so, the steps involved?
I am getting an exception at
this.ext = ExtensionContext.createExtensionContext( 'my_unique_id', null );
The ANE is properly packaged and I can see it in the final BAR file. The IDs match as the id in the extension.xml file in the C++ project.
06-07-2012 12:41 PM
If it crashes there, its not finding the ANE:
check the app.xml <extensions> FB "fixes" it...
BTW: installed new OS and simulator (184.108.40.2060) and my ANE now is working on simulator, but NOT on PB.
06-07-2012 06:30 PM
the whole ane naming is confused - here's what I found:
the ane file will be called e.g. com.example.ane (depending on the Base filename setting in Export)
<project>.ane as might be expected
and you need to edit extension.xml and set the ID - IDE does not seem to update...
but, that has nothing much to do with the ID. That is called e.g. com.example.NativeAS3
also check bb-tablet.xml - make sure it has:
I went round about many times before getting it straight.
oh yes: make sure to Export from NDK after any changes to the AS3 side, at least if the ANE SWC is affected.
Now, I've un/re-installed the NDK to see if it changes anything. It has all the same bugs as originally, even though I deleted the workspace - including the SDK set to 4.6 (I suspect eclipse saved some settings).
I was able to connect the NDK to a running app (on PB and simulator) - on PB, it compalined about a shared lib at the wrong address???
06-07-2012 06:41 PM
first the good news:
reinstall of NDK seems to have fixed the ANE. It works on both PB and simulator.
when I attach the NDK to the PB app - and app hangs until I kill the debugger session...
warning: .dynamic section for "C:/bbndk-10.0.4-beta/target/qnx6/armle-v7/lib/lib
pps.so.1" is not at the expected address (wrong library or version mismatch?) warning: Could not load shared library symbols for 2 libraries, e.g. libCore.so. Use the "info sharedlibrary" command to see the complete listing. Do you need "set solib-search-path" or "set sysroot"?
06-07-2012 07:02 PM