On Mar 18, 2014 12:43 AM, "Maurice Amsellem" <maurice.amsel...@systar.com>
wrote:
>
> Thanks Om.
>
> I remember you have been working on a book about Android.

Not me :-)  I think you mean Justin.

>
> So please when you start using this feature, could you please confirm
that reading ro.build.version.release prop in system/build.prop file is a
reliable way of getting the OS version on Android.

I am not an expert, but I will dig around to verify if this approach is
reliable.

Perhaps the Android book author could weigh in here? ;-)

Thanks,
Om

>
> Maurice
>
> -----Message d'origine-----
> De : omup...@gmail.com [mailto:omup...@gmail.com] De la part de OmPrakash
Muppirala
> Envoyé : mardi 18 mars 2014 01:14
> À : dev@flex.apache.org
> Objet : Re: Building new skins for Android 4.x and iOS7
>
> On Sun, Mar 16, 2014 at 3:03 PM, Maurice Amsellem <
maurice.amsel...@systar.com> wrote:
>
> > Good news.
> >
> > I have just completed support for @media os-version for Android.
> >
> > https://issues.apache.org/jira/browse/FLEX-33949
> >
> > Committed and pushed to develop.
> >
> > I also added support for 3 part version numbers (such as 4.1.2).
> > The only constraint is that it needs to be quoted, or the mxmlc
> > compiler will mess it.
> >
> > So the following sequences are now valid:
> >
> > @media (os-platform: "android") AND (min-os-version: "4.1.2") {
> >
> >     /* JELLY BEAN SKINS */
> >  }
> >
> > @media (os-platform: "ios") AND (min-os-version: 7) {
> >
> >     /* IOS 7  skins */
> >  }
> >
> > I have successfully tested on Samsung Tab 3 7" (with Android 4.1.2)
> > And would appreciate if folks can test on other Android devices.
> >
> > Om, you could also test your new Android skins ;-)
> >
> > Maurice
> >
> >
> Thanks Maurice, this is awesome!  You are awesome!
>
> I have started building out the skins for Android 4.x, I will be making
use of this feature soon.  I will hit you up if I see something wrong.
>
> Regards,
> Om
>
>
>
> > -----Message d'origine-----
> > De : Maurice Amsellem [mailto:maurice.amsel...@systar.com]
> > Envoyé : samedi 15 mars 2014 23:41
> > À : dev@flex.apache.org
> > Objet : RE: Building new skins for Android 4.x and iOS7
> >
> > I have checked FlexVersion, but it's really dedicated to Flex versions.
> >
> > Here, 4.1.2 refers to Android version (Jelly Bean IIRC) but could be
> > any OS.
> >
> > Sorry for the confusion.
> >
> > I think I will create a new class OSVersion , and use it in the
> > MediaQueryParser
> >
> > If that works, it will open up new possibilities in media css ( such
> > as
> > NumberUnit)
> >
> > Maurice
> >
> > -----Message d'origine-----
> > De : Justin Mclean [mailto:jus...@classsoftware.com] Envoyé : samedi
> > 15 mars 2014 23:13 À : dev@flex.apache.org Objet : Re: Building new
> > skins for Android 4.x and iOS7
> >
> > Hi,
> >
> > > Currently, MQP supports min- and max- for number properties only.
> > > So I had to turn version strings to numbers to allow comparison The
> > > version number for X.Y.Z is X + Y/100 + Z/10000.
> >
> > There already a set of method with does this for the Flex SDK. May be
> > possible to reuse?  check FlexVersion.as in framework.
> >
> > Justin
> >

Reply via email to