4.12.1 is required.
To access those properties from ActionScript, check out the release notes:

https://cwiki.apache.org/confluence/display/FLEX/Apache+Flex+4.12.1+Release+Notes#ApacheFlex4.12.1ReleaseNotes-Newfeatures

(search for MediaQueryParser)

Maurice 

-----Message d'origine-----
De : Gabriele Campi [mailto:[email protected]] 
Envoyé : jeudi 29 mai 2014 16:35
À : [email protected]
Objet : Re: different applications inside the same mobile app

Hi Om,
I'm unable to make media query  working in my app.
Which version of Apache Flex is required? I'm using the 4.12

Thanks,
Gabri

/

/
Il 29/05/14 09:59, OmPrakash Muppirala ha scritto:
> You can use the new css media query selectors device-width and 
> device-height.
>
> Thanks,
> Om
> On May 28, 2014 11:53 PM, "Gabriele Campi" 
> <[email protected]>
> wrote:
>
>> Thank you Angelo,
>> but how can I detect the device type, using the 
>> flash.system.Capabilities library?
>> On Android I need to detect if the application is running on tablet (7''
>> or more) or smartphone.
>>
>> Gabriele
>>
>>
>> Il 28/05/14 12:41, Angelo Lazzari ha scritto:
>>
>>> Hi Gabriele,
>>> you can create one app and, coding the logic in the very first view, 
>>> use the  *flash.system.Capabilities *library to detect the device 
>>> type and then launch the correct view.
>>>
>>> Bye
>>> Angelo
>>>
>>>
>>> 2014-05-28 9:33 GMT+02:00 Scott Matheson <[email protected]>:
>>>
>>>   What about loading a modul for each app within the framework
>>>> I do this for web based app
>>>>
>>>> Sent from my iPhone
>>>>
>>>>   On 28 May 2014, at 08:27, "Gabriele Campi" <
>>>>> [email protected]>
>>>>>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I'm wondering if it's possible to create and use different 
>>>>> applications
>>>>>
>>>> inside the same flex mobile app.
>>>>
>>>>> In particular, I want to launch a specific application depending 
>>>>> on the
>>>>>
>>>> device type, one for iPhone and other for iPad.
>>>>
>>>>> Thanks
>>>>>
>>>>> Gabriele
>>>>>
>>>>>   ________________________________
>>>> Disclaimer: This electronic mail and any attachments are 
>>>> confidential and may be privileged. If you are not the intended 
>>>> recipient, please notify the sender immediately by replying to this 
>>>> email, and destroy all copies of this email and any attachments. 
>>>> Thank you.
>>>>
>>>>

Reply via email to