3 ms·
...75 device combinations with identical aspect ratios, and very similar hardware. Think about the difference between a Sony X10 Mini (320x240 display) and a Ga
by objclxt 15y ago
...75 device combinations with identical aspect ratios, and very similar hardware. Think about the difference between a Sony X10 Mini (320x240 display) and a Galaxy Nexus (1280x720 display): that sort of drastic hardware/software differentiation isn't there on iOS. Writing an app that works well on both is no easy challenge.
- natesm 15y agoI'm not sure why this was downvoted. It's entirely true. Think about button sizes. The iOS UI widgets are a specific physical size, optimized for the average human hand, which is then translated into pixels. Because all iOS devices have the exact same "pixel dimensions" (sure, there are four times as many now, but that doesn't matter much), supporting this is not a problem. The distance that the user will have to reach for a button and the dimensions of said button are physically identical on every single iPhone and iPod touch. Android devices are many different sizes and shapes, so this sort of consistency is practically impossible (although I'd be really impressed if someone pulled it off, surely there's a way to get physical device dimensions in the Android SDK?).
- king_jester 15y ago> Android devices are many different sizes and shapes, so this sort of consistency is practically impossible (although I'd be really impressed if someone pulled it off, surely there's a way to get physical device dimensions in the Android SDK?) If you are interested in how this for Android, the android design sign on metrics has a good overview, particularly the section on 48dp rhythm: http://developer.android.com/design/style/metrics-grids.html http://developer.android.com/design/style/metrics-grids.html
- rogerbinns 15y ago> Android devices are many different sizes and shapes, so this sort of consistency is practically impossible Instead of incorrect speculation, here are some facts: https://plus.google.com/105051985738280261832/posts/AzwMc3pSDUU https://plus.google.com/105051985738280261832/posts/AzwMc3pS... > surely there's a way to get physical device dimensions in the Android SDK Since Android 1.0. You get the x and y dpi which can then be multiplied by screen resolution. http://developer.android.com/reference/android/util/DisplayMetrics.html http://developer.android.com/reference/android/util/DisplayM... http://developer.android.com/reference/android/view/Display.html http://developer.android.com/reference/android/view/Display....
- Rabidgremlin 15y agoYou'd think BUT... * SDK calls on different OS/hardware combos behave differently * Different resolutions mean having to support different image assets etc (same as Android) * SDK doesn't have built in support for fluid layouts or as good (but complicated) asset support as Android has * New high resolution/different aspect ratio iOS devices are just around the corner TL;DR iOS "fragmentation problem" exists and is likely to grow. Android SDK has ground up (but complex) features to tackle this problem
- masklinn 15y ago> * Different resolutions mean having to support different image assets etc (same as Android) Far's I know, it only requires having different image asserts (@2x, and even that is optional), what's the etc? > * SDK doesn't have built in support for fluid layouts or as good (but complicated) asset support as Android has On the other hand, the need is nowhere as dire as on Android given all devices have the same aspect ratio, and there are only two physical sizes (for two well-defined classes of devices) > * New high resolution/different aspect ratio iOS devices are just around the corner There's pretty much no way iOS devices with different aspect ratios will be released (or they'll be a completely different line e.g. AppleTV which will not run iPhone/iPad applications).
- Rabidgremlin 15y agoiPads have different ratio to iPhones/iPod right ? New iPad 3 is rumoured to have Retina display... Totally agree that iOS did not need complexity of the Android SDK due to consistency in Apple product line up but I think they may have dug a bit of a hole for themselves if they want to shake things up in the future.
- masklinn 15y ago> iPads have different ratio to iPhones/iPod right ? Ah yes, 3/2 versus 4/3. > New iPad 3 is rumoured to have Retina display... Yes, but it will very likely keep the 4/3 aspect ratio, and like the iPhone will scale "non-retina" images automatically.