| Reply | « Previous Thread | Next Thread » |
|
hi,
i developed a midlet that uses images to make buttons to control the application. everything works fine in the emulator (sun wireless toolkit 2.5), but when i load the midlet in the nokia 5610 xpressmusic i use for testing purpose, i cannot see the images (i checked in the jar file to see if all the pictures are present). is there a link between this situation and the fact that the midlet is not signed ? thank you in advance for your help. jonathan |
|
Did you put your images at res folder or somewhere else ? If you have put your images at classed folder first move it.
-Kartik Trivedi |
| honest_success |
| View Public Profile |
| Find all posts by honest_success |
|
hi kartik,
thanks for your answer. i put the images in a "pics" folder which is in the "res" folder. i don't know what you mean by classed folder, and where do i need to moves the images ? jonathan |
|
hi,
i still have have problems with the use of images in my midlet. from what i understood i don't need to put the images in the res folder (i am using the sun wireless toolkit 2.5), but where these images should be ? everything works fine with the emulator, but when i test my midlet on real phone (5610 xpressmusic), no image is displayed. thank you again for your help. jonathan |
|
I told you to move images from "classes" folder not from "res" folder. You do one thing first check if you are using canvas then check weather you are using following method or not to get height and width?
int height=this.getHeight(); int width=this.getWidth(); Because some time this can happens because of it. |
| honest_success |
| View Public Profile |
| Find all posts by honest_success |
|
thank you kartik, i solved the problem.
jonathan |
|
You are welcome. Now always use getHeight() and getWidth() method whenever you use canvas.
Happy Coding -Kartik Trivedi |
| honest_success |
| View Public Profile |
| Find all posts by honest_success |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| How far can J2ME really go in doing some voice call stuff? | jin.z | Mobile Java Networking & Messaging & Security | 4 | 2008-01-29 17:32 |
| Beginners Tutorial for J2ME | j2meed | Mobile Java General | 1 | 2007-08-27 16:30 |
| Ayuda con j2me polish | robervelez | Foro en Español (Spanish Forum) | 2 | 2007-06-06 21:44 |
| Future of J2ME / MIDP | JWtheCoolOne | Mobile Java General | 2 | 2007-01-12 15:09 |
| Symbian and non Symbian J2ME | thongtom | Mobile Java General | 2 | 2005-06-28 11:52 |