[MUSIC PLAYING]
SPEAKER: Hi, and welcome to Now in Android, episode number 21.
So 11 weeks of Android are still happening,
and we had a couple of them happen since the last episode.
First of all, machine learning, week two.
First of all, we kicked it off with the winners of the Android
Developer Challenge.
So walk through what those developers
had been able to do for their ML-focused applications.
And then we announced things like ML kit's support
for custom classifier and a new early access
program for some of the new features
that ML kit is offering.
TensorFlow Hub for creating mobile optimized models.
Also, Android Studio now has ML binding
if you want to use that, makes that a lot easier.
There were several codelabs that were published, videos
and articles-- so much machine learning to be had.
Check out the blog that they posted
at the end of the week that summarizes all this stuff,
and also check out the video playlist
that we posted on the Android Developer Channel on YouTube.
Privacy and security was the next week up, week three.
That talked about some of the permission changes
that we've had, like the one-time permissions,
background location, Scope Storage,
and the auto reset permissions.
There were videos and articles and content on that.
Also talked about some of the security stuff
that we've been doing to harden the platform and some
of the APIs that we're offering, like the biometric APIs,
for allowing developers to harden their applications as
well.
And then week four is happening right now.
This is the compatibility week, where
we were talking about how to stay
compatible with the changes that we make in the platform.
We will publish the links to all the stuff
for each week at the end of each week, or at least
that's the intention.
But if you want to follow it as we're doing it,
the best way to do that is to follow the @AndroidDev
handle on Twitter, and all the content is posted and linked
on that Twitter feed as we go.
Next week up, we have languages, so stay tuned for that.
AMA.
So there's a Reddit AMA that we're doing in conjunction
with a few of the weeks for 11 weeks in Android,
and the first one of those is happening this week.
In fact, it's happening tomorrow.
So depending on when you watch this video,
listen to the podcast, read the article, maybe it's too late.
But you can still hop onto the AMA site
and see the conversation that we had.
Or if you're in time, you can add a question
and actually be a part of the conversation.
Android 11 meet-ups are happening all this summer.
There was a ton that happened in the last few weeks.
There was one that happened in China.
I know Fred Chung dialed into that.
And all kinds of other ones happening, so
make sure to go to the Android 11 meet-up site
and see if there's one happening in a neighborhood near you.
AndroidX, of course, every two weeks, tons of releases.
There were a few that came out this past week that
are worth checking out.
Custom view 1.1 released the new Openable interface.
This is now implemented by DrawerLayout as well
as SlidingPaneLayout, as well as Navigation, the latest release.
So some of the other releases I'll talk about
are kind of around that same change in custom view.
DrawerLayout 1.1 added that capability
to implement Openable, also handles gesture navigation
insets more robustly.
And that's that Openable interface, as I already said.
Emoji 1.1.0, this unbundled font now includes Emoji 12 and 12.1.
Navigation 2.3.0, again, it uses the Openable interface.
It also integrates the capability for dynamic feature
module navigation.
So now you can navigate to something that may not even
be downloaded and installed yet, and it will handle that
automatically for you.
It also has capabilities like returning
to the result of a previous destination in the back stack,
new testing capabilities, and support
for more deplane capabilities.
SlidingPaneLayout, as I said, adds the Openable interface.
And SwipeRefreshLayout 1.1.0 now implements NestedScrollingChild
3 and NestedScrollingParent 3.
Tons of articles and video and a new codelab.
So a bunch of the articles were around the privacy and security
week, such as the security team published
something called system hardening in Android 11
that talks about a lot of the stuff
that we've been doing, especially
around memory allocation and the robustness of that.
So for example, it talks about the GWP-ASan feature
that I think I talked about in an earlier episode of Now
in Android and other capabilities in the platform,
as well as APIs that you want to tune into.
Storage FAQ, so one of the big changes that we've
had both in Android 11 as well as Android 10
is in Scope Storage behavior changes and permission changes
to make sure that we're doing a better
job of protecting user data.
Lots of questions this raises for developers,
so we try to answer that in this helpful FAQ.
"Package visibility in Android 11"
was an article published by Yacine Rezgui
about limiting the access that applications
have to information about other applications on the device.
So previously, any application could find out
the other applications that were installed,
but now you need to take steps in your manifest to actually
get that permission to see what information
about other applications you can actually see.
Again, it's all about protecting user data
and also making it more transparent to the user
what data you are actually requesting and getting
on the device.
Sara N-Marandi published an article called "New Android 11
Tools to Make Apps More Private and Stable."
So this article is all about helping you
and your application figure out what the application is doing
and why, specifically in the area
of data access auditing, which is a set of APIs to allow you
to find out if your application is querying for data that
requires a user permission, why is it doing that,
and where is that coming from, so you can get the call stack
when that happens.
It also talks about process exit reasons, the API that
allows you to find out why your application exited or crashed
or ANR'd or had problems on a user device.
This is a really good way for tracking down
things that happen in the real world, which is otherwise
kind of hard to get.
We have a new article that was published by Karen
Chang on Google Play Billing.
So I'm sure that we all write our applications just
because we love writing code, but sometimes it's
nice to get paid for that.
And one of the common ways to do that
is through in-app purchases.
Google Play Billing is the way to do that through the services
that we provide.
And this article is the first in a series
to help explain how to do that, how to add items to your Google
Play Console, as well as how to query
those items using the Play Billing Library that we offer.
There is also a Q&A that happens.
This is a video recording of an online event that
happens for developers in India, including Dan Galpin and Fred
Chung on the DevRel team, where they hung out for a few minutes
and answered random questions, some about Android 11,
some about just Android development in general.
And then, finally, there's a codelab
on biometrics that was published by Isai Damier that
shows how to use the new AndroidX
biometric library for authenticating log-in using
biometrics.
And then, finally, there was one podcast episode
that we published in conjunction with the privacy and security
week.
We talked to-- so [INAUDIBLE] and Roman
and I talked to Sara Marandi and Phillip Moltmann on the Android
framework team about some of the permission changes
that we had in Android 11, why we implemented those,
what the behavior changes are all about, and also, more
interestingly, how it all works under the hood.
So as usual, all of the links to all
of the stuff that I talked about are in the associated article,
for Now in Android number 21.
And if you like this video, go ahead and like and share
and then subscribe to the Android Developer Channel
on YouTube.
Thanks.
[MUSIC PLAYING]