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
Developer
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
Posts: 275
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha
My Carrier: -

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
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

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
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
Posts: 275
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha
My Carrier: -

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
Posts: 6,541
Registered: ‎10-27-2010
My Device: HTC One, PlayBook, LE Z10, DE Q10
My Carrier: Verizon

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
Posts: 275
Registered: ‎01-21-2013
My Device: BB10 Dev Aplha
My Carrier: -

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

Thanks for the confirmation.