Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Android R: onActivityResult data is null from Camera

See original GitHub issue

When taking a photo from Camera the data is always null and result code is always RESULT_CANCELED despite successfully taking a picture.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

AnujK2901commented, Oct 12, 2020

@joseph-acc Can you please suggest the library you are using. I am tired of this null result in Android 11.

AnujK2901commented, Nov 28, 2020


I start a new project to handover this library

The ideia is that we keep improving because this project don’t have updates since 2018 Hope I can count with your help.

Open to contribute, next pieces of work will be Android 11 permissions, refactor into Kotlin and ActivityContract

I would like to contribute. 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Camera activity returning null android - Stack Overflow
EXTRA_OUTPUT with the camera intent then camera activity will write the captured image ... onActivityResult(requestCode, resultCode, data); if (requestCode ...
Read more >
Accessing the Camera and Stored Media - CodePath Cliffnotes
The easy way - launch the Gallery with an intent, and get the media URI in onActivityResult. The hard way - fetch thumbnail...
Read more >
Android – Camera activity returning null android - iTecNote
The problem is camera activity always returning null. In my onActivityResult(int requestCode, int resultCode, Intent data) method I am getting data as null...
Read more >
Data after the Camera Capture always return Null - MSDN
i am opening an Intent for Camera and I take a photo and when i save i want to ... public override void...
Read more >
android camera: onActivityResult() intent is null
android,androidhub4you,android developer, crash, samsung, activity, mobile, java, eclipse, data.getData()==null, null pointer exception.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found