×

Discussion Board

Results 1 to 11 of 11
  1. #1
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    104

    how to put an image on screen

    hello
    i am creating an application and whenever i run the application there is the normal white screen. i want to put an image over there. how can i do that?
    please help...

  2. #2
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to put an image on screen

    one method is load that images and draw in your Draw() function

  3. #3
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    104

    Re: how to put an image on screen

    hello
    can you please tell how to do that?

  4. #4
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to put an image on screen


  5. #5
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    104

    Re: how to put an image on screen

    Hello,
    I've read the article given by skumar_rao i've put gnumakefile My_Icon.mk statement in bld.inf. But mk file is not getting created. Please Help......

  6. #6
    Super Contributor
    Join Date
    Oct 2007
    Location
    જુનાગઢ - India
    Posts
    3,034

    Re: how to put an image on screen

    Quote Originally Posted by saaa_persistent View Post
    hello
    i am creating an application and whenever i run the application there is the normal white screen. i want to put an image over there. how can i do that?
    please help...
    Or you can use CImageDecoder to decode image to CFbsBitmap format and then draw it in Draw() method using CWindowGc::BitBlt() method.

    Check following link to load image by CImageDecoder .
    http://wiki.forum.nokia.com/index.ph...Symbian_bitmap

  7. #7
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to put an image on screen

    Quote Originally Posted by saaa_persistent View Post
    Hello,
    I've read the article given by skumar_rao i've put gnumakefile My_Icon.mk statement in bld.inf. But mk file is not getting created. Please Help......
    in that process the .mif file will be created not the mk file. mk file you have to create, you can take any .mk file from SDK examples as reference.
    Last edited by skumar_rao; 2009-03-20 at 03:43.

  8. #8
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    104

    Re: how to put an image on screen

    hello
    the my_icon.mk file is getting created but i am getting a warning icon on that. also i searched for the .mig file but there were no results.
    please help...
    Last edited by saaa_persistent; 2009-03-20 at 03:27.

  9. #9
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to put an image on screen

    sorry for my typo it is .mif file that is generated. what error / warning you are getting

  10. #10
    Regular Contributor
    Join Date
    Dec 2008
    Posts
    104

    Re: how to put an image on screen

    hello
    i searched for the .mif file but i did not find the file. i am getting a warning icon near the .mk file (file does not exist-warning)...

  11. #11
    Super Contributor
    Join Date
    Mar 2004
    Location
    Singapore
    Posts
    9,968

    Re: how to put an image on screen

    Quote Originally Posted by saaa_persistent View Post
    hello
    i searched for the .mif file but i did not find the file. i am getting a warning icon near the .mk file (file does not exist-warning)...
    can you show us your mk file also copy the warning and paste it here,

Similar Threads

  1. put an image in MIDlet
    By ash_putra in forum Mobile Java Media (Graphics & Sounds)
    Replies: 10
    Last Post: 2008-08-12, 21:01
  2. my Alert Image is out of the screen
    By romainbaudet in forum Mobile Java General
    Replies: 3
    Last Post: 2005-04-12, 23:02
  3. Is screen capture image making possible?
    By MobileVisuals in forum Mobile Java Media (Graphics & Sounds)
    Replies: 3
    Last Post: 2005-04-08, 12:37
  4. saving jpeg image on grid list
    By flicker82 in forum Symbian
    Replies: 0
    Last Post: 2005-01-21, 04:22
  5. Scrolling an image and fast screen access
    By mrmop in forum Mobile Java General
    Replies: 2
    Last Post: 2003-12-31, 17:04

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×