CodeX
Published in

CodeX

How To Implement The Activity Result API TakePicture Contract With Uri Return Type

Implement your own ActivityResultContract

Photo by Pawel Czerwinski on Unsplash

In a recent article of mine, I explained how to use the Activity Result API to select images from the gallery and also how to take pictures without any further hustle.

--

--

--

Everything connected with Tech & Code. Follow to join our 900K+ monthly readers

Recommended from Medium

👨🏼‍💻 What’s new in Android 12

Android 12

Dagger 2 on Android: The Official Guidelines You Should Be Following

Content Provider in Android for beginners

Super Mario 64 on Native Android without Emulator

2D Mobile Game: Tilemap Colliders

Migrating My App To Android 12

ListView — Android Material UI — Beginner Guide

ColorOS Update of Oppo F17, A73 shall be primarily based on Android 12

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Yanneck Reiß

Yanneck Reiß

Passionated Mobile & Backend Developer

More from Medium

TDD — Part III, Hilt and Robolectric (Android)

Configuring Scheduled Notifications in Android

Kotlin for Android Development(Part-2)

How to create material date and time pickers in android.