Google I / O 2017: Android Developer Notes

    Valentin Telegin, head of Android development at Superjob, went to Google I / O and now shares the most interesting.

    Google I / O is Google ’s largest open (almost completely) event, which takes place every year and gathers more than 1000 developers from around the world. For several days, the company tells, shows, gives a try, or at least look from a distance at new products that it proposes to consider important for the industry.

    Android met me already in the rental car. I have previously used Android Auto, but only the application on the phone. This time I managed to test in a combat situation on the roads of The Bay Area. The main user case came down to using the navigator, voicing incoming messages from the telegram and making phone calls. There are no complaints about the functionality, but as long as the phone is connected with a cord to the machine, it will not work, and this is very inconvenient.



    In any case, this is yesterday. At the conference, they showed a preview of Android In-Car.Last year I saw a prototype based on Aston Martin, and this year it’s a real model. The main difference from the existing Android Auto is that it is an integrated solution that does not require a phone connection. Showed solutions based on the Volvo V90 and Audi. The multimedia and on-board computer interface is fully implemented by the automaker and is identical to the usual brand design. Built-in Google Assistant functionality. The current version is based on Android N. Googleplay is not yet available.

    Now in order.

    Android O - a new operating system - will be available this summer. The decryption of the name of the new version of the android was not said. Although everyone already knows the answer:

    - What was the name of the new version of android?
    - How how? At random...


    The new version will work with the picture-in-picture mode, a new interface for notifications and auto-completion will appear. Artificial intelligence will give contextual clues when selecting text. For example, offer to open a map when selecting text with an address, etc.

    Google is focusing on security, but the OS is still vulnerable. The company promises to solve this problem. Also, the loading time of OS version O on the Pixel phone is halved. Developers from Google have implemented support for the Kotlin programming language , calling it the "first class" language for the Android OS, but until it becomes a replacement for the "first-class" Java language. Previously, it was already possible to write in Kotlin, as it runs on top of the JVM, but now integration will be added to the official development tool, a new version of Android Studio 3.0.

    The future of Kotlin is now beyond doubt, and the widespread dissemination of this language is a matter for the near future. Brush aside, saying that this is a hipster language, will not work.



    Keynote was dedicated entirely to services. First of all, they drowned for an assistant. He began to support more languages, but so far there is no Russian even in plans. You can now make calls from Google Home. Free from your phone number. So far, only in the USA. The assistant has become “proactive” - now he understands the context of your daily life. For example, if you ask about traffic jams tomorrow morning, then he knows that tomorrow is a working day and you are going to work in the morning, and he will tell you about probable traffic jams along your route and about travel time. Yes, and the main news for the android conference: the assistant will now work on the iPhone.

    Google homeLearned how to display visual prompts on different devices: phone, TV. For example, in response to a question about the weather, etc. visualize the answers.

    The assistant can be used for weather and news services, ordering a taxi or delivering groceries, learning a language or managing a smart home.

    Introduced Google Lens technology . Recognition of images from a photograph and search for information on a recognized object. A very promising thing, but not new. She is supported by an assistant. Google Photos is happy again. Introduced support for smart sharing of photos (Suggested sharing). For example, share with your friend photos from the last party where he is in the photo. As well as the sharing function of the entire library with family members. That is, for example, photos will be rummaged where there are faces of your children or all family members, and all other photos will remain unshared. And the local function for the United States to order a printed book with photos, which is compiled according to a special algorithm that selects the most beautiful photos. If anything, the list can be adjusted.



    A practical example of Google showed exactly on the example of job search. The search will aggregate vacancies processed by special algorithms, thanks to which only relevant options will be displayed. But only for America.

    Instant appbecame available to everyone. It will be possible to touch and possibly introduce. This is a separate functionality in the form of a module, but is part of the main application. This year, special attention was given to Machine Learning . For example, using the Magenta project, you can implement a prototype Prisma application literally on your knee and very quickly. The motto of the conference was the slogan "Mobile First to AI first", and this, of course, will affect the future of Android.

    Following the recent trend, Google developers have proposed their approach to implementing architecture in the form of Android Architecture Components . A new collection of libraries to help you create reliable, testable, and supported applications. One of these components serves to solve the life cycle problem.LiveData . It stores the model, for example, between cycles of changing the screen orientation. Now this functionality is implemented through separate parent activities. According to the developers, a reactive approach is used inside, but easier than implementing such functionality through RxJava.



    In Google play now a new algorithm for obtaining diff between apk, which gives a significant reduction in the amount of downloaded apk. A multi-apk automatic generation mechanism is also now available on the store side, which also reduces the size of the application. The reduction in the size of the diff was achieved, among other things, due to the fact that it is considered over unpacked data.

    A lightweight version of the Android Go operating system was introducedfor low power smartphones. To work on such devices, Google is engaged in optimizing performance and developing additional data management tools in conjunction with a special package of simplified applications. Popular YouTube Go, Chrome, and Gboard apps will get Android Go support. A separate category of applications for Android Go will also appear in the Google Play store. Such applications will consume less memory and consume more internet. The release is scheduled for 2018.

    Thanks to Instant AppsGoogle makes embedded applications available to the user: even those that you have not yet installed on your phone, load as fast as a web page. Google announced this project at last year’s conference. This time, the company announced that Instant Apps are now publicly available and all developers can develop them. Users will be able to access them directly from the Google search results page. With the launch of Android Studio 3.0, the company now has tools to help developers break down their applications into modules.

    The only place where there were constant queues is codelabs. Those who wish could complete a number of tasks and get a chance to win a ticket to the next conference.

    For charging phones and laptops, special zones were allocated that were never empty. The more discerning ones carried powerbanks and enjoyed the freedom of movement. On the territory of the conference it was possible to relax, play bocs or billiards, sit in the shade or have a snack.



    One of the actions was to get an android figure. For this, it was required to check in using Android Pay on 4 sites. At the check-in, you could choose a donut that you liked. Some cheated and checked in several times on the same platform, and someone walked in a circle and received several androids. The organizers fought with cheaters, putting a mark on the badge, but this could not stop our person :-)

    This year, the organizers coped with the flow of visitors and the implemented registration system for the sections worked generally well. Yes, and increased at times the audience accommodated everyone.

    Not without incident. There was a local fire in one of the utility rooms. The brave firemen came, all the onlookers were pushed aside by the security of the conference. Someone was "lucky" to injure his hand, and he was taken away with a lock to an ambulance.

    Also popular now: