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

BlackBerry® World™ Development

Reply
Highlighted
Developer
Posts: 34
Registered: ‎07-30-2013
My Device: Curve 9300
My Carrier: CellC
Accepted Solution

BlackBerry_App_Descriptor.xml Icon

Hello guys.

 

Well, I am almost on the BlackBerry world!! Smiley Happy All thanks to you guys.

 

I do have one issue however that I cannot seem to get right.

 

I have submitted my app to the app world on Mondayand there were a couple of issues which I have sorted out mostly, except for one.

 

The "File Release Denied" Message BlackBerry sent me said this :

 

After installing your application, we notice the application icon is appearing as a default icon. If you are using our Eclipse plug-in, please check your BlackBerry_App_Descriptor.xml file and ensure you are specifying your custom application icon correctly.

 

I have done this! Maybe I did it wrong...

 

This is what my BlackBerry_App_Descriptor.xml file looks like :

 

<!-- This file has been generated by the BlackBerry Plugin for Eclipse v3.7.101. -->

<Properties ModelVersion="1.1.2">
  <General Title="NCC Vereeniging" Version="1.0.0" Vendor="NCC Vereeniging" Description=""/>
  <Application Type="BlackBerry Application" MainMIDletName="" MainArgs="" HomeScreenPosition="0" StartupTier="7" IsSystemModule="false" IsAutostartup="false"/>
  <Resources hasTitleResource="false" TitleResourceBundleName="" TitleResourceBundleRelativePath="" TitleResourceBundleClassName="" TitleResourceBundleKey="" DescriptionId="">
    <Icons>
      <Icon CanonicalFileName="res/NCC_small.gif" IsFocus="false"/>
      <Icon CanonicalFileName="res/NCC_small.gif" IsFocus="true"/>
    </Icons>
  </Resources>
  <KeywordResources KeywordResourceBundleName="" KeywordResourceBundleRelativePath="" KeywordResourceBundleClassName="" KeywordResourceBundleKey=""/>
  <Compile OutputCompilerMessages="false" ConvertImages="false" CreateWarningForNoExportedRoutine="true" CompressResources="false" AliasList="">
    <PreprocessorDefines/>
  </Compile>
  <Packaging PreBuildStep="" PostBuildStep="" CleanStep="" OutputFileName="NCC_Vereeniging" OutputFolder="deliverables" GenerateALXFile="true">
    <AlxFiles/>
  </Packaging>
  <HiddenProperties>
    <ClassProtection/>
    <PackageProtection/>
  </HiddenProperties>
  <AlternateEntryPoints/>
</Properties>

 I have an image named NCC_Small.gif - which is supposedly the app icon. How can I make sure that the BlackBerry app knows to always use this icon? There is an icon.png file inside res/img but that is the default icon. I have even deleted this once and resubmitted but to no avail.

 

This was the third time they denied me Smiley Sad

 

Can anyone help!

Developer
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: BlackBerry_App_Descriptor.xml Icon

Hi

 

(more info would be nice, like platform, programming language etc Smiley Wink )

 

have you ever tried to install your app on an actual device? Furthermore, if *.gif doesn't work, you should convert your image to png and try again

-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
Posts: 34
Registered: ‎07-30-2013
My Device: Curve 9300
My Carrier: CellC

Re: BlackBerry_App_Descriptor.xml Icon

Hi thanks for your interest!

I am using Java Eclipse. I do not own a blackberry myself ( more of an android guy Smiley Happy - I do this for my work as we already have an android app.

I do have the simulator and everything runs smoothely.

I did convert my image to png as well - yesterday - the third submission and it also failed.
Developer
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: BlackBerry_App_Descriptor.xml Icon

sounds like the image can not be found while packaging, that's why the default icon is used


try to put your icon in a different folder, and make sure that after packaging

1) the path in your appdescriptor is correct

2) there is no default icon in your package

 

also, before you submit, you should always recheck the contents of your package

-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
Posts: 34
Registered: ‎07-30-2013
My Device: Curve 9300
My Carrier: CellC

Re: BlackBerry_App_Descriptor.xml Icon

OK, I created a whole new folder inside res. Deleted the default icon and made 100% that the descriptor paths correspond with my new folder & file path.

I will submit it now ( again for the fourth time ) and hope for the best.

Thanks for your kind guidance.

Hannes
Developer
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: BlackBerry_App_Descriptor.xml Icon

wait wait wait

 

can you confirm that no default icon is in your cod-file?

-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
Posts: 34
Registered: ‎07-30-2013
My Device: Curve 9300
My Carrier: CellC

Re: BlackBerry_App_Descriptor.xml Icon

how do you mean? how do i check that ? Smiley Happy
Developer
Posts: 508
Registered: ‎01-19-2011
My Device: My Trusty Red Plane
My Carrier: Outer Space

Re: BlackBerry_App_Descriptor.xml Icon

[ Edited ]

I don't remember exactly how, but I think there was a file you could open with Notepad or sth, with all the meta-data like your app name, vendor name, etc. In there, there should also be a reference to your app icon (C:\whatever\...icon.png)

 

Make sure that it references YOUR icon, not the default icon which is inside the sdk

-----------------------------------------------------------------------
I'm a bird from outer space. But I'm not flappy o.o
Developer
Posts: 34
Registered: ‎07-30-2013
My Device: Curve 9300
My Carrier: CellC

Re: BlackBerry_App_Descriptor.xml Icon

It seems as if your post about moving my icon to a new folder and deleting the default icon did the trick! Smiley Happy

I recieved the email from BlackBerry has approved my app now, so it should be on the app world either today or tomorrow ;0

Thanks for all your help, and everyone at this forum, I have learnt so much with this baptism of fire and I hope to be of help as well!

You guys rock!