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

Reply
New Developer
tausi0661
Posts: 11
Registered: ‎01-29-2011
My Device: Not Specified

WebWork SDK for Tablet OS: how to specify the category?

Hi,

 

I used this SDK to compile my app and I found that the category was always "core.internet" in the files blackberry-tablet.xml and myappname-app.xml in the generated .bar file (also it was under the "internet" tab after I published it onto the simulator).

 

So how can I specify the category? Or is it useless (since the category should be set when the app is submitted via the vendor portal) ?

 

thanks~

Please use plain text.
BlackBerry Development Advisor (Retired)
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: WebWork SDK for Tablet OS: how to specify the category?

Hello,

 

Great question.  

 

The Tablet OS category cannot currently be specified using the WebWorks SDK for PlayBook tools.  Note this category is separate from the details you specify for your app in the App World vendor portal.

 

As you have explained, it is being set to core.internet by the WebWorks packager.  I have a feature enhancement request submitted with product management and development teams regarding giving developers the ability to specify the category in the config.xml file.  This request is currently under review.

 

In the meantime, there are two ways you can change the category*:

 

  1. Modify the category field of the blackberry-tablet.xml file found within \bbwp\AirAppTemplates\src\ before you build your application.
  2. Modify the Application-Category field of the manifest.mf file, found within the application's BAR file after you build your applicaiton but before deployment.  

Valid values are:  core.media, core.internet. core.games and core.utils.

 

 

*Note: If you do modify the default category values, make sure to delete any existing installs of your app from the Tablet OS before re-deploying or else you may end up with duplicate copies installed.

 

Sincerely,

Adam

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
BlackBerry Development Advisor (Retired)
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: WebWork SDK for Tablet OS: how to specify the category?

For public visibility, I've added the following New Feature request to the Developer Issue Tracker.

 

"Specify Tablet OS home screen category using the WebWorks SDK for PlayBook"

https://www.blackberry.com/jira/browse/TABLET-138

 

Please add comments and vote on this item to assist us with the prioritization of this feature.

 

Sincerely,

Adam

 

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Developer
Heiko
Posts: 125
Registered: ‎01-17-2011
My Device: Playbook
My Carrier: Vodacom

Re: WebWork SDK for Tablet OS: how to specify the category?

Hi

 

If this still works (with latest SDK) then this might be option 3 .. ?

 

Refer to my post on this topic:

http://supportforums.blackberry.com/t5/Testing-and-Deployment/How-to-deploy-to-specific-category-in-...

 

And this link - which describes how to do this for Air SDK, but it also works for webworks:

http://renaun.com/blog/2011/01/exploring-the-playbook-applications-blackberry-tablet-xml/

 

Or in short ..

You can/could also copy the blackberry-tablet.xml file into your source folder and edit the category. Thus only changing the deployment category for a specific project, not for all.

 

.H

Please use plain text.
New Developer
tausi0661
Posts: 11
Registered: ‎01-29-2011
My Device: Not Specified

Re: WebWork SDK for Tablet OS: how to specify the category?

Thanks for your replies:Clap:

Please use plain text.
Contributor
bbkeeper
Posts: 41
Registered: ‎04-27-2010
My Device: Z10
My Carrier: VIettel

Re: WebWork SDK for Tablet OS: how to specify the category?

With the latest WebWorks SDK which is 2.1.0.6 I saw the changes log said we can have: "Configuring the home screen category for your application". 

 

How can we do that? Please help.

 

Thanks a lot and best regards.

 

---
More applications/games here: http://appworld.blackberry.com/webstore/vendor/14299/
louis.keeper@gmail.com
haitt@viethop.net
http://blackberryvietnam.net
http://viethop.com
Please use plain text.
BlackBerry Development Advisor
tneil
Posts: 3,708
Registered: ‎10-16-2008
My Device: Z10
My Carrier: Rogers

Re: WebWork SDK for Tablet OS: how to specify the category?

Please use plain text.