×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Nov 2003
    Posts
    2

    Issues with setDisplayLocation?

    Anyonce experienced problem with this function as a part of the MMAPI?

    Works fine in the WTK emulator, and on Sony Ericssons but on my Nokia N95 the vidoe is not right positioned.

    int x = (screenWidth-vc.getDisplayWidth())/2;
    int y = (screenHeight-vc.getDisplayHeight())/2;
    vc.setDisplayLocation(x, y);

    should make it in the middle right? but it feels like the TOP LEFT corner of my vidoe clip is in the middle of the screen.

    Anyone with some experience and guidlines?

    Thanks in advance.

  2. #2
    Nokia Developer Expert
    Join Date
    Aug 2007
    Posts
    1,595

    Re: Issues with setDisplayLocation?

    Hello Pipen,

    have you checked this:

    http://wiki.forum.nokia.com/index.ph...t_display_size

    Regards,
    r2j7
    [URL="http://library.forum.nokia.com/java"][B] >>> Java Developer's Library <<<[/B][/URL]
    [URL="https://www.developer.nokia.com/Resources/Support/Technical_support.xhtml"] [B]>>> Technical Support for Java ME development <<<[/B][/URL]
    [URL="https://publish.ovi.com/info/"][B]>>> Nokia Publish: reach millions of Nokia users worldwide through Nokia Store <<<[/B][/URL]

Similar Threads

  1. GCCE issues
    By apsaarin in forum Symbian Tools & SDKs
    Replies: 18
    Last Post: 2010-06-18, 13:13
  2. Reporting Known Issues is Now Easier than Ever
    By Nokia Ron in forum Tools and SDK Feedback (Closed)
    Replies: 0
    Last Post: 2007-09-20, 17:57
  3. Windows Vista Issues and Patches
    By synchrnzr in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2007-07-23, 06:29
  4. N91 WiFi (WLAN) and Bluetooth Issues.
    By danscoop in forum General Development Questions
    Replies: 12
    Last Post: 2007-06-05, 20:07
  5. Series 60 graphics and sound issues
    By Teh_Architect in forum Mobile Java Media (Graphics & Sounds)
    Replies: 0
    Last Post: 2005-08-08, 11:03

Posting Permissions

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