Question: For a mobile app being developed with a cross-platform tool, how would one determine how many columns in a mobile app could be rendered reasonably? For example how to determine whether extra columns could be placed in a layout for a given view?
Notes:
With the mix of IOS/Android devices, different resolutions, portrait/landscape, does the answer lie in the physical dimensions of the screen? I assume that using screen width in pixels might not be appropriate as it may not indicate how physically big the screen is.
For example, for the sake of discussion, if you had an application that you data to be displayed in columns and you had say determined that for readability for a user that (I'm making these up):
- iPhone Portrait - 1 column
- iPhone Landscape - 2 columns
- iPad Portrait - 2 columns
- iPad Landscape - 3 columns
However beyond iPad/iPhone there are all the Android devices, so assuming here one needs a formula/approach to determining at run time how many columns to try to display to the user.
So the assumption is you are using a cross platform development tool such as: Corona SDK, Phone Gap, Titanium, MoSync etc