Become a member
Sign in
Get started
Dmitry Soldatov
Dmitry Soldatov

Dmitry Soldatov

Follow

39 Following
3 Followers
·
  • Profile
  • Claps
  • Highlights

Highlighted by Dmitry Soldatov

See more

From How to properly handle audio interruptions by Joanna Smith

For what it’s worth, as of Android 6.0, LISTEN_CALL_STATE doesn’t require the READ_PHONE_STATE permission anymore, which is good. But several of the other telephony options do, and you don’t want to risk poorly-wr…

From How to properly handle audio interruptions by Joanna Smith

While older versions of Android required developers to rely on a PhoneStateListener as a signal for pausing playback during phone calls, this all changed in Lollipop. On Lollipop+ devices, the state of the phone is properly integrated into the audio focus state and your app will receive AUDIOFOCUS_LOSS_TRANSIENT when the call starts and AUDIOFOCUS_GAIN when it ends. One less API to get right!

Claps from Dmitry Soldatov

See more

Restitching Plaid

Nick Butcher

Как начать медитировать (даже если не собирались)

Alex Memus

How to properly handle audio interruptions

Joanna Smith