Android: decodeFile always returns null for file in internal storage

后端 未结 7 1583
长情又很酷
长情又很酷 2020-12-09 16:59

I have a file saved locally into the application\'s private storage. I have verified it exists, however whenever I call BitmapFactory.decodeFile it always retur

7条回答
  •  南笙
    南笙 (楼主)
    2020-12-09 17:12

    Could you try fileList()? It

    returns an array of strings naming the private files associated with this Context's application package.

提交回复
热议问题