First Preview of Android N: Developer APIs and Tools
31–40 of 74 posts
Re: First Preview of Android N: Developer APIs and Tools
#32[0] http://www.androidpolice.com/2016/03/09/android-n-feature-sp...
Re: First Preview of Android N: Developer APIs and Tools
#33I was really hoping for something more exciting. Like maybe native support for a new, different language (like Apple did with Swift). It would be absolutely amazing if Google came out with a mechanism for building native apps in, say, Rust.
To an extent, that partially exists in the form of Android NDK, but that's not really a full solution. If and when Google makes it possible to easily create your entire app natively (with a clean C API), then you ought to see a surge of libraries/toolkits/frameworks coming out that will enable you to write Android apps in most common languages (Rust likely included).
Re: First Preview of Android N: Developer APIs and Tools
#34I was really hoping for something more exciting. Like maybe native support for a new, different language (like Apple did with Swift). It would be absolutely amazing if Google came out with a mechanism for building native apps in, say, Rust.
Re: First Preview of Android N: Developer APIs and Tools
#35Besides 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…
Just what I can think of as similar, still need to dig deeper into what it actually means for Android.
Re: First Preview of Android N: Developer APIs and Tools
#36I really wish they would get the camera and gyro APIs on par with iOS so Instagram could port Hyperlapse
Re: First Preview of Android N: Developer APIs and Tools
#37Re: First Preview of Android N: Developer APIs and Tools
#38Earlier quoted context omitted.
In fact, they've implemented lambdas exactly like retrolambda does via anonymous classes.
So this is just another way to blow up your dex method count?
It depends. For example, let's compare providing an event listener via a lambda vs an anonymous inner class. Using the lambda will increase your method count by 1. However, if you're accessing class member variables, it will reduce the method count for each variable you use, because it's added as a method of the containing class and doesn't need to generate accessors.
Re: First Preview of Android N: Developer APIs and Tools
#39I really wish they would get the camera and gyro APIs on par with iOS so Instagram could port Hyperlapse
Re: First Preview of Android N: Developer APIs and Tools
#40I was really hoping for something more exciting. Like maybe native support for a new, different language (like Apple did with Swift). It would be absolutely amazing if Google came out with a mechanism for building native apps in, say, Rust.
To do that, all they'd really need to do is have a mechanism to build native apps in C, after which various language communities would be able to write simple wrappers that would allow them to use said C API. To an extent, that partially exists in the form of Android NDK, but that's not really a full solution. If and when Google makes it possible to easily create your entire app natively (with a clean C API), then yo…