Woah: >Improved Java 8 language support - We’re excited to bring Java 8 language features to Android. With Android's Jack compiler, you can now use many popular Java 8 language features, including lambdas and more, on Android versions as far back as Gingerbread. The new features help reduce boilerplate code. For example, lambdas can replace anonymous inner classes when providing event listeners. Some Java 8 language…
First Preview of Android N: Developer APIs and Tools
11–20 of 74 posts
Re: First Preview of Android N: Developer APIs and Tools
#12Earlier quoted context omitted.
Ice Cream Sandwich, which is 5 years old, has about vanished. Jelly Bean still has 30% market share, but are owners of 4 year old phones a significant portion of app revenue? I'd wager the people spending money have at least KitKat. Lollipop, at a year and half old, has another 30%
KitKat is three years old at this point. And I still see new phones and tablets with 4.1 or 4.2 on sale. Digital Signage platforms especially (the part of the Android market I actually care about) seem to be largely stuck on 4.1.
Re: First Preview of Android N: Developer APIs and Tools
#13Woah: >Improved Java 8 language support - We’re excited to bring Java 8 language features to Android. With Android's Jack compiler, you can now use many popular Java 8 language features, including lambdas and more, on Android versions as far back as Gingerbread. The new features help reduce boilerplate code. For example, lambdas can replace anonymous inner classes when providing event listeners. Some Java 8 language…
This has been possible for some time with retrolambda.
Re: First Preview of Android N: Developer APIs and Tools
#14Re: First Preview of Android N: Developer APIs and Tools
#15Earlier quoted context omitted.
Ice Cream Sandwich, which is 5 years old, has about vanished. Jelly Bean still has 30% market share, but are owners of 4 year old phones a significant portion of app revenue? I'd wager the people spending money have at least KitKat. Lollipop, at a year and half old, has another 30%
KitKat is three years old at this point. And I still see new phones and tablets with 4.1 or 4.2 on sale. Digital Signage platforms especially (the part of the Android market I actually care about) seem to be largely stuck on 4.1.
Re: First Preview of Android N: Developer APIs and Tools
#16So Java 8 support is finally here. I think this is the effect of Android moving to OpenJDK.
Re: First Preview of Android N: Developer APIs and Tools
#17Besides finally saying something about Java support, I found other items interesting. ART will recompile applications based on profiling data. Introduction of support to hardware keystores, with the mention that one use case is to prevent jailbreaking. Prevent the NDK users that ignored the documentation and linked to non official platform libraries to keep doing that.
> ART will recompile applications based on profiling data. They went back to having a JIT in addition to AOT - which means there is no AOT when the app is installed. When the device is idle/charging then AOT will selectively precompile the used portions of the app and optimize it further using the profiling data. So faster app installs (boon for FDE devices with slow NAND write speeds) and no optimizing apps step aft…
That is fantastic news. Every single time my Nexus 6P gets an update it feels like it takes at least 15 minutes to "optimize apps". Every. Single. Update.
Re: First Preview of Android N: Developer APIs and Tools
#18Earlier quoted context omitted.
> ART will recompile applications based on profiling data. They went back to having a JIT in addition to AOT - which means there is no AOT when the app is installed. When the device is idle/charging then AOT will selectively precompile the used portions of the app and optimize it further using the profiling data. So faster app installs (boon for FDE devices with slow NAND write speeds) and no optimizing apps step aft…
> no optimizing apps step after system update. That is fantastic news. Every single time my Nexus 6P gets an update it feels like it takes at least 15 minutes to "optimize apps". Every. Single. Update.
Re: First Preview of Android N: Developer APIs and Tools
#19Re: First Preview of Android N: Developer APIs and Tools
#20Woah: >Improved Java 8 language support - We’re excited to bring Java 8 language features to Android. With Android's Jack compiler, you can now use many popular Java 8 language features, including lambdas and more, on Android versions as far back as Gingerbread. The new features help reduce boilerplate code. For example, lambdas can replace anonymous inner classes when providing event listeners. Some Java 8 language…