Looks like we can't reproduce the issue or there's a problem in the test case provided.
Rename picto file to support Blackberry Build in phonegap.
Not sure if anyone else has run into this problem, but when I use sencha touch to develop native apps using Phonegap, I get the following error when building for Blackberry Devices.
Invalid application archive - resource name is not valid(sdk/resources/themes/images/default/pictos/power socket.png)
This is a problem with their packager.. Here's what phonegap had to say about this error:
The BlackBerry Widget Packager, a RIM tool that takes your application assets and packages them into a BlackBerry-compatible binary, has very stringent rules on what characters your filenames and directories can be composed of. Make sure all of your filenames and directories contain only alphanumeric characters. Until RIM can fix this issue, unfortunately there is nothing we can do about this.
I think the BB packager complains about the space character in the filename. For now, I will simply remove this file, since I don't need it for my app. But renaming this file would make this process smoother for future releases.
Thank you in advance.
In 2.0.1 and the next release 'power socket.png' was renamed to 'power_socket.png'