01-08-2013 07:06 PM - edited 01-08-2013 07:13 PM
I've uploaded my application to AppWorld, but on confirmation screen the Icon was missing. It just said: "Icon: ...empty space...". Did not taken the screenshot to show.
Can anyone please confirm if the icon should be there? It should be fetched from .bar, right?
I see the icon in Release buid (unsigned one) on the device. My app uses Cascades but I was using Qt Creator, so I packaged the BAR file by hand and now worrying if I did everything right.
Here's my packaging script in case anyone needs it:
#!/bin/sh source /Applications/bbndk/bbndk-env.sh sed -e "s,%SRC_DIR%,../MyApplication,g" bar-descriptor.xml > ../MyApplication-build-BB10Device-Release/bar-desc
riptor.xml cd ../MyApplication-build-BB10Device-Release/ blackberry-nativepackager -package MyApplication.bar -buildIdFile ../MyApplication/buildId.txt -sign -storepass mystorepassword bar-descriptor.xml
upd: I've tried to upload the signed BAR file too and it also has the icon on device.
01-08-2013 07:30 PM
01-08-2013 10:55 PM
01-09-2013 03:54 AM
01-09-2013 04:17 AM
I just submitted my app and it was the same thing.
However when I look in my products page, the icon and the feature image is there...
I'm sure it'll be okay.
01-09-2013 07:33 AM - edited 01-09-2013 07:34 AM
If you guys check your .bar files, is the app icon in the app/public folder, or in app/native? It should be in public if it's been marked public in the bar-descriptor file, like this (with appropriate names): <asset path="app_icon.png" public="true">icon.png</asset>
Maybe they added a check for this but haven't got it all working properly yet.
Note: I'm not saying that I know for a fact it has to be like this, but I noticed this change back with beta 3 or so, and I just assume it's something intentional and desirable so that icons for all apps are readable by other apps. If it's in app/native as it used to be, only the OS and certain system apps could see it.
01-10-2013 05:45 AM - edited 01-10-2013 05:47 AM
Thanks! I've checked and it's in app/native folder. But I'm using Qt Creator and the icon is specified by <icon> tag in bar-descriptor.xml. Do you know by any chance how to switch the icon folder in Qt Creator (or which adjustments should I make in this .xml)? My bar-descriptor.xml looks like this:
<?xml version='1.0' encoding='utf-8' standalone='no'?> <qnx xmlns="http://www.qnx.com/schemas/application/1.0"> <id>my.domain.MyApp</id> <name>MyApp</name> <versionNumber>1.0.0</versionNumber> <description>MyApp Description</description> <initialWindow> <systemChrome>none</systemChrome> <transparent>false</transparent> <autoOrients>false</autoOrients> <aspectRatio>portrait</aspectRatio> </initialWindow> <env value="app/native/imports" var="QML_IMPORT_PATH"/> <env value="app/native/plugins:/usr/lib/qt4/plugins" var="QT_PLUGIN_PATH"/> <env value="app/native/lib:/usr/lib/qt4/lib/" var="LD_LIBRARY_PATH"/> <action system="true">run_native</action> <asset path="MyApp" type="Qnx/Elf" entry="true">MyApp</asset> <asset path="%SRC_DIR%/qml">qml</asset> <asset path="%SRC_DIR%/assets">assets</asset> <icon> <image>assets/images/icons/applicationIcon114.png<
/image> </icon> <splashScreens> <image>assets/images/splash/portrait768x1280.jpg</ image> <image>assets/images/splash/portrait720x1280.jpg</ image> </splashScreens> </qnx>
01-10-2013 09:01 AM