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
WMC
Contributor
Posts: 20
Registered: ‎01-26-2011
My Device: BlackBerry PlayBook
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

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

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.

WMC
Contributor
Posts: 20
Registered: ‎01-26-2011
My Device: BlackBerry PlayBook
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

New Contributor
Posts: 5
Registered: ‎03-02-2011
My Device: Not Specified

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.

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

Re: Building bar with 0.9.3 SDK

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

New Contributor
Posts: 5
Registered: ‎03-02-2011
My Device: Not Specified

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.

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

Re: Building bar with 0.9.3 SDK

Try:

 

com.kodymccarthy.tictactoe

 

Just a guess.

New Contributor
Posts: 5
Registered: ‎03-02-2011
My Device: Not Specified

Re: Building bar with 0.9.3 SDK

Thank You that worked. Smiley Happy

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

Re: Building bar with 0.9.3 SDK

WMC
Contributor
Posts: 20
Registered: ‎01-26-2011
My Device: BlackBerry PlayBook
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