Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem when trying to deal with Audios #2

Open
matheuscaldasrj opened this issue Sep 25, 2019 · 0 comments
Open

Problem when trying to deal with Audios #2

matheuscaldasrj opened this issue Sep 25, 2019 · 0 comments

Comments

@matheuscaldasrj
Copy link

I was having some problems trying to get absolute_path with an whatsapp Audio.

Looking here I found that even if the file is an Audio, it is always being saved as .png like the following

val targetFile = File(context.cacheDir, "IMG_${Date().time}.png")

  1. Is there any reason to it?

  2. I understood that a new File is being created every time I try to get a absolute path, is that right?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant