Yes ther are some awsers, but nothing working until now...
Oh i can't edit my first post, so here is new one
You will find her my first extension i hope you will enjoy it.
I developed it in complement of TaifunPlayer extension i use to get Tags info of music file.
jml.Mp3tags.aix (6.2 KB)
sorry but unfortunatly i didn't succed to return album art Image
Here an exemple of use (just give Pathfile of your song)
thank you for your contribution
Please follow the naming conventions, which is UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names.
example:
also you might want to use English method names...
btw. there is already the following Mp3 Metadata extensions available: Mp3 Metadata Extension by enaixpeend
Taifun
Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.
Ok, I will update according to naming convention.
about MP3 Metadata extension, that's why i would like include album art... don't you know a way to save byte[] in a file without AI compilation error ? (so without "FileOutputStream")
this thread is about presenting your extension, so if you have questions about developing the extension itself, then please continue asking in your other thread. Thank you.
Taifun
Here update extension with good names and cover art (thanks to ewpatton for his help)
jml.Mp3tags.aix (8.2 KB)
Please remember the naming conventions, which is UpperCamelCase for property, method and event names (i.e. the first letter should be a capital letter) and lowerCamelCase for parameter names, i.e. no underscores
Taifun
Oups...corrected.
Sorry !
mp3 path is not getting, i getting error file not found. please help or share aia file to better understand.
Thank you for this extension.
Works very well - it can also get tags from FLAC files and from external SD card.
Thank you for this return...i'm happy it can helps you.
There is a problem: The file i posted here was working, but it doesn't works any more..I have a runtime error !
someone have an idea of what happened ?
is something changes ans i have to modify in my extension ?
I tried it on my old phone and it return : "Attempt to invoke virtual method 'java.lang.String java.io.File..getAbsolutePath()' on a null object reference....but i have no .getAbsolutePath() in my code !
Have you used FileUtil?
no. what is it ?
Maybe you don't have READ permission.
yes you were right...thanks
Here is version2 which use new app directory and so don't need to copy image file any more