Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

About setting up some code.

Posted on 2004-04-29
7
Medium Priority
?
141 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
Build and deliver software with DevOps

A digital transformation requires faster time to market, shorter software development lifecycles, and the ability to adapt rapidly to changing customer demands. DevOps provides the solution.

 

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 1000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
In this post we will learn different types of Android Layout and some basics of an Android App.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.
Suggested Courses

715 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