Because Android version splitting is more serious, the entire new system upgrade may take a year or two or more. So now most of the use of Android 5.0 is like early adopters, and now the market can be very good to support Android 5.0 of the application is very few, if developers can capture this opportunity, get better feedback from these users, or better proof of opportunity, is extremely valuable.
After the release of Android 5.0, I think there are several places where developers can do better, such as building a better-looking app, or solving the biggest performance problem in the app-the problem of power consumption, and so on. Android 5.0 also offers more possibilities for developers to make different applications and to deploy services on more devices. Let me tell you what I think about the technical trends that Android 5.0 might bring.
The more beautiful application--material Design
One of the highlights of the Android 5.0 campaign is the "material design", a feature that, in the design language, is designed to pave the way for the entire material while still following a certain physical material requirement. This design allows the application to feel more lively, richer colors, a ubiquitous shadow, and a more realistic animation effect. For technology, Material Design solves two very large problems, one being "shadow", all of which are implemented by the default system – as long as the Z-axis height is configured, all shadows can be implemented by default on the system.
Another is "animation", it can be said that Android 5.0 to apply the animation to all corners, in fact, in this aspect of Android has done a considerable amount of technical work, so that the effect is not a simple map, the implementation of the effect is a bit like the game inside the projection, that is, the real projection effect.
To achieve these effects, Android has tried different scenarios, the final use of the solution is when the z-axis is relatively short, using a "surface light", equivalent to a side of the light hit down, if the z axis is relatively high, it may be added a " Point light source, as much as possible to make the entire projection become real, of course, it has no way to support in the graphics of the more complex "ray tracking"-continuous reflection, because there is a test result is as long as the "ray tracking" 10 seconds will cause the phone to become hot, to the current phone performance has not been able to support the perfect.
There is a development behind this technology, about 2001, when Android began to do hardware acceleration technology, its calculations are also hardware-accelerated, will be on the GPU differential calculation, to achieve shadow effects, animation is the same. Now Android 5.0 will animate the ubiquitous, such as to a page to make a shadow, the rise of the Shadow animation, the interface of the switch has animation, every click, every drag, every scroll has animation.
Now the most typical animation is "water ripple", now Android 5.0 dot anything on the animated effect of a wave. Of course, developers can also specify a variety of animations, such as some path-based animation and interface switching animation, the implementation of the entire animation technology is dependent on Android two years ago, a background of the independent rendering thread, it can be implemented asynchronously rendering these animations.
For older versions, if you want to achieve a similar shadow effect or animation effect, so that the entire interface becomes dynamic, it is particularly difficult to do by their own ability. Android 5.0 provides all of these development support, as long as the Android 5.0 SDK, with some support packages, can be equipped with its style, color palette, as well as a subset of controls, configure some animations, you can quickly build a special "material design"-style interface. Now really support "material design" application is relatively small, if the way to build their own products, in fact, can give those biased Geek users a particularly good feeling.
More power-saving applications--project Volta
One of the most common problems that you might have involved in Android development is "Why does your app consume so much power?" "In fact, the entire power consumption model is very complex in the Android model. Volta This project is to solve the power consumption problem in Android 5.0. The solution is very special-it gives developers the ability to run faster on the system if the developer can take advantage of these capabilities. Android provides the ability to be a new background task system, very much like an iOS system, you can configure a set of trigger conditions, such as network changes, how much power consumption, the device is not into hibernation, these things can trigger a background task, the execution of this background task is also limited, If it is not completed within the time limit, the system cancels it, which is particularly similar to the entire IOS mechanism. It may replace something like a resident background, a timed task, or a more complex strategy to keep things running in the background, to achieve more power-saving demands.
More importantly, Project Volta provides a set of debugging tools, as it was previously possible to debug memory on Android, debug the interface, etc., but it's hard to know where the power consumption is, and this debugging tool, together with a visualizer, can show you how many components and parts of your interface are draining. For example, in which time period the power consumption is the most, then what is the application is running, what equipment is a lot of power consumption. With this analysis, you can better understand why applications consume power and help developers solve problems.
System Services Screen Capturing
Every time a new version of Android upgrade is accompanied by the fact that only the system has the ability to open to developers, developers can use these capabilities to build different applications. For example, some of the pea pods have tried, we want to do some game screenshots, screen or some of the analysis of OCR, the purpose is to analyze the image of some things. This is not supported in older versions of Android, except for the ability of Root to use it, but the new system service already supports screenshots and screens. That way, if you play your imagination and do some video games or other applications, this provides a new opportunity.
APP Usages
The use of the application information is the same, we would like to know which device users on the phone most like to use which application, when to use, this information is not, now Android 5.0 provides such an interface, developers can not only know the user in each application time, You can even know when to use the time, the whole switch event can be found, the information is only Android itself know, in this version of the information is open to developers, so as to better develop the imagination of developers.
Recent screen
The new recent screen replaces the original recent Tasks, which is characterized by a list of recently used applications, which is now the equivalent of a recently used list of pages. For pea pods, we want users to not just see when they are using pea pods, but to see users browsing through three of applications in pea pods, and can go back to those three apps at any time, like this. In fact, this can provide developers with a better user portal, allowing users to return to your application more convenient, or more powerful.
More Device Support
Android 5.0 has the support on more devices, not only on the phone, now with Android Wear, Android TV, Android Auto, these three now have the SDK, the overall development status is better.
Android Wear has a lot of games and apps on App,android TV, and Android Auto has released its first version of the SDK. For example, in Android 5.0 enhanced the notification bar, users see the phone is a regular notification bar, but the same notification bar to watch, such as open Android Wear, found that can flip, left and right to flip the mail, on such a device can get a better experience, the same it provides The TV Input Framework (TIF) framework.
For streaming media, for example, the content can be deployed on Android TV very quickly, and developers can make an Android TV App that allows users to use the content on their Android TV.
Similarly, through the new Mediaplay Session interface, you can easily put the user's mobile phone streaming media on the car, you can realize the auto-play in a car, control the mobile phone content in the car system, these new interfaces are actually provide a lot of new opportunities. There are fewer apps like this now, like the Android Wear app is probably doing the most to sell all kinds of dials, in fact there are a lot of possibilities, of course, it is a particularly new field, there is a certain unknown, if you look at this opportunity now, There are a lot of new product opportunities that may be offered to you.
That's what I feel at the moment Android 5.0 is a point of concern for mobile development, in general, if a new product needs to be made, developers need to see some new technical possibilities and see some new trends in technology, hoping that this sharing will be helpful to those who are working on their development.
New trends in Android 5.0 technology