06-19-2012
03:09 PM
- last edited on
06-19-2012
05:54 PM
by
oros
EDIT: Codified the code to avoid
emoticons.
It seems that I am getting a Air Packager error because of some issue involved in the config.xml file.
Please suggest what changes I can make to be able to package properly.
config.xml
<?xml version="1.0" encoding="utf-8"?> <widget xmlns="http://www.w3.org/ns/widgets" xmlns:rim="http://www.blackberry.com/ns/widgets" version="2.0.0.0"> <author href="www.appyogi.blogspot.com" rim:copyright="Copyright 1998-2011 AppYogi">AppYogi</author> <name>xxxxxxx</name> <description> . . </description> <rim:orientation mode="auto"/> <rim:loadingScreen backgroundImage="background.png" foregroundImage="foreground.gif" onLocalPageLoad="true"> <rim:transitionEffect type="zoomIn"/> </rim:loadingScreen> <rim:category name="games"/> <rim:permissions> <rim:permit>access_shared</rim:permit> <rim:permit>read_geolocation</rim:permit> <rim:permit>use_camera</rim:permit> </rim:permissions> <icon src="icons/example.png"/> <content src="index.html"/> <feature id="blackberry.ui.dialog"/> <access uri="http://www.somedomain.com" subdomains="true"> <feature id="blackberry.app.event"/> <feature id="blackberry.invoke"/> </access> </widget>
06-19-2012 06:03 PM - edited 06-19-2012 06:04 PM
Initially I reproduced the packaging issue by copying your config.xml file and then fixed it by removing this code:
<rim:loadingScreen backgroundImage="background.png"
foregroundImage="foreground.gif"
onLocalPageLoad="true">
<rim:transitionEffect type="zoomIn"/>
</rim:loadingScreen>
However that's not really a solution ![]()
So I put that code back in and created a dummy background.png and foreground.gif. Following this, it successfully packaged. Can you confirm that these two images exist in the same folder as your config.xml file?
06-20-2012 12:14 AM
06-20-2012 01:59 PM
If you remove rim:loadingScreen component from config.xml, do you still see issues?