- Android 11
- The OS that gets to what’s important.
- Android 11 Highlights
- Manage your conversations.
- Get all your messages in one place.
- Bubbles
- Chat while multitasking.
- Capture and share content.
- Built-in screen recording. Finally.
- Select and share just got easier.
- Helpful tools that predict what you want.
- Smart reply
- App suggestions
- Smart folders
- Control your phone with your voice.
- Device Controls
- Control your connected devices from one place.
- Media Controls
- Bring your entertainment with you.
- Connect Android to your car. Skip the cable.
- You control what apps can access.
- One‑time permissions
- Permissions auto‑reset
- Security updates, right from Google Play.
- On Android 11, you get even more security.
- Phones ready for Android 11.
- Samsung
- Samsung
- OnePlus
- And there’s so much more.
- Accessibility
- Camera
- Digital Wellbeing
- Enterprise
- Media
- Messaging & Sharing
- Security & Privacy
- Usability Enhancements
- Now in Android #13
- Android 11 developer preview, Android Studio 3.6 stable and 4.0 beta, background location guide, easier testing for dynamic feature modules, material motion guide and library, articles, videos, and AndroidX releases
- NiA13 in Video and Podcast Form
- Video
- Podcast
- Now in Android: 13 — Android 11 preview, Android Studio 3.6 stable & 4.0 beta, material motion…
- Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development. In this…
- Android 11: Developer Preview 1
- Android Studio
- 3.6: Stable
- 4.0: Beta
- 4.1: Canary
- Background Location Guide
- Dynamic Feature Module Testing
- Local development and testing with FakeSplitInstallManager
- New releases of Bundletool and the Play Core library made local iteration faster and testing possible with on-demand…
- Material Motion
- Articles
Android 11
The OS that gets to what’s important.
Go straight to the stuff that matters most. Because Android 11 is optimized for how you use your phone. Giving you powerful device controls. And easier ways to manage conversations, privacy settings and so much more.
Android 11 Highlights
Manage your conversations.
Get all your messages in one place.
See, respond to and control your conversations across multiple messaging apps. All in the same spot. Then select people you always chat with. These priority conversations show up on your lock screen. So you never miss anything important.
Bubbles
Chat while multitasking.
With Android 11, you can pin conversations so they always appear on top of other apps and screens. Bubbles keep the conversation going—while you stay focused on whatever else you’re doing. Access the chat anytime or anywhere. Then carry on doing you.
Capture and share content.
Built-in screen recording. Finally.
Screen recording lets you capture what’s happening on your phone. And it’s built right into Android 11, so you don’t need an extra app. Record with sound from your mic, your device or both.
Select and share just got easier.
Select text from your apps. Grab images too. On Pixel devices 1 , you can easily copy, save and share info between many apps. Like your browser, your delivery app or from the news.
Helpful tools that predict what you want.
A conversation where a user responds to a message that says «hey I’m headed out now» with the words «sounds good!» selected from a toolbar of suggested responses.
Smart reply
Get suggested responses in conversations. Hi there, sounds good or 👋 when you need it. On Pixel devices 1 , replies are intelligently suggested based on what’s been said in the conversation—so the words you need and the perfect emoji are always at your fingertips. 2
App suggestions
Easily get to apps you need most. Pixel devices 1 make app suggestions that change based on your routine. So you can see what you need throughout the day, all on the bottom of your home screen. Making it easy to get to your morning workout app when you wake up. Or to access the TV app you use when it’s time to relax.
Smart folders
Smarter ways to organize your apps. Get intelligent suggestions for folder names on your Pixel device 1 . For a home screen that stays organized. Names are based on theme—like work, photo, fitness and more.
Control your phone with your voice.
With Android 11, Voice Access is faster and easier to use. Intuitive labels on apps help you control and navigate your phone, all by speaking out loud. Even use Voice Access offline, for more support whenever you need it.
Device Controls
Control your connected devices from one place.
Set the temperature to chill, then dim your lights. All from a single spot on your phone. 3 Just long press the power button to see and manage your connected devices. Making life at home that much easier.
Media Controls
Bring your entertainment with you.
Switch from your headphones to your speaker without missing a beat. Tap to hear your tunes or watch video on your TV. With Android 11, you can quickly change the device that your media plays on.
Showing an Android device within a car. When the Android device powers on, an Android app called SpotHero is automatically displayed on the car’s dashboard.
Connect Android to your car. Skip the cable.
Hit the road without plugging in. Android Auto now works wirelessly with devices running Android 11—so you can bring the best of your phone on every drive. 4
You control what apps can access.
Take charge of your data with Android. You choose whether to give or not, permission to access sensitive data, to the apps that you download. So you stay better protected.
One‑time permissions
Give one-time permissions to apps that need your mic, camera or location. The next time the app needs access, it must ask for permission again.
Permissions auto‑reset
If you haven’t used an app in a while, you may not want it to keep accessing your data. So Android will reset permissions for your unused apps. You can always turn permissions back on.
Security updates, right from Google Play.
On Android 11, you get even more security.
With Android 11, you get even more security and privacy fixes sent to your phone from Google Play. The same way all your other apps update. So you get peace of mind. And your device stays armed with the most recent defense.
Phones ready for Android 11.
Experience what Android 11 has to offer on devices made for the latest and greatest.
Samsung
Samsung
OnePlus
And there’s so much more.
From security enhancements to easier ways to get work done, Android 11 has something for everyone.
Accessibility
Voice AccessIntuitive labels on apps help you control and navigate your phone, all by speaking out loud. Even use Voice Access offline, for more support whenever you need it.
Talkback braille keyboardType braille using just your Android device. No additional hardware needed.
LookoutLookout now has two new modes. Scan Document and Food Label help people with low vision or blindness get things done faster and more easily. Opening Lookout also turns on your flashlight, helping users read in low light. And Lookout is now available on all 2GB+ devices running Android 6.0 or later.
Camera
3P performance optimizationsYour camera works even better on photo sharing platforms like Snapchat.
Mute during camera captureDevelopers can use new APIs for apps to mute vibration from ringtones, alarms or notifications.
Bokeh modesDevelopers can now request a bokeh picture via the Android camera2 APIs.
Camera support in EmulatorNow supports a fully functional camera HAL. Making it easier for developers to test apps using the latest Android camera2 APIs.
Digital Wellbeing
Bedtime ModeBedtime Mode quiets your phone when it’s time to go to sleep. Schedule it to run automatically or while your phone charges as you rest. Your screen switches to grayscale and your notifications go silent with Do Not Disturb.
ClockThe new bedtime feature in Clock helps you set a healthy sleep schedule. Track screen time at night and fall asleep to calming sounds. Then wake up to your favorite song. Or use the Sunrise Alarm that slowly brightens your screen to start the day.
Enterprise
Work profile enhancementsGet full privacy from IT on your work profile on company-owned devices. Plus new asset management features for IT to ensure security without visibility into personal usage.
Connected work and personal appsConnect work and personal apps to get a combined view of your information in places like your calendar or your reminders.
Schedule work profileEasily disconnect from work. With Android 11, you can now set a schedule to automatically turn your work profile on and off.
Work tab in more placesUse the work tab in more places to share and take actions across work and personal profiles. See work tabs when sharing, opening apps and in settings.
Location access notificationsGet a new notification if your IT admin has turned on location services on your managed device.
Media
Device controls Easily manage your connected devices all from one spot on your phone. 3
Media controlsWith Android 11, you can quickly change the device that your media plays on.
Android Auto Android Auto now works wirelessly 4 with devices running Android 11.
Context-aware Bluetooth airplane modeIf you have headphones or hearing aids connected to your phone, bluetooth will stay on if you enable Airplane mode.
Messaging & Sharing
ConversationsSee, respond to and control your conversations across multiple messaging apps. All in the same spot. Choose priority conversations that will show up on your lock screen.
BubblesPin conversations so they always appear on top of other apps and screens. So you can access the chat anytime or anywhere.
Smart reply On Pixel devices 1 , replies are intelligently suggested based on what’s been said in the conversation. 2
Keyboard autofillGBoard gives you suggestions to help fill in forms with the info you use most. Like passwords or your home address.
Overview actionsOn Pixel devices 1 , you can easily copy, save and share info between many apps.
Nearby ShareQuickly and securely send files, videos, map locations and more to devices nearby. Works with Android devices, Chromebooks or devices running Chrome browser.
Security & Privacy
One-time permissionsGive one-time permissions to apps that need your mic, camera or location. The next time the app needs access, it must ask for permission again.
Permissions auto-resetIf you haven’t used an app in a while, you may not want it to keep accessing your data. So Android will reset permissions for your unused apps. You can always turn permissions back on.
Google Play system updatesWith Android 11, you get even more security and privacy fixes sent to your phone, right from Google Play. So your device stays armed with the most recent defense.
Scoped storageAndroid limits broad access to shared storage for all apps running Android 11, so your info stays better protected.
Resume on rebootPick up right where you started. Apps run immediately after an update is installed. So you don’t miss any notifications after your phone has rebooted.
Blocked permissionsIf a user denies an app permission multiple times, the app will be blocked from requesting the permission again.
Soft restartGet Google Play system updates when your phone is idle, with no full reboot required.
Background locationGet more control over location sharing with apps that are not in use. So apps don’t get access to more data than they need.
Usability Enhancements
Screen recorderScreen recording is now built in, so you don’t need an extra app. Record with sound from your mic, your device or both.
App suggestions Pixel devices 1 now make app suggestions based on your daily routines. These apps show up on the bottom row of your home screen. So you can get the apps you need when you need them.
Smart folders See intelligent suggestions for folder names on your Pixel device 1 . For a home screen that stays organized.
Call screeningNew APIs to help screening apps better identify spam calls.
Schedule Dark modeSchedule when you want your phone to turn to Dark mode. And when you want it to go back to a standard display.
Picture-in-picturePicture-in-picture windows can be adjusted to fit the size you need.
5G detection APIWith new APIs, apps know if you’re on a 5G connection. So you get better performance.
Hinge angle sensor supportSo apps can better support all kinds of foldable configurations.
Ethernet tetheringShare a tethered internet connection with a USB ethernet dongle.
Gesture sensitivityWhen using gesture nav, you can now fine-tune both Back gestures on the left and right edge independently of one another.
Notification historyYour notification history is now available in settings.
SharesheetPin the apps you use most in the Sharesheet.
Источник
Now in Android #13
Android 11 developer preview, Android Studio 3.6 stable and 4.0 beta, background location guide, easier testing for dynamic feature modules, material motion guide and library, articles, videos, and AndroidX releases
Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development.
Hotels and 13th floors. But maybe you like to avoid the number 13 in your life (the 13th floor, the last donut in a baker’s dozen, counting by ones after you reach 12 and before you reach 14). If so, just imagine that this is called #14 instead. And then next time, when I post #14, tell yourself that since it’s about software, it must be an off-by-one error.
In the meantime, there were many things that hit in the last couple of weeks, so let’s get going.
NiA13 in Video and Podcast Form
This Now in Android is also offered in video and podcast form. It’s the same content, but with less reading required. The article version (keep reading!) is still the place to come for links to all of the content that’s covered.
Video
Podcast
Click on the link below, or just subscribe to the podcast in your favorite client app.
Now in Android: 13 — Android 11 preview, Android Studio 3.6 stable & 4.0 beta, material motion…
Welcome to Now in Android, your ongoing guide to what’s new and notable in the world of Android development. In this…
Android 11: Developer Preview 1
The big Android developer news for the past couple of weeks is that the first developer preview for Android 11 is now available. You can not only install the system image and play with it on one of your developer devices (Pixel 2, 3, or 4), you can (and should!) also test out your app to see how it looks on the new release (using one of those test devices or the emulator). While you’re there, check out some of the new features and APIs that you might want to use.
Here’s a small sample of the features you’ll see in this first preview:
- Support for 5G, with new APIs to check unmetered status and bandwidth capabilities
- Bubbles, a system-wide UI for seeing ongoing conversations. Bubbles were introduced in Android 10, but hidden behind Developer Options; now they are enabled in the platform and the API is available for use.
- One-time permission: The tri-state location permission introduced in Android 10 (allowing access to location while apps were in the foreground only) was popular with users, so we are expanding that concept to make the permission available only while the app is in the foreground during this session. Also, we’re adding the microphone and camera to the list of permissions with this additional layer of user control.
- Scoped-storage protections which began in Android 10 are being expanded. Some new capabilities to make access to scoped storage easier include batched edits and access to raw files and paths.
- BiometricPrompt APIs which handle a wider variety of device capabilities have been introduced in Android 11, and are also available in the biometric AndroidX library for compatibility.
- Data blobs (which stands for “binary large object”, but I prefer the term “blob”) may now be shared between apps through the BlobStoreManager API. This could be useful for a large download, like an ML model, which an app wants to make available to other, related apps that also need that data.
For more info on Android 11, check out the article on the Android Developers Blog, and head over to the preview site to read about the specific changes and to download the system image.
Android Studio
Our IDE had a couple of important releases recently.
3.6: Stable
The 3.6 release of Android Studio recently went stable. I’ve talked about 3.6 in a previous edition of Now in Android, and maybe you’re already using it. But in case you were waiting for it to be complete before updating, that time is now.
Hop on over to the Studio download page to get your very own copy. Here are some of the things you’ll find in this version:
- Improved and easier leak detection
- Split-view for code and design resource file editing
- View binding (see Sean’s article about this, referenced below)
- Emulator improvements for working with location and multi-display situations.
4.0: Beta
I’ve also talked about 4.0 recently. But if you were waiting for it to get out of that alpha stage, now’s your chance. Some of the fun features you’ll find in 4.0 Beta include:
- MotionEditor, the visual editing tool for the new MotionLayout API that enables richer animations
- Live LayoutInspector
For more about the 4.0 design tool changes in particular, check out Nicolas Roard’s Twitter thread:
4.1: Canary
Just to round out the offerings, you can also live on the wild side and download the newest version of Android Studio, 4.1, which is now available in the canary channel.
The main reason I’m calling it out here is that the Jetpack Compose compiler has been removed from the 4.0 release. So if you want to play with the pre-alpha Compose UI toolkit APIs, you’ll need to use version 4.1.
Background Location Guide
Q: What are the three most important things about user privacy?
A: Location, location, location.
One of the larger areas of privacy changes in recent releases has been around location. It’s critical that applications accessing user location have permission to do so, and that that access is transparent to and controllable by the user. But this behavior can require effort from application developers to get it right.
To help, we’ve created a new guide to help you understand how you might be accessing location while in the background, and to give you tips on how to update your app to provide alternatives to such access.
Dynamic Feature Module Testing
Local development and testing with FakeSplitInstallManager
New releases of Bundletool and the Play Core library made local iteration faster and testing possible with on-demand…
Dynamic feature modules are a powerful way of improving download and install experiences for users, by moving elements of your app that aren’t required on first launch into optional modules that can be installed later.
But testing dynamic feature modules proved difficult, since it required installing the bundle on the Play Store.
Wojtek Kaliciński has been working to make this easier, through enhancements in the Play Core library, along with documentation and samples. Now, you can use version 1.6.5 of the library and test the functionality locally.
Material Motion
Animation is a powerful way to make application UIs easier to understand and to interact with. But… animation can be difficult to implement, especially for rich motion involving transitions between elements and activities.
The Material Design team recently posted a comprehensive guide for handling UI Transitions in your application. Even better: version 1.2.0-alpha05 of the Material Design Components library provides transitions implementing this guidance that are ready for use in your app.
Check out the excellent documentation and the article for more on how to integrate these new transitions into your app.
Articles
Nick Butcher added two new articles to his ongoing Android Styling series, both around theme attributes:
Источник