flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriele Campi <gabriele.ca...@medialogic.eu>
Subject Re: different applications inside the same mobile app
Date Thu, 29 May 2014 10:42:27 GMT
Ok,
in the css I can use flex-max-device-diagonal and flex-min-device-diagonal?!
But in Actionscript? Checking application dimensions is the right 
approach (isTablet = height > 960 || width > 960)?

thanks,
Gabriele


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" <gabriele.campi@medialogic.eu>
> 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 <smatheson@intralinks.com>:
>>>
>>>   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" <
>>>>> gabriele.campi@medialogic.eu>
>>>>>
>>>> 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.
>>>>
>>>>


Mime
View raw message