Android - Image Picker, Wrong Image

后端 未结 5 1121
情书的邮戳
情书的邮戳 2021-02-19 05:12

I am starting a request for an image pick:

Intent intent = new Intent();
intent.setType( \"image/*\" );
intent.setAction( Intent.ACTION_GET_CONTENT );
startActiv         


        
5条回答
  •  我在风中等你
    2021-02-19 06:00

    Sometimes the thumbnails in the gallery app can be outdated and show thumbnails for a different image. This can happen when the image ids are reused, for example when an image gets deleted and a new one is added using the same id.

    Manage Apps > Gallery > Clear Data can fix this problem then.

提交回复
热议问题