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
Trusted Contributor
Sangram
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. :-)
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: Anyone has AIR-app approved for Built For Blackberry and 10K

@shawnblais: Do you need sample code to invocate something?
Please use plain text.
Developer
shawnblais
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 :smileyhappy:

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: Anyone has AIR-app approved for Built For Blackberry and 10K

What does your XML look like when defining yourself as a target?
Please use plain text.
Developer
shawnblais
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>

 

 

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: 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.
Please use plain text.