Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-18083] Android: DisplayCaps density for nexus 6 is shown as medium

GitHub Issuen/a
TypeBug
PriorityNone
StatusClosed
ResolutionDuplicate
Resolution Date2015-03-30T17:35:26.000+0000
Affected Version/sRelease 3.5.0
Fix Version/sn/a
ComponentsAndroid
Labelsqe-3.5.0
ReporterLokesh Choudhary
AssigneeIngo Muschenetz
Created2014-11-25T01:57:04.000+0000
Updated2017-03-22T22:21:45.000+0000

Description

Description:

1. Replace the app.js with the code below:
alert(Ti.Platform.displayCaps.density);
2. Build & run the app on Nexus 6 device.

Actual Results:

1. The alert shows the displayCaps.density property to be "medium", but Nexus 6 has a resolution of 1440 x 2560 pixels & 493ppi density. 2. A Nexus 5 which is 1080 x 1920 pixels & 445ppi density shows as "xxhigh" for the same code.

Expected Results:

1. We should see xxhigh or more for displayCaps.density for Nexus 6.

Comments

  1. Lee Morris 2017-03-22

    Closing ticket as duplicate and links to the related ticket have been provided above.

JSON Source