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

blackberry-template.xml category choices

What are the choices for the category tag in the blackberry-tablet.xml file?  The default example has core.games, but the application only shows up under "All" in the simulator.  I've tried "internet", "media", and "utilities", but the application does not show up under any of those topics.

 

Thanks,

John

Developer
taylortbb
Posts: 137
Registered: ‎10-26-2010
My Device: Bold 9900 + PlayBook

Re: blackberry-template.xml category choices

Poking around on the simulator's file system I found a file with what looks like relevant information, a file with the following list:

 

 

core.all::All
core.downloads::Downloads
core.internet::Internet
core.games::Games
core.utils::Utilities
core.ent::Entertainment
core.social::Social Networking
core.prod::Productivity
core.life::Lifestyle
core.ref::Reference
core.travel::Travel
core.news::News
core.photo::Photography
core.business::Business
core.edu::Education
core.books::Books
core.medical::Medical
core.media::Media
core.flash::Flash Apps
core.graphics::Graphics

 

I haven't tried them out to see if they work, but it's a starting point.

 

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

Re: blackberry-template.xml category choices

Thanks for finding that.  I set the XML file to use core.utils and re-installed the application but it did not place (replace) the application to that tab.

 

Can anyone from BB verify that this is working in the 0.9.0 simulator?

 

Thanks,

John Tegen

 

BlackBerry Development Advisor
elena_laskavaia
Posts: 417
Registered: ‎10-27-2010
My Device: PlayBook

Re: blackberry-template.xml category choices

Where did you set it? Note file name is blackberry-tablet.xml not blackberry-template.xml

Contributor
Mike7081
Posts: 17
Registered: ‎05-11-2010
My Device: storm 2

Re: blackberry-template.xml category choices

I ran into the same problem. I found you have to uninstalling your application first then reinstall it.

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

Re: blackberry-template.xml category choices

My bad, yes its blackberry-tablet.xml

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

Re: blackberry-template.xml category choices

Thank you.

 

If BB development team is seeing this, I guess I would categorize this as a bug.  Is there a place were we can formally report this?

New Member
godel
Posts: 1
Registered: ‎11-18-2010
My Device: 9650

Re: blackberry-template.xml category choices

This is a bug...thank you all who posted about this...it saved me...!!

 

G

New Developer
Scottapotamas
Posts: 32
Registered: ‎01-01-2011
My Device: Torch, Playbook Sim

Re: blackberry-template.xml category choices

[ Edited ]

Hi,

 

These are great, but I get a problem when compiling from the command line. I want the app to be in Games category, and my -app.xml has the tag

 

 

         <category>core.games</category>


 

This is the error:

 

error 103: application.category is an unexpected element/attribute

Error: AIR validation failed

 

 

Any ideas?

 

------------------------------------

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

Re: blackberry-template.xml category choices

I've found that most of the categores are buggy or the simulator ignores what you set, so you may have to revert to a category that works until the next SDK/simulator.  I have to assume an existing application would "move" to the correct category if it already exists, so an update later on (when app signing occurs) should be OK.