Determine if device is a tablet

Terry Judd terry.judd at unimelb.edu.au
Tue Aug 14 19:20:11 EDT 2018


Can you do it based on the aspect ratio of the screen? I wouldn't have thought that there were many phones that were as 'squat' as a typical tablet.

Terry...

On 15/08/2018 9:16 am, "use-livecode on behalf of J. Landman Gay via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    I need to determine whether the current mobile device is a tablet or a 
    phone. On iOS I can use "the machine" but on Android it only provides 
    the manufacturer's name.
    
    Does anyone know a way to do that?
    
    -- 
    Jacqueline Landman Gay         |     jacque at hyperactivesw.com
    HyperActive Software           |     http://www.hyperactivesw.com
    
    _______________________________________________
    use-livecode mailing list
    use-livecode at lists.runrev.com
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode
    
    



More information about the use-livecode mailing list