Return-Path: X-Original-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-flex-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C68159BBD for ; Tue, 28 Feb 2012 20:41:28 +0000 (UTC) Received: (qmail 86557 invoked by uid 500); 28 Feb 2012 20:41:28 -0000 Delivered-To: apmail-incubator-flex-dev-archive@incubator.apache.org Received: (qmail 86527 invoked by uid 500); 28 Feb 2012 20:41:28 -0000 Mailing-List: contact flex-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: flex-dev@incubator.apache.org Delivered-To: mailing list flex-dev@incubator.apache.org Received: (qmail 86517 invoked by uid 99); 28 Feb 2012 20:41:28 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 20:41:28 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [212.97.132.64] (HELO mailgw19.surf-town.net) (212.97.132.64) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 28 Feb 2012 20:41:20 +0000 Received: by mailgw19.surf-town.net (Postfix, from userid 65534) id 5FF15111ACD; Tue, 28 Feb 2012 21:40:59 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mailgw19.surf-town.net (Postfix) with ESMTP id 49356111ACD for ; Tue, 28 Feb 2012 21:40:59 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mailgw19.surf-town.net X-Spam-Score: -1.44 X-Spam-Level: Received: from mailgw19.surf-town.net ([127.0.0.1]) by localhost (mailgw19.surf-town.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Px7pXDChp9uV for ; Tue, 28 Feb 2012 21:40:53 +0100 (CET) Received: from [192.168.1.5] (c83-254-51-169.bredband.comhem.se [83.254.51.169]) by mailgw19.surf-town.net (Postfix) with ESMTPSA id 8B8541117CF for ; Tue, 28 Feb 2012 21:40:52 +0100 (CET) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Apple Message framework v1084) Subject: =?windows-1252?Q?Re=3A_Native_Screen_ANE_=96_was_=22new_user_int?= =?windows-1252?Q?erface_design=22?= From: Erik Lundgren In-Reply-To: <4F4D2F08.80301@brentarnold.com> Date: Tue, 28 Feb 2012 21:40:52 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7FBB7593-7490-4A4F-9843-83D00AB51516@lndgrn.se> <4F4D2F08.80301@brentarnold.com> To: flex-dev@incubator.apache.org X-Mailer: Apple Mail (2.1084) X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Flag: NO X-Old-Spam-Status: No, score=-1.44 tagged_above=-999 required=7 tests=[ALL_TRUSTED=-1.44] autolearn=disabled 28 feb 2012 kl. 20.46 skrev Brent Arnold: > What information would you need that's not already included in the = Capabilities class? Right now with Flash and AIR we can get access to = screenDPI, screenResolutionX/Y, as well as color depth information. I believe the Capabilities.screenDPI doesn't query the OS for all that = the os knows. On the desktop the Capabilities.screenDPI property will always return = the abstract ppi, not the actual ppis of the displays connected to the = pc. On mac you will always get the return value 72. On windows =96 I'm = not sure =96 but I would imagine it returns 96 (or the custom dpi set by = the user in the control-panel). Or maybe the player will return 72 on = windows as well. The point is. You won't get the value you are looking = for. There seems to be multiple issues with mobile devices returning the the = wrong screen values. Maybe this can't be queried correctly by native = code either, but maybe it can. There is no reliable way of getting this information in Flex at the = present. There is no reliable way to draw real world measured elements = in flex. Yours /Erik=