Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-2256] Android: Platform data - display width and height reports back erroneous values on G2

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionInvalid
Resolution Date2011-04-15T03:14:58.000+0000
Affected Version/sn/a
Fix Version/sRelease 1.5.0 M02
ComponentsAndroid
Labelsandroid, data, defect, height, platform, width
ReporterThomas Huelbert
AssigneeDon Thorp
Created2011-04-15T03:14:57.000+0000
Updated2017-03-02T19:27:01.000+0000

Description

G2 (2.2) mobile sdk 1.5.0.4f5838

1.Platform>Platform data
2.check the value for width and height

results: 320 X 533

expected: screen is 480 X 800, note the G1 is returning the expected values for its screen

Comments

  1. Don Thorp 2011-04-15

    Did you change the AndroidManifest to anyDensity:true if not, then the device is scaling in hardware to those values.

  2. Thomas Huelbert 2011-04-15

    right you are Don, modding the android.custom.xml resulted in expected values being returned. sorry for the false negative. removing regression tag and marking as invalid

  3. Don Thorp 2011-04-15

    Moving to a current milestone so it won't show up in the future.

  4. Lee Morris 2017-03-02

    Closed as invalid.

JSON Source