@Taifun Ok, thanks for the hint. I never needed the documentation for your Player ext. or the Player component (as they are self-explanatory) and therefore I probably didn't pay attention to it.
The // is only mentioned in connection with the File component in the AI2 documentation.
There is nowhere such a hint for the mentioned Media components (player, sound, video player). In addition, I have never seen any aia using this path in all the years.
As I said the // is only needed for the File component and seems to me to make little sense in your extension, especially since these slashes are not needed at all.
I tried to follow the logic from the file component in all my extensions...
it might be, that these slashes are not needed at all in this case... this to provide some compatibility to the player component...
Ok. I will take your remarks about file acces into account and will post an update...
but i'd like to complete this extension with album cover art. I succed to do it in android studio, but it's a bitmap..AI compilator don't accept it when i try to compile it gave me an error.
so i 'd could save this bitmap in a file but i don't succed to do it in an acceptable way for AI compilator...
have you a way to do it ?
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.
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
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.
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
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 !