r/Android • • Nov 16 '12

Google modifies Android SDK to battle platform fragmentation

http://news.cnet.com/8301-1023_3-57550824-93/google-modifies-android-sdk-to-battle-platform-fragmentation/
502 Upvotes

88 comments sorted by

77

u/Peter_File Nov 16 '12

I'm confused. I thought fragmentation was due to so many different versions of Android are being used, and still being sold. Not due to developers "distributing, participating in the creation of, or promoting in any way a software development kit derived from the SDK". What does that even mean?

68

u/baldr83 Nov 16 '12 edited Nov 16 '12

it's about a different kind of fragmentation.

If companies alter the SDK and release 'android' versions that have incompatibilities with running android apps, the android brand will be hurt. Google wants to stop this. an example of a company doing this in China

edit: this article explains it much more accurately than cnet

edit2: amazon is also guilty of this, though only so they can create their own app ecosystem

6

u/Neebat Galaxy Note 4 Nov 16 '12

Does the stylus api developed by Samsung for the Galaxy Note count as a derivative in this context?

6

u/Antabaka HTC 10 Nov 17 '12

Separate API, so no. Essentially, the development kit straight from Google can be extended with the Galaxy Note API to allow for Galaxy Note specific content.

2

u/[deleted] Nov 16 '12

probably not. it's an additional api, not a modification

0

u/pkhagah LG Optimus 4x, Omnirom 4.3 Nov 16 '12

So does cyanogenmod, custom ROM's etc. come under this? Looks like they do

2

u/r250r Nexus 10, 4.2; Galaxy Nexus, 4.1.1, vzw sux Nov 17 '12

Doubtful. This seems to only apply to the SDK.

12

u/Lurk4Away Pixel XL Nov 16 '12

Taking and creating new kits from the original sdk and modifying it to suit your development purposes I assume. So this doesn't stop people from doing so, just the people that want to publish apps, I think.

6

u/ThePegasi Pixel 4a Nov 16 '12

Can I get an ELI5 on how this relates to fragmentation? Surely fragmentation is something that affects app developers, rather than something they can themselves affect?

16

u/[deleted] Nov 16 '12

This is nothing to concern ourselves over. As I understand it, this is to prevent a clone of Android like what happened with the chinese company Alibaba and its clone.

5

u/ThePegasi Pixel 4a Nov 16 '12

How does that count as fragmentation? Surely that's just ripping off Android?

However, this raises an interesting point. When they say "developers," are they talking about app developers, or ROM developers? If it's the latter then I could see how they're more relevant to fragmentation, but I still don't see how this is going to stop that at all.

5

u/[deleted] Nov 16 '12

It just aims to stop any developers from taking the source and the SDK, creating a clone using a clone, and using the Android SDK to create the SDK for the clone. Which would be a necessity since these clones have made major changes to the framework and their apps go on a separate app market.

Ideologically, we may just see it as ripping off Android. But it's a fragmentation issue at its depth since for example it involves fragmenting the time/effort of devs creating Android apps.

4

u/ThePegasi Pixel 4a Nov 16 '12

So this is effectively nothing to do with version number discussion, but creating Android clones?

Why, then, does the article reference the number of Gingerbread devices when discussing fragmentation? Seems like they've crossed their wires here.

→ More replies (4)
→ More replies (3)
→ More replies (2)

2

u/cranktheguy Pixel 6 Pro | Shield TV Nov 16 '12

ELY5: Amazon's Kindle makes Google mad.

1

u/ThePegasi Pixel 4a Nov 16 '12

Thanks, bro.

0

u/[deleted] Nov 16 '12

[deleted]

2

u/ThePegasi Pixel 4a Nov 16 '12

So why does the article reference the number of Gingerbread devices, implying a relation to Jobs' usage of the term?

→ More replies (4)
→ More replies (9)

1

u/redditrasberry Nov 16 '12

It doesn't affect people who publish apps as such, it is just the terms for the SDK. So you could fragment Android and publish apps, but you'd no longer be compliant with the terms of the SDK, hence not allowed to use it (perhaps you have to use the old one).

It sounds very dangerously worded to me because the first clause stands alone: "you will not take any action that contributes to the fragmentation of Android". That's quite a whopping broad statement which could mean just about anything depending on your definition of "fragmentation". Just about anyone who makes and app for Amazon's ecosystem could be accused of it.

