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

Web and WebWorks 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
New Contributor
Posts: 4
Registered: ‎03-11-2010
My Device: Various
My Carrier: None

Basic questions while exploring widget development

I see in the 'config.xml' file documentation there is a place for description, author info, license, etc. However, I don't see any way using the BB UI to view that information in an application installed on a BB device. I'm not an experienced BB user, so perhaps I'm missing something. FWIW, I'm just using the simulator for a BB 9000, not an actual BB device.

 

While checking out some of the docs I believe I saw an API that made this info available to a widget developer. So, I'm assuming this info is actually embedded in the compiled COD file and would therefore be available to the user. Is that the only way to view the info, to actually write code to retrieve it and display it? I guess I expected there to be some way of choosing an application/widget and saying "show me the properties of this application" where you would see description, author, licensing, etc. And, if links were included (like the href attribute in the license tag), then those links would be clickable.

 

Thanks for your help.

 

 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Basic questions while exploring widget development

Hi There,

 

Some of the information added in the config.xml is visible in the Applications list.  You can view this list by going to the Options -> Applications area.  When you view the details of the applications in this list you will see the information displayed.

 

Other bits of that information are at your disposal to display to your user using the JavaScript API.

 

Cheers

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
New Contributor
Posts: 4
Registered: ‎03-11-2010
My Device: Various
My Carrier: None

Re: Basic questions while exploring widget development

Yes, that's basically the functionality I was looking for.

 

I don't see anything about licensing, so does that mean if you want any licensing info to be available to your users, you must code something using the JS API?

 

I just found it a little odd that licensing info would not be shown, yet there is a "hash" of some sort that is shown. I'm not sure what the user would do with this "hash" info...

 

Thanks for pointing me in the right direction.

 

 

Retired
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: Basic questions while exploring widget development

Yes, if you want to prompt your user with a license agreement you will have to do so using the JavaScript APIs.

Tim Neil
Director, Application Platform & Tools Product Management
Follow me on Twitter
Highlighted
New Contributor
Posts: 4
Registered: ‎03-11-2010
My Device: Various
My Carrier: None

Re: Basic questions while exploring widget development

OK. Thanks.

 

I didn't so much want to prompt them, rather, just wanted any licensing information to be available to them. If there was a "standard way" of providing that, I'd like to know about it. Sounds like there is not, so I would need to build it into my app.

 

Out of curiosity, are there tools/apps/sites (perhaps App World) that read/use the licensing data compiled into the the Widget? Otherwise, I'm not sure what the point is of having this kind of data specified in the config.xml file since it can't be viewed by anyone.

 

Perhaps the documentation should say something about which tags are required, recommended, optional, only used if app is coded to use it, etc.