Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Adobe AIR Development

Reply
Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Invocation framework - Sample app?

https://github.com/cmy82/bb10-ane-bbm

The complete project folders are included for all three parts and you should be able to just import them and go
Please use plain text.
Trusted Contributor
Vibes
Posts: 215
Registered: ‎03-14-2012
My Device: PlayBook 2.0
My Carrier: AT&T

Re: Invocation framework - Sample app?

I tried to install the .bar file via sideloading.

This error comes up: result::failure 881 no debug token found 

 

How can I install the app?

Please use plain text.
Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Invocation framework - Sample app?

You need to create and install a debug token since the test app is not signed.
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Invocation framework - Sample app?

Finally got to this.  Here are some errors I received:

Pressed Reg UUID:

[SWF] qnx.fuse.ui.skins.QNXSkins - 513,947 bytes after decompression
[SWF] BSLLC.library.ane.BBM - 22,996 bytes after decompression
ArgumentError: Error #2100: The ByteArray parameter in Loader.loadBytes() must have length greater than 0.
	at flash.display::Loader/_loadBytes()
	at flash.display::Loader/loadBytes()
	at ane.bbm::BBMSPUtil/retrieveImage()[X:\BBDEV\PlayBook\Flash Builder\BBM-ane\src\ane\bbm\BBMSPUtil.as:209]
	at BBMTest/updateHandle()[C:\data\development\bb10\air\v1\BBMTest\src\BBMTest.as:187]
	at flash.events::EventDispatcher/dispatchEventFunction()
	at flash.events::EventDispatcher/dispatchEvent()
	at ane.bbm::BBMSPUserProfile/profileStatusUpdate()[X:\BBDEV\PlayBook\Flash Builder\BBM-ane\src\ane\bbm\BBMSPUserProfile.as:196]

 And

View Profile:

[SWF] qnx.fuse.ui.skins.QNXSkins - 513,947 bytes after decompression
[SWF] BSLLC.library.ane.BBM - 22,996 bytes after decompression
Checking to see if icon 1001 has been previously registered
Result: 1

Checking to see if icon 1002 has been previously registered
Result: 1

Checking to see if icon 1003 has been previously registered
Result: 1

RangeError: Error #2006: The supplied index is out of bounds.
	at flash.display::DisplayObjectContainer/getChildAt()
	at BBMTest/displayProfile()[C:\data\development\bb10\air\v1\BBMTest\src\BBMTest.as:158]

 

Please use plain text.
Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Invocation framework - Sample app?

Is that with the latest version I have up? Do you have a picture setup in your BBM profile? I skipped a lot of the error checking in the test app, and it seems like those errors are because you hont have a profile picture.
Please use plain text.
Developer
jtegen
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Invocation framework - Sample app?

I took what was on github from today. No, I did not have a photo set.
Please use plain text.
Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Invocation framework - Sample app?

[ Edited ]

Ok, I'm sure those errors are because of the lack of a picture. I can add error checking a push the changes in a little bit.

 

***************** EDIT********************************

Just pushed an update that should work if there is no user profile picture set

Please use plain text.
New Developer
doublemint
Posts: 20
Registered: ‎01-12-2011
My Device: none

Re: Invocation framework - Sample app?

[ Edited ]

I found a link to download the zip version of the project.  In the project, I found the images in a a directory named "images" located at the same level as the src directory.  You can see if you have a good download and unzip by browsing the images directory.  I am still not able to make the project work.  However, it looks like it will be worth the effort.  I suppose that I may be having some difficulty because I have never dealt with an ane at this level before this experience. 

 

 

Please use plain text.
New Developer
doublemint
Posts: 20
Registered: ‎01-12-2011
My Device: none

Re: Invocation framework - Sample app?

Is this likely to work with the PlayBook when added to Flash Builder 4.7?

Please use plain text.
Developer
Developer
CMY
Posts: 1,123
Registered: ‎02-10-2009
My Device: 8130 / 8350 / 9530 / 9550 / 9850 / PlayBook
My Carrier: Verizon

Re: Invocation framework - Sample app?

It will not work on the PlayBook as it does not have BBM yet.
The issue he was having is he does not have a picture set for his BBM profile, but I just added in a check for that. What are you having issues with getting to work?
Please use plain text.