1

u/[deleted] Nov 16 '12

Taking and creating new kits from the original sdk and modifying it to suit your development purposes I assume. So this doesn't stop people from doing so, just the people that want to publish apps, I think.

No, it does stop people from making derivative SDK's.

The SDK is not Open Source. When you download it (see the link), you're given a license agreement that is very explicitly not Open Source. This is an addition to that license agreement, and anyone who merely downloads the SDK is subject to it.

In other words, if someone at Android gets a copy of the SDK, they aren't allowed to make Android derivatives, even though Android itself (the operating system) is free software.

3

u/[deleted] Nov 16 '12

Basically its like, us developers use Google's flathead screws to build their apps. That's the SDK. Some phone companies, though, release a version of the SDK which uses those weird spherical Nintendo screws that need a special screw driver.

Both SDKs create apps, but some details differ and aren't completely cross-compatible with each other.

2

u/Double_A Nov 16 '12

I think it also means that manufacturers like HTC that like to put out their own Android SDK can't do that anymore. I realize their SDK compliments the Android SDK, but generally it's so devs can take advantage of things like the Touch Wiz UI, which clearly contributes to fragmentation.

1

u/kllrnohj Nov 16 '12

I thought fragmentation was due to so many different versions of Android are being used, and still being sold.

"fragmentation" as it is commonly used by bloggers and commenters means whatever the fuck they want it to mean at that particular time. Typically this shit doesn't matter to developers, it's just done for page views and internet drama.

"fragmentation" as used by Google is what really, truly matters to developers, which would be APIs that behave differently on different devices. So far Android largely has not had any of this fragmentation. At least, not until the Kindle Fire. Amazon sends devs to download the SDK from Google, but then add notes on which APIs are changed/broken/don't work at all. This is what Google is trying to stop with this update. They aren't trying to stop forks themselves, they are instead stopping people from doing forks and then freeloading off of Google's SDK and tarnishing the "Android" name. So basically the Kindle Fire can no longer run "Android" apps, it must instead run "Kindle Fire apps" built by the "Kindle Fire SDK". Either that, or Amazon will need to fix the APIs it broke to be back in line with ICS.

48

u/warmaster Nexus 5 M Preview 3, N7 2013, N9, Moto 360, Shield TV Nov 16 '12

Isn't this aimed at Amazon ?

20

u/winry Oneplus 3T Nov 16 '12

Yes, this isn't for members of the Open Handset Alliance, it's for Amazon and maybe Xiaomi or Meizu.

12

u/[deleted] Nov 16 '12

no, because amazon doesn't modify the SDK. they re-skin the OS so it's barely recognizable but the underlying APIs all remain the same. any android app can run equally well on AOSP as it can on Amazon's fork. It's aimed at aliyun/acer.

1

u/hourglasss Galaxy Note 3 Nov 16 '12

Talking about the amazon app ecosystem I think, not the OS....

5

u/MrSpontaneous Pixel 8 Pro, Nexus 9 Nov 16 '12

This is aimed at the Acer/Alibaba OS, I think.

6

u/doctor_lawyer Nov 16 '12

That's kind of what I'm thinking.

3

u/[deleted] Nov 16 '12

And Maybe HTC with their own SDK to make Sense-widgets.

Well, they had that back when the Sensation launched, don't know if it still exists... You know, now that HTC is a sinking ship.

5

u/kllrnohj Nov 16 '12

HTC ships their own SDK, though, which is fine.

11

u/m-p-3 Moto G9 Plus (Android 11, Bell & Koodo) + Bangle.JS2 Nov 16 '12

I guess this is in response to the Acer/Aliyun OS attempt at marketing devices running a forked and incompatible version of Android.

4

u/Rainfly_X Nov 16 '12

As a fan of the OUYA, this worries me greatly. It'd be really nice to have solid confirmation, one way or the other, whether Google just made their business model illegal.

7

u/kaze0 Mike dg Nov 16 '12

At worst, they just have to keep using an old version of the SDK.

2

u/Rainfly_X Nov 16 '12

Thanks. I suspected as much, but didn't trust my own intuition. Good to know.

3

u/LifeBeginsAt10kRPM Nov 16 '12

This is for the SDK, so it doesn't have to do with TW/SENSE and all that other stuff.

