T
T
Trimbombom2013-12-22 20:54:23
Eclipse
Trimbombom, 2013-12-22 20:54:23

Where in Eclipse to store audio files and in what format?

I am taking my first steps in programming. So far, it’s a completely dark forest, but I don’t want to retreat, so I decided to go from the other side - to try to do something on my own, and not just from lessons, to learn, so to speak, in practice, namely, to start with a trial program in which they will store sound files (sounds of nature, etc.), which can be played one by one or several files at once (there are many such programs in Google Play, for example).
The question immediately arose - where in Eclipse to store audio files and in what format should they be in order to weigh as little as possible?
I also could not understand the name of the element that displays the sound volume control + checkbox for selecting a specific composition.
I plan to create a list for some album, where there will be several checkboxes and volume controls + audio file names next to them. To be able to select the desired file - by clicking on the checkbox, it would start playing.
The checkbox in Eclipse is not difficult to find, but with the volume control it is more difficult - I could not find it by brute force, but there is a suspicion that the volume control is SeekBar from the Form Widgets section, but I'm not sure ...
Thank you in advance for your help.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
svd71, 2013-12-22
@svd71

It's great that you're taking your first steps, but....
usually people point out where they're taking their first steps. The Eclipse environment is adapted for several different programming languages ​​and is not some kind of standard. Apparently, since you are referring to Google rley, then we can talk about development for Android. But there are developments for Java and for Native Java (and these are C and C ++). But for these two implementations, the storage location is in any folder you create in the project. This data will be compressed by the zip archiver into a package during compilation.
If you need to attach already compressed data to the project, which is no longer worth compressing and wasting time decompressing it, then store it in the assert folder.

F
FanKiLL, 2013-12-22
@FanKiLL

If the documentation is better in rawthe folder.
To play a sound, for example when a button is clicked, play around with the MediaPlayer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question