Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-259] Android: Add Platform.displayCaps

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-04-17T01:52:31.000+0000
Affected Version/sn/a
Fix Version/sRelease 0.8.0
ComponentsAndroid
Labelsandroid, feature
ReporterDon Thorp
AssigneeDon Thorp
Created2011-04-15T02:26:17.000+0000
Updated2011-04-17T01:52:31.000+0000

Description

Add Titanium.Platform.displayCaps to return information about the display.

See #260

Android also display
xdpi, ydpi, and logicalDensityFactor

See http://developer.android.com/reference/android/util/DisplayMetrics.html"> DisplayMetrics for an explanation on the density factor.

Comments

  1. Don Thorp 2011-04-15

    (from [62038cbcb63f4238d4b5fb0a2d14df2f9d50340e]) [#259 state:resolved] added displayCaps property http://github.com/appcelerator/titanium_mobile/commit/62038cbcb63f4238d4b5fb0a2d14df2f9d50340e"> http://github.com/appcelerator/titanium_mobile/commit/62038cbcb63f4...

JSON Source