get screen size on smartphone

get screen size on smartphone

  

I would like to know if there is any function that returns the size in length and height of the smartphone screen taking into account the soft menu on android.

thanks

Solution

Hi João,

Couldn't you use JavaScript?

Solution