5 ms·
One small thing which I haven't yet understood is Why Google is supporting so many (latest) versions of Android yet again. We have Android 2.3.2, Gingerbread an
by _vandy 15y ago
One small thing which I haven't yet understood is Why Google is supporting so many (latest) versions of Android yet again. We have Android 2.3.2, Gingerbread and now we have Ice Cream Sandwich. This is confusing. Isn't it?
- klausa 15y agoGingerbread is 2.3.x branch, perhaps you meant Honeycomb? And while it is a little bit confusing, it kinda makes sense. Gingerbread is latest phone release, Honeycomb was tablet-only thing, and with Ice Cream Sandwich they're merging it into one release.
- Arkid 15y agoWill this not cause fragmentation again in the near future?
- estel 15y agoWhat sort of fragmentation are you concerned about in particular?
- Arkid 15y agoDevelopers have to develop for all three versions. Right??
- estel 15y agoDevelopers can develop for what they want.
- deleted 15y ago[deleted]
- Pewpewarrows 15y ago(Android dev here) No. You release one .apk file (the Android equivalent of .app). Within a manifest inside it, you can specify a "target" release API version and a "minimum" version. No one running a device below the minimum can see or install your apk. The target one is more of a suggestion to the Dalvik VM with how to approach running your application (if it know you're targeting the latest release, it can expect you to use some new features and adjust accordingly, etc). Just like with web sites, you progressively enhance an Android app during development using Java's reflection, and/or gracefully degrade by bundling up back-ported modules and UI components in your apk. If you absolutely can't get around a particular function not being present in an old version of the API, then you just don't have that feature even visible to the end-user. The current recommendation is to set your min level to 7 (which is Android 2.1), and as of a few days ago, to set your target to 14 (Android 4.0, or Ice Cream Sandwich). According to raw statistics of devices active and in the wild, this hits 97% of all potential Android customers. Fragmentation used to be an issue back when supporting the Android 1.x line of APIs was still necessary. Now it's nice and streamlined, and I barely notice writing for compatibility any more. And if you really can't get around some problems, the Market now lets you upload multiple apks for a single "release" of your app, each targeted towards different ranges of API levels.
- tadfisher 15y agoAre there Android devices released with 2.1 that have not received an update to 2.2?
- drivebyacct2 15y agoSome. http://developer.android.com/resources/dashboard/platform-versions.html http://developer.android.com/resources/dashboard/platform-ve...
- deleted 15y ago[deleted]
- shareme 15y agookay let me explain...I am not affiliated with Google..just a small 3d party contributor.. The whole reasoning was to get new stuff out there and once the UI solidified than OEMs would update to latest as they no longer would be using customized UIs ..what you are seeing is the very beginning of that process..the market with new 4.0 devices selling will help get OEMs to that point in 18 months where we will only see 4.x devices. Why? Most if not all dual core and up are GPU based and with Qualcomm reducing costs on the lower end boards you will see dul cores at the bottom end also at the $50 range per handset. As far as developer-wise yes at first it was confusing..backporting certain stuff than writing to 1.6 with a backported set of ui components but its manageable once you step up and start doing it..and there is an Eclipse extra adt-addons plugin to assist in that it analyzes the api to see if it will work per the min and max target api settings in the manifest
- sherkund 15y agoYeah, I think Windows Mango phones are going to be an order of magnitude better (in terms of what a customer can expect buying one) because of the spec requirements. Although Google merely created Android just to force the smartphone market to be more competitive, I just wish that Google stuck it's foot in the mud more. Hopefully they start a "G+ Certified" to tell customers about continued Google maintenance support or something.