All About Symbian - Nokia (S60) and Sony Ericsson (UIQ) smartphones unwrapped

  #1  
Old 14-06-2003, 11:53 AM
Guest
 
Posts: n/a
P800(UIQ) problem with images!

I have been pulling my hair over this... I just wanted to do a simple app which shows a image, sounds easy right ?... well, it is, problem is that the emulator wont draw my image.. it works when you just run it as a simple pJava application but it wont show my image in emulator mode...

The problem seems to be that the emulator does not find my image, because when I print out the size of the image it is -1 when I am running the emulator but the "real" pJava app prints out the correct size.

To fetch the image I use : imgLogo = Toolkit.getDefaultToolkit().getImage("julian.gif") ;

I have tried it with ".\\" and "./" also, did not solve anything

Anyone that has had problems with this ?

Thanks

  #2  
Old 15-06-2003, 07:29 AM
Guest
 
Posts: n/a
I use...

I use Codewarrior Wireless Studio if it helps...

  #3  
Old 16-06-2003, 07:56 PM
Cruizer Cruizer is offline
Registered User
 
Join Date: Dec 2002
Posts: 33
Cruizer is on a distinguished road
Is your image located in the same place where your .class file is? And the classpath points to that directory?

Regards,

/Cruizer.
Ads

  #4  
Old 19-06-2003, 11:37 AM
Guest
 
Posts: n/a
The problem seems to be..

Thanks for answering...

The problem is probably that the application is run from the .jar file and I cant get CodeWarrior to include my image-file to the .jar file...

Any clues?

Thanks
 

Bookmarks

Tags
images, p800uiq, problem

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT. The time now is 07:52 PM.


vBulletin skins developed by: eXtremepixels
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright Notes || Contact Us || Privacy Policy