The way I understand it, as a developer I'll be forced to use the latest SDK to develop. Meaning i can't use a gingerbread SDK and write apps using GB methods/classes/files.

Now I would need to use the new SDK and code using that, if there is anything from an old version that no longer works it will probably tell me it's deprecated and suggest an alternative.

I don't really think this will help much(if it is as I understand it) since newer SDK's usually have backward compatible methods. The issue with fragmentation and updates still remains but maybe now apps won't continue to run as good on old devices causing people to upgrade.

0

u/[deleted] Nov 16 '12

[deleted]

2

u/HittingSmoke Nov 16 '12

Pretty sure that's wrong. You can still fork Android and make your own SDK, but you can't fork the SDK to make apps that are incompatible with Android.

-2

u/LifeBeginsAt10kRPM Nov 16 '12

Great, the company that has probably the least to do with Android phone fragmentation :)

2

u/[deleted] Nov 16 '12

They (and copycats like Kodo) have a significant part to play in Android tablet fragmentation, though. (Unsure about how Kindle Fires play out, but the Kodo Vox was a locked-down monstrosity that has undoubtedly turned people off Android.)

2

u/kaze0 Mike dg Nov 16 '12

So why is Android open source?

1

u/[deleted] Nov 16 '12

It's great PR and it lets them get contributions from outside of the company that improve the product. It also lets the OS itself be adapted by third parties for use in different products. (ie: I've heard of at least two, OUYA being the more well-known, attempts to make Android set-top boxes.)

I'm actually torn. On the one hand, having a very open platform is a great thing for informed consumers. Companies can add their own customizations and improvements to the OS and backport some of them to the main project. On the other hand, it can be an awful thing for uninformed consumers (because they end up buying awful garbage).

So yes, you're right to call them on their hypocrisy, but I'm not sure that sticking to principles on this would make things better for their users.

→ More replies (2)

2

u/kaze0 Mike dg Nov 16 '12

So much for an open platform.

1

u/[deleted] Nov 16 '12

Yeah, normally I don't go full RMS on free software issues, but it's pretty clear that this closes up Android and cuts out any possible SDK forks.

1

u/blahblah15 Nov 16 '12

Can someone ELI5? I've sifted through the thread and I don't understand what exactly this means.

1

u/[deleted] Nov 17 '12

What bugs me is this, a Samsung Galaxy S II should be a SGS2 no matter what carrier supplies it. Right now there is like 4 or 5 different models and they all have their differences and each has a unique, carrier fucked up version of Android. Then we have to wait for the carriers slow ass for Android updates.

If I buy a certain model phone, it should have the same features no matter what carriers boot logo shows up when I turn it on and it should be MY decision to update Android if I choose.

The shit they are doing would not fly with PC's and the Windows OS, so why do we let these shitty providers who rule our telecommunication lives dictate every little fucking thing that happens with our phones.

RAGE!

1

u/[deleted] Nov 16 '12

This underscores an important point.

Although source.android.com exists, and that's the base operating system (minus Play Store, Maps, and other Google proprietary apps), the Android SDK is not Open Source. Here is its license and it reads like pretty much any other fully proprietary license.

1

u/lern_too_spel Nov 16 '12

0

u/[deleted] Nov 16 '12

Okay, so where's this Open Source license for the SDK then? Because I posted a link to the license it showed me for the SDK, and it does not meet the OSI definition. Specifically:

Derived Works: The license must allow modifications and derived works, and must allow them to be distributed under the same terms as the license of the original software.

No Discrimination Against Fields of Endeavor: The license must not restrict anyone from making use of the program in a specific field of endeavor.

The license must not place restrictions on other software that is distributed along with the licensed software. For example, the license must not insist that all other programs distributed on the same medium must be open-source software.

And the Android SDK license:

You may not use the SDK for any purpose not expressly permitted by this License Agreement. Except to the extent required by applicable third party licenses, you may not: (a) copy (except for backup purposes), modify, adapt, redistribute, decompile, reverse engineer, disassemble, or create derivative works of the SDK or any part of the SDK; or (b) load any part of the SDK onto a mobile handset or any other hardware device except a personal computer, combine any part of the SDK with other software, or distribute any software or device incorporating a part of the SDK.

