11-15-2007, 05:06 PM
|
#1 (permalink)
|
| New Member
Join Date: Nov 2007 Model: 1xp PIN: N/A Carrier: upyours cellular
Posts: 11
Post Thanks: 0 Thanked 0 Times in 0 Posts
| adding files (images et al.) to a .jar Please Login to Remove! First of all, let me say how awful the BB JDE IDE is, and to make it worse, how poorly documented it is. SHAME ON RIM. I do like the simulator and debugging though.
Now then, how do I get arbitrary files added to the .jar (and then i presume, the .cod)? There are two types of files I wanted added.
1) a messages.properties file which contains translations. this comes from the netbeans localization support for MIDP applications. (stupid filename but whatever)
2) some .png images.
They are of course shown in the list of files in the workspace pane.
I've ticked them as "dependency only, do not build", just because hunting around it seemed like that might be what I needed. Apparently, that doesn't do it, or at least is not enough.
Also, i chose one of the png's as "use as application icon" but i still just get a generic icon. Note that this is the only image that makes it into the .jar. On a side note, right-click->"view" on my .png files doesn't do anything. At least an error message would be nice.
Last edited by mousecatcher : 11-15-2007 at 05:12 PM.
|
| Offline
| |