Solved

About setting up some code.

Posted on 2004-04-29
7
139 Views
Last Modified: 2010-03-31
objects, I am now wondering if only the workout audio files should go into the list and after the list is complete and the user submits it, then ahe list is gone through and all timing files are added at that time.  That way it won't matter when the user presses the timing cycle button. At the time the user submits it, code can check to make sure a timing cycle button was pressed and if not get on pressed before going on.

Let me know if you think this is a better way of doing it?  I think it is now after all the stuff I have put you guys through.
0
Comment
Question by:Drop_of_Rain
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 92

Expert Comment

by:objects
ID: 10956094
> I am now wondering if only the workout audio files should go into the list

I suggested that possibility in your previous q :)

0
 

Author Comment

by:Drop_of_Rain
ID: 10956126
You have said that long ago, but I had to understand why it didn't have to happen the way I thought it had to. I had seen it being used in one way, and got stuck seeing it that way. I'm sorry for not following your wisdom, but needed to go through this.

Do you have any suggestions?

0
 
LVL 92

Expert Comment

by:objects
ID: 10956157
i mentioned a couple of q's ago that it sounded like you could get rid of the AudioDetails class altogether, and just store the audio name string in the list. But I'm still not 100% clear on your requirements cannot be totally sure this approach would achieve your goals.

It would be so much easier to help u implement this if you wrote a functional spec *before* trying to implement it :)
0
Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

 

Author Comment

by:Drop_of_Rain
ID: 10956249
<<<It would be so much easier to help u implement this if you wrote a functional spec *before* trying to implement it :)>>>

I have never written one of these before I hope this is what you are asking for

User opens make a custom workout section.

1. All sections of workout buttons are in the frame.
2.The user can choose any order they want to. (Press any button order)
3. Every button pressed needs to be recorded.
3.A list needs as the buttons are pressed.
4,The user needs to be able to unchoose a selection and it is removed from the list
5.That unchoose  selection is removed from the list but not effecting anything else.
6.The user has to submit the workout for processing.
7.A timing cycle must have to been pressed before the submitting can happen.
8.If not a dislog tells them they have to choose one.
9.After one is choosen the list can be submitted.
9a. The user names the workout.
10.All componants are set to clear or back to default.
11.The list is gone through one item at a time and checked againist some conditionals.
12.The choosen timing cycle audiofiles is placed in the list after each item.
13.If the item fits a conditional the timing audiofile is replaced with the proper one.
14.After all timing files are entered into the list the list will be passed to another class.
15.The new class will turn all the audiofiles into streams into a new list.
16.Those streams will be passed to another class.
17.That class will make a single audiofile from the streams.
17.A temp file will be made for backup.
0
 

Author Comment

by:Drop_of_Rain
ID: 10956282
Correction

3a.A list needs to be made as the buttons are pressed.
0
 
LVL 92

Accepted Solution

by:
objects earned 250 total points
ID: 10956294
sounds like AudioDetails is not needed, and you just need a list of strings.
0
 

Author Comment

by:Drop_of_Rain
ID: 10956325
The strings will be the file names? All the audiofiles will all be stored in a directory name Audio in the root directory. You said to put all the audiofiles in the same directory then a directory would not have to be in the ActionCommand.

 Is that correct?

How does it know where the audiofiles are?

Is a directory setup somehow?

0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers learn about the “for” loop and how it works in Java. By comparing it to the while loop learned before, viewers can make the transition easily. You will learn about the formatting of the for loop as we write a program that prints even numbers…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
Suggested Courses

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question