Welcome to the Official BlackBerry® Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
Developer
jtegen
Posts: 4,247
Registered: 10-27-2010
My Carrier: Verizon

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

Please use plain text.
Developer
taylortbb
Posts: 119
Registered: 10-26-2010
My Carrier: Rogers

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
Please use plain text.
Developer
jtegen
Posts: 4,247
Registered: 10-27-2010
My Carrier: Verizon

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

 

Please use plain text.
BlackBerry Development Advisor
elena_laskavaia
Posts: 406
Registered: 10-27-2010

Re: blackberry-template.xml category choices

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

Please use plain text.
Contributor
Mike7081
Posts: 17
Registered: 05-11-2010
My Carrier: verizon

Re: blackberry-template.xml category choices

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

Please use plain text.
Developer
jtegen
Posts: 4,247
Registered: 10-27-2010
My Carrier: Verizon

Re: blackberry-template.xml category choices

Please use plain text.
Developer
jtegen
Posts: 4,247
Registered: 10-27-2010
My Carrier: Verizon

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?

Please use plain text.
New Member
godel
Posts: 1
Registered: 11-18-2010
My Carrier: Vwerizon

Re: blackberry-template.xml category choices

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

 

G

Please use plain text.
New Developer
Scottapotamas
Posts: 32
Registered: 01-01-2011

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
Please use plain text.
Developer
jtegen
Posts: 4,247
Registered: 10-27-2010
My Carrier: Verizon

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.

Please use plain text.