04-28-2010 06:18 AM
After doing that, I exported everything to a JAD/JAR file (just like the video says).
Opened up the BlackBerry Web Plug-in (v184.108.40.206003191451-33) and made a new BB Widget Project.
A new ext folder appeared and I dragged my JAR/JAD file into that folder.
Went to the config.xml in the default BB Widget Config Editor and added a feature. Mine appeared in the list so I double clicked on it.
Everything fine by now. Just added some code to my main index.html file to test my extension.
When hit the "Run" button, my widget started to compile (and also the extension) and this message keeps appearing (and I can't get rid of it... at least I don't know how and what could have happened):
[INFO] Compiling widget
Please help as I can't move on with the development because of this (weird?) error.
Thank you in advance.
Solved! Go to Solution.
04-28-2010 11:35 AM
Can you post up the contents of your library.xml file for the widget extension?
04-28-2010 11:56 AM
Sure... here it is:
<?xml version="1.0" encoding="UTF-8"?>
Thank you for your help
04-29-2010 02:31 AM
I thought my extension had something wrong unabling it to compile properly, so I made the AlertSample extension from the video tutorial line by line, character by character, identically. I followed EVERY step just like mentioned in the video. I even downloaded the BB Widget Plug-in for Visual Studio 2008 and tried with it (just like the video tutorial). Added my newly created AlertSample extension to my VS 2008 BB Widget Project, modified the config.xml as stated by the video tutorial and afert pressing the "play" button in Visual Studio I get the same old error:
Message 7 C:\Users\Andy\AppData\Local\Temp\widgetGen.195658
No idea what could be wrong. I even uninstalled everything, deleted every folder ever made by RIM in my computer and started over with a clean installation.
I really need some help with this.
BTW, my computer has Windows 7 32-bit installed.
Any help would be greatly appreciated.
04-29-2010 06:24 AM
04-29-2010 07:59 PM
Hi again... tried the same excercise in two additional computers (one with Windows 7 32-bit and the other one with Windows XP SP2) and the same problem appeared in both.
This is really driving me crazy. What am I doing wrong? I'm doing the exact steps as the video tutorial.
04-29-2010 09:03 PM
Trying to get this working finally found the problem.
For anyone's reference:
When exporting to JAR file, the option "Export Java source files and resources" should be selected, instead of "Export generated class files and resources". In my Eclipse, the last one was selected by default.
Unfortunately, the video tutorial is not clear on this point. Anyway, you can see in the video that the correct option is selected, but because it is not mentioned, it could lead to confusion like it occurred to me.
But now, everything is working as expected. Finally!
Thank's to everyone.