Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 35C0B108BF for ; Sun, 1 Dec 2013 17:01:53 +0000 (UTC) Received: (qmail 44905 invoked by uid 500); 1 Dec 2013 17:01:51 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 44855 invoked by uid 500); 1 Dec 2013 17:01:45 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 44839 invoked by uid 99); 1 Dec 2013 17:01:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Dec 2013 17:01:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=5.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of maurice.amsellem@systar.com designates 66.129.85.153 as permitted sender) Received: from [66.129.85.153] (HELO smtp02.myhostedservice.com) (66.129.85.153) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Dec 2013 17:01:38 +0000 Received: from EXHUB01.netplexity.local (172.29.211.21) by smtp02.myhostedservice.com (172.29.211.12) with Microsoft SMTP Server (TLS) id 14.2.347.0; Sun, 1 Dec 2013 12:01:14 -0500 Received: from EXMBX05.netplexity.local ([fe80::cc58:cfe7:ba3b:fae]) by exhub01 ([172.29.211.21]) with mapi id 14.03.0123.003; Sun, 1 Dec 2013 12:01:14 -0500 From: Maurice Amsellem To: "dev@flex.apache.org" Subject: RE: IOS7 status bar management ( FLEX-33860) Thread-Topic: IOS7 status bar management ( FLEX-33860) Thread-Index: Ac7Yy1wBOWo89mmERsexvsl48ftU/QAMtN2ABTfFD9AAC65eoAAHjhgQAA62DYAAFFrV8A== Date: Sun, 1 Dec 2013 17:01:13 +0000 Message-ID: <2095F5EBE04D59409DFCE91FFCEBF7AF3F54F072@EXMBX05.netplexity.local> References: <2095F5EBE04D59409DFCE91FFCEBF7AF3F53F4AB@EXMBX05.netplexity.local> <2095F5EBE04D59409DFCE91FFCEBF7AF3F54EC85@EXMBX05.netplexity.local> <2095F5EBE04D59409DFCE91FFCEBF7AF3F54ED2D@EXMBX05.netplexity.local> <2095F5EBE04D59409DFCE91FFCEBF7AF3F54EE5A@EXMBX05.netplexity.local> In-Reply-To: Accept-Language: fr-FR, en-US Content-Language: fr-FR X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.211.32] Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org FYI, committed/pushed to develop branch: https://issues.apache.org/jira/browse/FLEX-33949 ( os-version media css) https://issues.apache.org/jira/browse/FLEX-33860 (ios 7 status bar) os-version implementation covers iOS and desktop OS only. Android os-version yet to be done. (I didn't want to delay iOS7 status bar fix, because of Android). Maurice=20 -----Message d'origine----- De=A0: omuppi1@gmail.com [mailto:omuppi1@gmail.com] De la part de OmPrakash= Muppirala Envoy=E9=A0: dimanche 1 d=E9cembre 2013 03:15 =C0=A0: dev@flex.apache.org Objet=A0: RE: IOS7 status bar management ( FLEX-33860) On Nov 30, 2013 4:30 PM, "Maurice Amsellem" wrote: > > Hi, > > Unfortunately, Capabilities.os on Android returns the Linux kernel version, not the Android version. > http://stackoverflow.com/questions/11293236/how-can-i-detect-the-android-os= -version-in-adobe-air > > The workaround is to get the info form a system file called /system/build.prop > As described in: > https://github.com/funky-monkey/Android-Native-Device-Info > > These is no licencing information associated with the code. > > Possibilities: > - contact the author and ask for donation of the code to AF > - "borrow" the idea (reading system/build.prop) and re-implement the parse code, shouldn't be that difficult. > > What do you think? I think that as long as we don't copy the code, we should be good. > > Note: of course, getting the version of Android is not required for managing iOS7 status bar. > I am raising this issue because Om once mentioned that css media query os-version would be useful for Android as well, to apply different skins to= different versions of Android. > It's also required for completeness, so that os-version returns consistent results on Android as well. I was really hoping that you would implement this for Android as well :-) Thanks, Om > > Maurice > > -----Message d'origine----- > De : Maurice Amsellem [mailto:maurice.amsellem@systar.com] > Envoy=E9 : samedi 30 novembre 2013 21:43 =C0 : dev@flex.apache.org Objet = :=20 > RE: IOS7 status bar management ( FLEX-33860) > > I discovered in CSS Media specs the 'min' and 'max' operators, so IOS version categories are not needed anymore. > > I have added a new css media property called 'os-version' of type Number. > > And this is how to condition styles for IOS6 and IOS7: > > ISO6: > @media (os-platform: 'IOS') and (max-os-version: 6.5) > > IOS7: > @media (os-platform: 'IOS') and (min-os-version: 7.0) > > It would work the same for Android... > > Maurice > > -----Message d'origine----- > De : Maurice Amsellem [mailto:maurice.amsellem@systar.com] > Envoy=E9 : samedi 30 novembre 2013 16:11 =C0 : dev@flex.apache.org Objet = :=20 > RE: IOS7 status bar management ( FLEX-33860) > > Back to this issue. > > I am working on adding os-version capability to MediaQueryParser. > > My first intention was to implement it that way: > os-version >=3D 7.0 > > But it appears that CSS Media only support equality operator ( : ) ,=20 > so version should be a category rather than a figure. > > For iOS, it would be more like : > > os-version: 'ios6-' | 'ios7+' > > ios6- =3D ios 6 or less > ios7+ =3D ios 7 or more > > (until Apple decides to change its ios design again :-( ) . > > For Android, what would be the relevant classes ? > > Regards, > > Maurice > > -----Message d'origine----- > De : omuppi1@gmail.com [mailto:omuppi1@gmail.com] De la part de=20 > OmPrakash Muppirala Envoy=E9 : dimanche 3 novembre 2013 21:36 =C0 : dev@flex.apache.orgObjet : Re: IOS7 status bar management ( FLEX-33860) > >