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. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Adobe AIR Development

Reply
WMC
Contributor
WMC
Posts: 20
Registered: ‎01-26-2011
My Carrier: None

Re: Building bar with 0.9.3 SDK

Sorry, I was responding before I saw your message.

 

I will put it in the blackberry-tablet.xml file. This is new correct? As I was able to put it in the app.xml file previously. Maybe that's why my compiler kept throwing errors (after correcting version errors). It did mention something about the icon.png.

 

Thanks all. I will keep you posted.

--
PlayBook Apps: MathBook
Recycle Challenge

Please use plain text.
Developer
jtegen
Posts: 6,156
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Building bar with 0.9.3 SDK

The blackberry-tablet.xml file looks like this:

 

<qnx>
  <initialWindow>
    <systemChrome>none</systemChrome>
    <transparent>false</transparent>
  </initialWindow>
  <publisher>o2 interactive</publisher>
  <category>core.travel</category>
  <splashscreen>assets/splash.png</splashscreen>
  <icon>
  	<image>assets/icons/compass_icon_86.png</image>
  </icon>
</qnx>

 

In your build for the BAR file, you need to include this file too.  It has to be in the BAR file after the build or the icon will not show up.

Please use plain text.
WMC
Contributor
WMC
Posts: 20
Registered: ‎01-26-2011
My Carrier: None

Re: Building bar with 0.9.3 SDK

Perfect, Thanks John.

 

I have that in my folder where I am building my bar from. I just have to clean up my app.xml file (take out icon stanzas) and then hopefully it will work.

 

 

--
PlayBook Apps: MathBook
Recycle Challenge

Please use plain text.
New Contributor
simpsonsguy316
Posts: 5
Registered: ‎03-02-2011

Re: Building bar with 0.9.3 SDK

 

I have been trying to package my files into a .bar and all it keeps doing is creating .tmp files like BAR2249896016040567127.tmp, and outputting this error:

 

C:\Users\huggyhomer\dev\tic_tac_toe-app.xml(6): error 105: application.id contains an invalid valueError: AIR validation failed

 

I have not been able to find any help on it though.

Please use plain text.
Developer
jtegen
Posts: 6,156
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Building bar with 0.9.3 SDK

What is your application id?  Remember, reverse DNS format.

Please use plain text.
New Contributor
simpsonsguy316
Posts: 5
Registered: ‎03-02-2011

Re: Building bar with 0.9.3 SDK

I have this in the id tags:

 

com.KodyMcCarthy.tic_tac_toe

 

I'm not quite sure what i need to put in there though.

Please use plain text.
Developer
jtegen
Posts: 6,156
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Building bar with 0.9.3 SDK

Try:

 

com.kodymccarthy.tictactoe

 

Just a guess.

Please use plain text.
New Contributor
simpsonsguy316
Posts: 5
Registered: ‎03-02-2011

Re: Building bar with 0.9.3 SDK

Thank You that worked. :smileyhappy:

Please use plain text.
Developer
jtegen
Posts: 6,156
Registered: ‎10-27-2010
My Carrier: AT&T

Re: Building bar with 0.9.3 SDK

Please use plain text.
WMC
Contributor
WMC
Posts: 20
Registered: ‎01-26-2011
My Carrier: None

Re: Building bar with 0.9.3 SDK

Added these:

<?xml version="1.0" encoding="utf-8" standalone="no"?>
<application xmlns="http://ns.adobe.com/air/application/2.5">
	<versionNumber>1.1.0</versionNumber>

Still getting this error:

 

error 102: Invalid namespace http://ns.adobe.com/air/application/2.5

 

Any ideas?

 

Thanks

--
PlayBook Apps: MathBook
Recycle Challenge

Please use plain text.