I have developed an application that has a Sound Class. This Sound Class uses an external audio file that is referenced by a String data type that holds the filepath to the audio file.
When I wish to give this Sound object to a friend, I also have to give the external audio file as well.
My question is this:
Is it possible to add the external audio file to the Sound object, such that when I serialize the Sound object, and give it to my friend, the audio file is contained within the serialized object and can be extracted to a folder and then used?
When I wish to give this Sound object to a friend, I also have to give the external audio file as well.
My question is this:
Is it possible to add the external audio file to the Sound object, such that when I serialize the Sound object, and give it to my friend, the audio file is contained within the serialized object and can be extracted to a folder and then used?