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


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.


Reply
Trusted Contributor
Posts: 101
Registered: ‎03-04-2011
My Device: BB10-Dev Alpha
My Carrier: -

Re: Anyone has AIR-app approved for Built For Blackberry and 10K

Congratulations as you have atleast one app approved.

And you rightly said, we shouldn't have such a tight deadline. I just received the Dev alpha weeks back, post port a thon and becomes difficult to have all those features tested on device.

Hope BB will give due consideration and listen to developers, what they have been kindly doing. :-)
Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Anyone has AIR-app approved for Built For Blackberry and 10K

@shawnblais: Do you need sample code to invocate something?
Highlighted
Developer
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Anyone has AIR-app approved for Built For Blackberry and 10K

Well I want to register to handle images, and I've tried adding the code to register as an InvokeTarget, but that's sorta where the trail goes dry...

 

How to test? How to hook into the native image gallery? I see both "Share" and "Edit" options in the Gallery, but my App never shows up in either.

 

Kinda lost, the new docs are pretty sketchy!

 

Any help would be amazing Smiley Happy

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Anyone has AIR-app approved for Built For Blackberry and 10K

What does your XML look like when defining yourself as a target?
Developer
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Anyone has AIR-app approved for Built For Blackberry and 10K

[ Edited ]

I tried a few different approaches, based on docs from various SDK's, looking at the file here's where I ended up:

<invoke-target id="ca.esdot.PicShop">
<invoke-target-type>application</invoke-target-type>
<filter>
<action>bb.action.VIEW</action>
<action>bb.action.OPEN</action>
<mime-type>image/png</mime-type>
<mime-type>image/jpeg</mime-type>
<property var="uris" value="file://,data&colon;//local"/>
</filter>
<filter>
<action>bb.action.VIEW</action>
<action>bb.action.OPEN</action>
<mime-type>*</mime-type>
<property var="uris" value="file://"/>
<property var="exts" value="jpg,png"/>
</filter>
</invoke-target>

 

 

Developer
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

Re: Anyone has AIR-app approved for Built For Blackberry and 10K

I'm not certain you can have multiple actions in one filter. I have no way to test where I am at right now.