×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    My PKG file:

    ; Languages
    &EN

    ; Header Test
    #{"Test"},(0xE9876543), 1, 12, 0,TYPE=SA

    ; Platform compatibility
    [0x101F7961], *, *, *, {"Series60ProductID"}

    ; vendor
    %{"Test"}
    :"vendor name"

    IF (DisplayXPixels=320) AND (DisplayYPixels=240)
    ; Horizontal Screen
    "Horizontal.txt"-"",FT,TE
    ELSE
    ; Vertical Screen
    "Vertical.txt"-"",FT,TE
    ENDIF

    Both the N95 and the E71 shows "Horizontal.txt"

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    Just to things to rule out
    - make sure that the N95 is in portrait orientation
    - the two text file have different content.

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    I was wondering that since the lines are used in installation time, they could actually return true, if the resolution is Supported, and not actually active. so what happens if you flip the if-else another way around, and test for vertical screen instead ?

  4. #4
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Re: DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    wizard_hu_:
    -I confirm that the portrait orientation of N95
    -Content is different

  5. #5
    Registered User
    Join Date
    Feb 2009
    Posts
    4

    Re: DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    I tried N95's vertical and horizontal screen to install, the results is "Horizontal.txt"

  6. #6
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,167

    Re: DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    Are you sure you are using N95, and not N95 8Gb ?, I do sort-of remember that the black one was at least with some cases thinking that landscape was its default orientation for some reason.

  7. #7
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,674

    Re: DisplayXPixels and DisplayYPixels variables get the wrong results in the PKG file

    What happens if you swap the conditions, "IF (DisplayXPixels=240) AND (DisplayYPixels=320)", is it also true?

Similar Threads

  1. Replies: 5
    Last Post: 2010-07-09, 09:25
  2. [moved] Add jar file inside the PKG file with another sis file
    By aamitgupta in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 6
    Last Post: 2010-01-07, 12:44
  3. Replies: 4
    Last Post: 2008-02-19, 07: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
  •  
×