Android Broadcast EN


Гео и язык канала: не указан, Английский
Категория: Технологии


The latest Android Dev news with a short review. Author - @krlrozov

Связанные каналы

Гео и язык канала
не указан, Английский
Категория
Технологии
Статистика
Фильтр публикаций




#ChromeOS

ChromeOS.dev — A blueprint to build world-class apps and games for Chrome OS

Chromebook sales are growing several times faster than other laptops - this is the reason why Google offers us to actively support this platform on Android. The platform also more actively simplifies the development of apps: support for an emulator, Linux terminal, etc.


​​#Gradle

Introducing Configuration Caching

The upcoming Gradle 6.6 release introduces a new experimental feature called Configuration Caching, which significantly speeds up the configuration phase of a Gradle project.

For the new feature to work, plugins need to support it (full list of requirements).

Configuration caching support will appear in Android Gradle Plugin 4.2 and is expected in Kotlin 1.4.20. Information on other popular Gradle plugins can be found here






#Decompilation #Reverse

Reverse engineering an Android Application

Reverse engineering is a whole area in the IT field, which has not bypassed mobile development either. Among the vacancies of mobile developers, offers for the position of reverse engineer periodically come up. Understanding how decompilation works helps you better understand the structure of your app, dive deep into the depths of Android and, knowing about the decompilation process, you will look at the security of your app from a different angle.

In the article, the author gives the basics of reverse engineering, shows the process itself by example, gaining access to the hidden API, and tells what utilities he uses to get to the necessary data in the decompiled app.


#Jetpack

Обновление Android Jetpack 5.08.2020

Updates are few and are mostly related to Jetpack Compose Dev. 

AppCompat 1.2.0 Stable:
👉 Fixed support for Configuration override use cases, including custom locales and font scales. See here for an example of how to correctly implement overrides using appcompat:1.2.0.
👉 Deprecated AppCompatDelegate.attachBaseContext(). If you are calling or overriding this method, use AppCompatDelegate.attachBaseContext2() instead🤯

And small updates in Webkit 1.3.0-rc02 and Browser 1.3.0-alpha05




#UI #Gradient

A few experiments with Android drawable gradients

How well do you know the gradient tool? If you only used it to create classic horizontal gradients, then from this article you can learn a lot of new information:
👉 How to create a gradient from multiple colors
👉 How to change the shape of a gradient
👉 How to create complex combinations of multiple gradients

In the article, you will find many images, code examples and explanations from the author, and you can expand your horizons of creating extraordinary graphical interface elements.


​​#GooglePlay

Leverage the In-App Review API for your Google Play reviews

Google released the Google Play In-App Review API, which will allow users of your app to leave reviews (public and private) and ratings right from the app.

Google Play limits how often feedback dialog can be shown and imposes requirements on how to show this dialog in your app.

The new APIs are part of the Play Core Library 1.8. Devices with Android 5.0+ and Google Play installed are supported. Can be used in Kotlin/Javanative code and Unity






#GooglePlay #AppBundle

Recent Android App Bundle improvements and timeline for new apps on Google Play

Android App Bundle has improved the retention of many apps and reduced the size. Coming soon:
👉 A new system for removing unused resources, supporting dynamic feature modules (Android Studio 4.2)
👉 Modules that are used only during installation are removed by default. To prevent this from happening, you need to enable a special flag
👉 Feature-to-feature dependency
👉 Play Asset Delivery - packaging assets in one artifact, which replaces OOB files.
👉 From the second half of 2021, App Bundle becomes mandatory for new apps


#Material #Design

Material Components for Android 1.2.0 is now available

A new version of Material Components for Android released. 
What's new:
👉 Material Motion - implementation of standard animations from Material's motion system, based on androidx.transition
👉 Slider and RangeSlider Widgets
👉 ShapeableImageView - extension of AppCompatImageView which understands shape theming
👉 The MaterialColors class became public and gave access to many utilities for working with colors
👉 Support materialThemeOverlay attribute in all components, which allows the use of theme overlay. Unlike android:theme, it can be used in default styles.
👉 MaterialButton no longer ignores android:background
👉 Bug fixes
👉 Improved accessibility


#Gradle

How to use Composite builds as a replacement of buildSrc in Gradle

Gradle has the ability to add its own logic to buildSrc, the disadvantage of which is that with any slightest change, it leads to a complete reset of the build cache.

Composite Builds seems to be an alternative to buildSrc. The article considers:
👉 difference between these 2 approaches
👉 how to migrate from buildSrc to Composite Builds
👉 problems you can face and how to solve them


#AndroidStudio

What’s New in Android Studio System Trace

The article talks about updates to System Trace, a utility in Android Studio for tracking a record of device activity: CPU, GPU, system processes, etc.
👉 Sections in the Profiler Window
👉 Improved navigation
👉 Data improvement in Analysis Panel
👉 Bugfixes


#Android11 #Security

Exploring Android 11: Data Access Auditing
One of the new features in Android 11 is the ability to track which code is accessing user data. To do this, use the new Data Access Auditing API. The API tracks calls from your code and third-party libraries connected to the project.

The article explains how to use the new API in your app.


#ConstraintLayout

Design Tools Suite UX enhancements in Android Studio 4.1

Overview of changes in the visual editor in the next major version - Android Studio 4.1.

UI Editor:
👉 Support for Constraint Layout 2.0: VirtualLayouts
👉 Ability to enable/disable the display of tools (for example tools: text, tools: visibility) effects in the Preview
👉 Managing visibility in the component tree
👉 Shortcut Keyboard for Design Tool
👉 Panel for transformations of View properties: X, Y, Z, rotation, scale, translation

Resource manager:
👉 Visualization of the image resource in XML attribute now allows you to quickly change it with preview and search
👉 Material icons are not part of Android Studio and will be updated independently

Navigation editor:
👉 Destinations Tree visualization (similar to Component Tree in UI Designer)
👉 Dialog for creating deeplink with autocomplete support

Motion editor
👉 Motion keyframe path graph
👉 Editor "Transition curve" that allows you to visually edit the animation interpolator


#MotionEditor

Introducing the Motion Editor

The Motion Editor is a new tool in Android Studio 4.0 designed to simplify your animation work by the new MotionLayout and a visual editor. This article covers all the basic editing tools.



Показано 20 последних публикаций.

484

подписчиков
Статистика канала