Interesting read but I think B4A helps a lot in handling different devices with its ability to have multiple resolutions and densities supported, think it would be a nightmare maintaining several variants of the same app.
Interesting read but I think B4A helps a lot in handling different devices with its ability to have multiple resolutions and densities supported, think it would be a nightmare maintaining several variants of the same app.
Dave,
Is there a B4A tutorial on how to design an app to handle different size devices? Like phone and tablet? There must be a few gotcha's that developers should design for.
There is some information about layouts you can find on the forums but basically you create your layout in the designer and then in the designer add a new variant layout with the designers add button.
Then when your app is run the device picks the appropriate layout, so on my 320x480 phone it would choose that size layout and for a larger resolution would pick the nearest layout that will fit better on the screen.
I'm sure there are tips and tricks people can put forward, but the most important is to add layout variants in the designer. Then when you have everything the way you want it you could always adjust the layouts if needed
Is there a B4A tutorial on how to design an app to handle different size devices? Like phone and tablet? There must be a few gotcha's that developers should design for.
I can see this being useful when you are including video files locally
into your app, and you wanted to have better quality HD videos for
a tablet vs. a phone when someone doesn't have wifi/4g access and
they are on a subway/plane viewing your app (with the local videos).