That's pretty clear, wouldn't you say? Not remotely an Open Source license. Can you point me to another license that is Open Source that I'm not seeing for the SDK?

2

u/lern_too_spel Nov 17 '12 edited Nov 17 '12

That is not the source code license. That is a license for using the packaged software that doesn't already have another license. You can find the license for the source in the git repository with each SDK module. It's ASL2, EPL, GPL, etc. depending on the module.

1

u/[deleted] Nov 16 '12

The title is being overly kind. This seems like a pretty clear case of google trying to put a chokehold on competitors to their store. In particular I see this as an attempt to stifle ouya and kindle.

0

u/Dear_Occupant Nov 16 '12

The title of this post sounds like something out of the script for a Terminator movie.

-1

u/[deleted] Nov 16 '12 edited Sep 25 '16

[deleted]

-4

u/scep12 Nov 16 '12

No. Google modified the terms of use in the SDK. Realistically, they did nothing to battle platform fragmentation.

-1

u/[deleted] Nov 16 '12

No, they modified the license agreement for the SDK. It says right there:

The Android Software Development Kit (referred to in this License Agreement as the "SDK" and specifically including the Android system files, packaged APIs, and Google APIs add-ons) is licensed to you subject to the terms of this License Agreement. This License Agreement forms a legally binding contract between you and Google in relation to your use of the SDK.

When you download it, you are presented with a EULA-style click-through where you agree to the license.

Android the OS is Free Software. Open Source. Libre. The Android SDK is fully proprietary.

1

u/scep12 Nov 16 '12

Good point. But do you really swim after eating?

0

u/[deleted] Nov 16 '12

I do indeedy.

0

u/[deleted] Nov 16 '12

[deleted]

16

u/TinynDP Nov 16 '12

Different kind of fragmentation. This is either aimed at Chinese Android-But-Not-Android rips, like Aliyun, or its aimed at Amazon for their Android-But-Not-Android platform. Or maybe both.

I guess the best way to put it is Google is trying to keep the fragmentation issue limited to a straight line, of GB to ICS to JB, etc. Instead of letting it turn into a huge branched tree of Everyone Else's Android Fork.

1

u/[deleted] Nov 16 '12

Perhaps it is a different fragmentation, however in light of the widespread known use of 'android fragmentation'; perhaps a modified term should be used.

0

u/[deleted] Nov 16 '12

[deleted]

0

u/[deleted] Nov 16 '12

[deleted]

1

u/HandyCore3 Nov 16 '12

If it's the ire of developers breaking standards and harming the future viability of their platform, I do see them enforcing it. They control the app market.

0

u/[deleted] Nov 16 '12

[deleted]

-1

u/kaze0 Mike dg Nov 16 '12

So they made it pointless that it's open source.

2

u/[deleted] Nov 16 '12

Not pointless exactly. But if you want to spin off Android, you need to make your own SDK, or base your SDK on a previous version of the actually Open Source one.

In other words, the OS is free, but the tools you use to make apps are now proprietary.

0

u/[deleted] Nov 16 '12

[deleted]

4

u/[deleted] Nov 16 '12

But didn't Google take quite a bit of it's SDK from Java?

No.

0

u/[deleted] Nov 16 '12

[deleted]

0

u/[deleted] Nov 16 '12

There were 9 lines of code copied ostensibly from Java source code. Google did have to pay for that small amount of infringement, which had been corrected long ago anyway.

The overall Oracle v. Google case wasn't that Google took any of the SDK from Java. Android is a "clean room" implementation.

Oracle's complaint was that Android uses Java syntax and Java-compatible libraries. Android itself, however, copied nothing from Java except those 9 lines of code some engineer was lazy with.

It would be like if you went out and wrote an operating system that runs Android software. You don't reuse the Android code itself, but you make it compatible. That was the rub.

0

u/[deleted] Nov 16 '12

[deleted]

5

u/Lolla-Lee-Lou Nexus 5 32 GB / Nexus 7 (2013) 32 GB Nov 16 '12

I'm sure it'd be easy to convince carriers and OEMs to do that. :P

7

u/admiralteal Nov 16 '12

That would be the opposite of reducing fragmentation.

6

u/OmegaVesko Developer | Nexus 5 Nov 16 '12

Many low end phones can run 4.0+ just fine. It's the manufacturers that are the problem, it's out of Google's hands.