Code Monkey home page Code Monkey logo

Comments (6)

HBiSoft avatar HBiSoft commented on July 16, 2024 2

@Mouadabdelghafouraitali
I've done some tests and I've also asked a question on StackOverflow.

What I have noticed from my tests is that I do not get the crash when specifying intent.setType("image/*"); instead of intent.setType("video/*");. I guess that Google Photos automatically queries the latitude column when selecting a video file, which is not allowed in Android 10. Google Photos is intended for selecting photos (thus the name "Photos"), but it should still not give this error.

The issue is not with the library, but instead with Google Photos. I will open an issue and try to get feedback from Google.

I will be closing this issue since there is nothing I can do from my end.
I will update you when/if I get a response from Google.


EDIT:

I have opened an issue on issuetracker, I will update the issue when I get feedback.

from pickit.

HBiSoft avatar HBiSoft commented on July 16, 2024

Try enabling legacy external storage in your manifest:

<manifest ... >
    <application 
        android:requestLegacyExternalStorage="true"  >

    </application>
</manifest>

from pickit.

Mouadabdelghafouraitali avatar Mouadabdelghafouraitali commented on July 16, 2024

@HBiSoft I've already enabled it, the issue happens with Google Photos Only , if I choose another Gallery app, it works

from pickit.

HBiSoft avatar HBiSoft commented on July 16, 2024

@Mouadabdelghafouraitali
Does it happen with the demo application as well?

from pickit.

HBiSoft avatar HBiSoft commented on July 16, 2024

Ok, I was able to reproduce this, I will see if I can find a solution. Why would you want to select a video from Google Photos?

from pickit.

hantash07 avatar hantash07 commented on July 16, 2024

I got the solution. Check my answer here:

https://stackoverflow.com/questions/61586124/illegalargumentexception-invalid-column-latitude/65776020#65776020

from pickit.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.