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
shawnblais
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified
Accepted Solution

Easy way to qualify for B4BB "Service" requirement

[ Edited ]

It seems to me that the easiest way to qualify for the service requirement, is to just link to your app in AppWorld. For example, prompting the user to review your app, or maybe a link for them to view all your existing apps.

 

This uses the Invocation Framework which is a qualified service for the B4BB program.

 

Code is as simple as: 

var request:InvokeRequest = new InvokeRequest();
request.target = "sys.appworld";
request.action = InvokeAction.OPEN;
request.uri = "appworld://content/" + appId;
InvokeManager.invokeManager.invoke( request );

 

I think you could even make an argument, that a simple getURL() call is doing the same thing, so is it not also meeting eligibility for B4BB?

ie:

navigateToURL(new URLRequest("appworld://content/" + appId));

 

You can have lots of fun with other prefixes too:

https://developer.blackberry.com/air/documentation/bb10/blackberry_world.html

Developer
SangramPatil
Posts: 271
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha

Re: Easy way to qualify for B4BB "Service" requirement

I guess the first one will help you qualify, provided they do not mention, The app is simple(What they have been mentioning to many) :-)

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

Re: Easy way to qualify for B4BB "Service" requirement

Not too certain if that would qualify. The service element has to have meaning in the context of the content of the app. Adding a hook to BBM is just as easy and would qualify.
Developer
shawnblais
Posts: 439
Registered: ‎10-25-2010
My Device: Not Specified

Re: Easy way to qualify for B4BB "Service" requirement

But as far as I know, we can't test BBM...
Developer
SangramPatil
Posts: 271
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha

Re: Easy way to qualify for B4BB "Service" requirement

Even I don't have BBM configured, for invoking the BBM, are we supposed to add any tags in bar-descriptor/app.xml?

 

In general, for invoking the core applications, do we need to add any thing in bar-descriptor?

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

Re: Easy way to qualify for B4BB "Service" requirement

You do not have to add anything to your XML files to invoke a target. Those tags are only if you want to be a target. Use the sample code that I posted to invoke BBM, and it will work just fine.
Developer
SangramPatil
Posts: 271
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha

Re: Easy way to qualify for B4BB "Service" requirement

Thanks for the confirmation.