Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Dec 2007

    mbm file runtime

    Hi All,
    i have an application which has got an image , i want to change that image at run time without recompiling my application i.e i will load that image in my handset and my application will access it at run time and change it.
    It is possible as i have got an application Mp3Player in which the application changes the background image at run time and that to it takes JPEG image from the default images appliaction of the handset and creates an mbm file from that image and applies it in the bachground .How is this possible and is it possible with publically available api's .

    Any Ideas?????

    Thanks & Regards,

  2. #2
    Registered User
    Join Date
    Dec 2007

    Re: mbm file runtime

    Either you can have a predefined set of files in your mbm file. And change the IDs at runtime to display different images


    Open the image as u wish from the file system, decode it (I hope symbian has default decoders) and display.

  3. #3
    Nokia Developer Champion
    Join Date
    Oct 2006
    Bangalore, India

    Re: mbm file runtime

    the second option is possible, you need to use CImageEncoder to save the files and CImageDecoder to decode the files, once decoded, they can be used as if loaded from MBM...

    also note, using both the classes requires active objects, hence it is wise to use a wrapper and create a generic decoder/encoder which can then be used by the entire app anywhere :)

    hope this helps....
    Amit Kankani
    Nokia Developer Champion

  4. #4
    Super Contributor
    Join Date
    Nov 2004
    Wiltshire, UK

    Re: mbm file runtime

    If you already have the image loaded into the FBS server becasue for example you are already displaying it on the screen, the CFbsBitmap class has methods you to load and save the bitmap as an mbm file.
    Download Symbian OS now! [url]http://developer.symbian.org[/url]

Similar Threads

  1. PED and signing.
    By IX in forum Symbian
    Replies: 11
    Last Post: 2008-04-21, 01:15
  2. File corrupted - with signed sis
    By annehj in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 4
    Last Post: 2007-12-10, 13:44
  3. Getting images from different MBM file in ListBox
    By anoopd in forum Symbian User Interface
    Replies: 8
    Last Post: 2006-02-21, 06:34
  4. Nokia Image Converter
    By davidpurdie in forum General Development Questions
    Replies: 0
    Last Post: 2004-02-18, 15:31
  5. missing mbm file
    By vyom_garg in forum Symbian
    Replies: 2
    Last Post: 2003-04-29, 09:49

Posting Permissions

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