Android Question How can I determine if the user has a pad or phone?

Discussion in 'Android Questions' started by grafsoft, Mar 12, 2015.

  1. grafsoft

    grafsoft Well-Known Member Licensed User

    Thank you.
     
  2. Erel

    Erel Administrator Staff Member Licensed User

  3. DonManfred

    DonManfred Expert Licensed User

    Code:
    If GetDeviceLayoutValues.ApproximateScreenSize > 6 Then
            
    Log("Tablet")
        
    Else
            
    Log("Phone")
        
    End If
     
    Erel, grafsoft and Peter Simpson like this.
  4. grafsoft

    grafsoft Well-Known Member Licensed User

    Thanks!! That's what I like about this community ...
     
  5. DonManfred

    DonManfred Expert Licensed User

    Feel free to contribute and help others if you are able to. Like we do :)
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice