Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Oct 2008

    Taking screenshot of background app.


    i have used this code .Works fine .ie am .mbm file is made..

    TSize screenSize = CEikonEnv::Static()->ScreenDevice()->SizeInPixels();
    TDisplayMode displayMode = CEikonEnv::Static()->ScreenDevice()->DisplayMode();

    CFbsBitmap*iBitmap = new (ELeave) CFbsBitmap();
    User::LeaveIfError(iBitmap->Create(screenSize, displayMode));

    TInt err = CEikonEnv::Static()->ScreenDevice()->CopyScreenToBitmap(iBitmap);
    iBitmap->Save(_L("c:\\system\\apps\\screen.mbm")); // here u can say
    // captured image as MBM

    But i dont know how to draw it on the container .i have drawn svgs but no bmps.

    From this stage how can i proceed????

  2. #2
    Registered User
    Join Date
    Jun 2005

    Re: Taking screenshot of background app.


    For example using gc.DrawBitmap in Draw-function

    gc.DrawBitmap(rect, bitmap);

Similar Threads

  1. How to get pointerevent when app run in background?
    By SCAC59414 in forum Symbian User Interface
    Replies: 2
    Last Post: 2009-03-19, 08:19
  2. Background App?
    By FrankTheFox in forum Symbian
    Replies: 12
    Last Post: 2009-03-06, 21:03
  3. Leave backlight control to operating system when app is in background
    By manupeco in forum Mobile Java Media (Graphics & Sounds)
    Replies: 2
    Last Post: 2007-03-18, 09:07
  4. Information Note running while app is in Background
    By symsym in forum Symbian User Interface
    Replies: 2
    Last Post: 2005-09-14, 07:40

Posting Permissions

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