×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jul 2008
    Posts
    103

    VideoControl freezez when the screen is switched or rotated

    Hi,

    I have a simple application with a canvas and a VideoControl object. The problem is that when the screen orientation changes for Nokia N95, the whole canvas freezes (N95 new firmware version) or displays the videocontrol, but with the image rotated by 90 degrees (N95 8GB older firmware version). On an E90, when I switch from the big screen to the little screen or the other way aroud, the camera canvas just freezes.
    I use the sizeChanged function:
    Code:
    protected void sizeChanged(int w, int h) {
            Debugger.log("w: " + w + " h: " + h);
    
            try {
                this.videoControl.initDisplayMode(VideoControl.USE_DIRECT_VIDEO, this);
                this.videoControl.setDisplayLocation(0, 0);
                this.videoControl.setDisplaySize(w - 4, h - 30);
            } catch (MediaException me) {
                try {
                    this.videoControl.setDisplayFullScreen(true);
                } catch (MediaException me2) {
                }
            }
            repaint();
        }
    Is it possible that the VideoControl would work even if I switch screens or I change the orientation?

  2. #2
    Registered User
    Join Date
    Jul 2008
    Posts
    103

    Re: VideoControl freezez when the screen is switched or rotated

    does anyone have an answer?

Similar Threads

  1. Problem with E90 and secondary screen
    By Tatanka.nbr1 in forum Symbian
    Replies: 5
    Last Post: 2008-06-27, 10:01
  2. Rotated screen
    By dersymb in forum Symbian
    Replies: 4
    Last Post: 2008-06-22, 12:28
  3. How to make wallpaper automatically switch when the screen is rotated
    By drwch_2008 in forum General Development Questions
    Replies: 0
    Last Post: 2008-03-02, 14:17
  4. White screen problem
    By Tesctassa in forum Mobile Java General
    Replies: 5
    Last Post: 2007-02-01, 11:05
  5. UI: Full Screen Mode
    By GENERAL_INFO in forum Symbian User Interface
    Replies: 3
    Last Post: 2004-11-22, 06:27

Posting Permissions

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