3 ms·
> My problem is that I cannot pick any random Java library out of Maven and be 100% assured that it will run at all on Android. You need to stop thinking of th
by shakna 9y ago
> My problem is that I cannot pick any random Java library out of Maven and be 100% assured that it will run at all on Android.
You need to stop thinking of the Android SDK as Java, because it isn't. It has Objective-C to C similarities.
It doesn't have API compatibility, or bytecode compatibility or even the same class constructors.
Thinking they're pretending to be the same is going to cause nothing but frustration, and hurt you. It'll irritate and chafe more every time you have to touch that god-awful ecosystem.
> it gets love support like yours instead of the hate Microsoft
No Google does not get my love, I have ranted against their practices for years. This conversation has been about legalities, not ethics.
They suck as a company - but we have ecosystems built around compatible APIs, a legal precedent here would be awful for everyone. (Firefox's new extension API, the entire JS ecosystem, etc.)
- pjmlp 9y ago> You need to stop thinking of the Android SDK as Java, because it isn't. That is exactly my point, Google has broken Java's compatibility story, regardless if they have found a legal loophole to get away with it or not. Objective-C and C are two completely different programming languages, where Objective-C is a superset of C. Any C compliant code is compilable by an Objective-C compiler. It is not the same as what Google has done to Java.