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.
01-22-2013 10:21 AM - edited 01-22-2013 11:18 AM
I've got about 60% of the BBM Social Platform headers files ported over in a 1:1 manner (just a c/as wrapper combo that calls the same function in the BBM SP) but I've hit a few roadblocks. I haven't quite figured out how to convert and pass classes/structs between the native code and as3 (supposedly it's possible) and feel it may take another week or so to do that, but I want to be able to get this out this week since the 10K and BFBB deadlines have been pushed back. I haven't used the BBM SP much in native or java and am largely unfamiliar with it, so I wanna ask in on its uses. I can figure there isn't much need for more than one of the BPS or BBMSP event structs unless you needed multithreaded capabilities, but for the rest of the structs: image, profile, contact, contact list; is there a large need for more than one instance of each object? And if there is, will the amount vary greatly or will it usually be a small or consistent number? I ask this so I can decide whether to create an array of the structs and manage the creation/deletion of them myself and assing object ids to be passed back instead of success for a number of the functions or should I go with one of the c++ data structs (map, hash table, etc) and lett the system manage it?
Solved! Go to Solution.
01-22-2013 10:55 AM
01-22-2013 11:27 AM
01-22-2013 11:35 AM
01-22-2013 11:44 AM
01-22-2013 12:20 PM
01-23-2013 05:08 PM - edited 01-23-2013 05:09 PM
After speaking with jdolce and doing a little more reasearch it seems that it would be almost impossible to do a direct 1-1 mapping ANE with just the functions because of the need for threads to keep from blocking and the possibility of multiple objects in use of each type at once. So I am going to start adding in the threads now. I hope to have the registration and possibly image and profile functions/threading done by tomorrow afternoon and will post that for review/testing as soon as i do.
01-24-2013 07:48 AM
01-25-2013 11:20 AM - edited 01-25-2013 07:44 PM
Well seems i've hit another roadblock. You can include the bbplatformbbmsp library in the ANE but you cannot grant permission to the library since there is no bar-descriptor.xml file with an ANE. Im going to message jdolce to see if there is a way around this, but if not, we'll have to wait on RIM for a solution.
*************************** EDIT *******************************
I found out the issue, I had the wrong library linked. There is a libbbmsp (BlackBerry Messenger Social Platform) and a libbbplatformbbm (BlackBerry Social Platform BBM); the first one is the correct one but I was linking the second. So its linking now, so hopefully I'll get something done for testing by monday.