BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 04-12-2009, 08:12 PM   #1 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Question eclipse plug-in: add not .java file not works

Please Login to Remove!

hola,

i need to add files to my project that aren't java file (like images or xml).

i create a folder (img) in the src folder and i put my file there.
When i build the project in the bin directory there are all the .class and the xml and image file but when i start the application and i try getResourceAsStrem (xml) or getBitmapResource (img) the application can't find the file.

i see that in the created .jar don't appears the files.

The same code with the same folder structure work on JDE...

I read a lot of posts and i can't understand where is the problem.

Any idea?
Offline  
Old 04-14-2009, 03:55 PM   #2 (permalink)
Knows Where the Search Button Is
 
Join Date: Mar 2009
Location: Bilbao
Model: 8900
PIN: N/A
Carrier: Vodafone
Posts: 29
Post Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy

hi, anyone with the same problem?
I try everything but seems impossible.
The only non java file that can include in my project is the icon file...

Any idea?
Offline  
Old 06-11-2009, 07:24 PM   #3 (permalink)
Thumbs Must Hurt
 
Join Date: Feb 2009
Location: CANADA
Model: 9000
PIN: N/A
Carrier: Rogers
Posts: 64
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

It is strange that you cannot add file to your project.
File (any type) should appear in the File tab in the 'img' folder after you add it.
But you must add it to the project: right click on 'img' folder and then
click 'Add File to img' in context menu.
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

10pcs 270UF 35V270uf SANYO WX 8X20mm Low Impedance High Ripple Capacitor
$2.39
10pcs 270UF 35V270uf SANYO WX 8X20mm Low Impedance High Ripple Capacitor pictureHP/Agilent 8508A - 85081B Vector Impedance Analyzer with 85081B Input module
$4995.0
HP/Agilent 8508A - 85081B Vector Impedance Analyzer with 85081B Input module pictureDigital LCD Audio Impedance Test Meter Speaker Voice Resistor System Ohmmeter
$79.36
Digital LCD Audio Impedance Test Meter Speaker Voice Resistor System Ohmmeter picture20pcs 10V 220UF 10V NIC NRSZ 6.3X11mm LOW IMPEDANCE electrolytic Capacitor
$2.39
20pcs 10V 220UF 10V NIC NRSZ 6.3X11mm LOW IMPEDANCE electrolytic Capacitor pictureESI 252 Impedance Meter
$1495.0
ESI 252 Impedance Meter picture






Copyright 2004-2016 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.