Sunteți pe pagina 1din 125

48

APPENDIX A
LETTER FOR ADVISER
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

REYNALDO V. DANGANAN
Instructor, College of Industrial Technology

Dear Sir:
Greeting of Peace!

We, 4th year college students of Bachelor of Science in Industrial Technology


major in Computer Technology students are going to conduct a research that could
contribute to our college.

In this regard, we are humbly requesting your permission to conduct our study entitled
“Mobile Application for Selected Folk Dances in Quezon Province”.

Your favorable approval of this request will contribute a lot to early completion and
success of our research. Thank you and God bless!

Respectfully yours,

(Sgd)Ms. RHEA DIANE P. DEMANDANTE

Researcher

(Sgd) Mr. JEREMIAH S. NILOOBAN

Researcher

(Sgd) Mr. JOHN MICHAEL P. VALDEJUEZA

Researcher

Noted by:

(Sgd) Mr. REYNALDO V. DANGANAN, MIT

Research Adviser
49

APPENDIX B
LETTER FOR DEAN
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

ENGR. MARIA ROSSANA D. DE VELUZ


Dean, College of Industrial Technology

Dear Madam:

Greeting of Peace!

We, 4th year college students of Bachelor of Science in Industrial Technology


major in Computer Technology students are going to conduct a research that could
contribute to our college.

In this regard, we are requesting your permission to conduct our study entitled
Mobile Application for Selected Folk Dances in Quezon Province.

Your favorable approval of this request will contribute a lot to the early completion and
success of our research. Thank you and God bless!

Respectfully yours,

(Sgd) RHEA DIANE P. DEMANDANTE

(Sgd) JEREMIAH S. NILOOBAN

(Sgd) JOHN MICHAEL P. VALDEJUEZA

Researcher
50

Noted by:

(Sgd) Dr. RICARYL CATHERINE P. CRUZ


Research Instructor

(Sgd) REYNALDO V. DANGANAN


Research Adviser

Approved by:

(Sgd) ENGR. MARIA ROSSANA D. DE VELUZ

Dean, College of Industrial Technology


51

APPENDIX C
LETTER FOR RESPONDENTS
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

Dear Respondents:

We are Computer Technology students of Southern Luzon State University who are
currently conducting our research project entitled Mobile Application for Selected
Folk Dances in Quezon Province. This study aims to preserve the art and importance
of folk dance through mobile phones. We would like to ask for some time for you to
answer and evaluate our system for further development and analysis.

Your time and participation are well appreciated and will contribute a lot to the early
completion and success of our research, Thank you and God bless!

Respectfully yours,

(Sgd)Ms. RHEA DIANE P. DEMANDANTE

Researcher

(Sgd) Mr. JEREMIAH S. NILOOBAN

Researcher

(Sgd) Mr. JOHN MICHAEL P. VALDEJUEZA

Researcher

Noted by:

(Sgd) Dr. RICARYL CATHERINE P. CRUZ (Sgd) REYNALDO V. DANGANAN

Research Instructor Research Adviser


52

APPENDIX D
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

QUESTIONNAIRE (for IT EXPERTS)

Name (Optional): Profession:

Dear Respondents:

We are Computer Technology students of Southern Luzon State University who


are currently conducting our research project entitled Mobile Application for Selected
Folk Dances in Quezon Province. This study aims to preserve the art and importance of
folk dance through mobile phones. We would like to ask for some time for you to
answer and evaluate our system for further development and analysis.

Direction: Please put a check mark (/) on the column scale that best applies to you:

4 – Highly Acceptable 3 – Acceptable


2 – Unacceptable 1 – Highly Unacceptable

I. FUNCTIONAL SUITABILITY
1. The user can navigate through the different menus/icons to
review specific topics.
2. The system functions facilitate the accomplishment of a
specified tasks and objectives.
3. The mobile application can provide the needed
information for those students/professors who are
learning Quezon Folk
Dance
II. PERFORMANCE EFFICIENCY
1. The mobile application responds to every command of the
user.
2. The mobile application can generate the information quickly.
3. The system can help the user in gaining additional
knowledge.
III. COMPATIBILITY

1. The mobile application can be installed in android 4.1 up to


the latest android version.
2. The mobile application automatically adjusts its screen size
53

when installed in different android devices.


3. The mobile application can be placed on software in the
same specified system.
IV. USABILITY
1. The mobile application can be easily learned by the user.
2. The mobile application interface is pleasing and satisfying to
the user.
3. The mobile application can be easily operated and controlled
by the user.
V. RELIABILITY
1. The mobile application is operational and accessible for the
users.
2. The mobile application can be reinstalled in case of system
failure.
3. The mobile application is free from bus and interruption.
VI. SECURITY
1. The mobile application cannot be edited.
2. The mobile application can only be accessed by the user
who installed the application.
3. The mobile application can be installed based on the system
requirement.
VI. MAINTAINABILITY
1. The mobile application maintains its function when
transferred to another android device.
2. The mobile application avoids unexpected effects from
modification.
3. The mobile application can be tested to determine its
capabilities.
54

APPENDIX E
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

QUESTIONNAIRE (for USERS)


(ISO 25010)
Name (Optional): Profession:

Dear Respondents:

We are Computer Technology students of Southern Luzon State University who


are currently conducting our research project entitled “Mobile Application for Selected
Folk Dances in Quezon Province”. This study aims to preserve the art and importance
of folk dance through mobile phones. We would like to ask for some time for you to
answer and evaluate our system for further development and analysis.

Direction: Please put a check mark (/) on the column scale that best applies to you:

4 – Highly Acceptable 3 – Acceptable


2 – Unacceptable 1 – Highly Unacceptable

I. GRAPHICAL USER INTERFACE 4 3 2 1

4. The application’s font is readable.

5. The interface is simple, attractive and informative.

6. The background color and design are appropriate.

II. USABILITY

1. The application is agreeable and easy to use.

2. The application is user friendly for the word links or icons


can be easily determined.
3. The application can be used by novices and those with basic
knowledge in technology.
III. EFFICIENCY

1. The system instantly responds to user commands.


55

2. The installation process of the system is quick.

3. The system shows desired results quickly.

IV. RELIABILITY
4. The content of the application provides valid information.

5. The application is available when required by users.

6. The application performs its required functions.


56

APPENDIX F
SURVEY PHOTOS (IT EXPERTS & USERS)
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon
57

APPENDIX G
APPLICATION INSTALLATION PROCESS
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

Application Installation Process

1. Look for installer of application.

2. Click Install
58

3. Wait for the application to install

4. Click Open and it will open on its own.


59

APPENDIX H
USER MANUAL
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

User Manual

This will help the users on how to use and navigate this Mobile Application for Selected
Folk Dances in Quezon Province.

First it will flash a splashscreen with the title of the application.


60

Main screen of the application will appear within 5seconds.


- Click the arrow first to proceed to the content of the Application.
- After clicking the arrow, all the titles of the Quezon Folk Dances will show.
Then you can choose which dance you would like to open.

- After choosing a specific dance, the four categories will show the Dance
Information, Background/Content, Dance Steps, and Dance Properties
61

If Dance Information
- It will show the Refereces, Meaning, Place and Date etc.

If Background and Context


- It will show where the dance came from and its history.
62

If Dance Steps
- It has two kinds of videos, with costume and without costume for it’s to see
the clearer steps.

If Dance Properties
- It has three categories inside of it, Costume, Music and Counts and Formation
63

If Click the Costume, Music, Counts and Formation

Costume Music

Counts and Formations


64

Quiz game
- To the upper left of the first page of the application it has a navigation bar for
the Quiz Game
- Click the Quiz Game
- Then Start
- Choose any level of the game: Easy, Medium, and Hard
65

APPENDIX I
SOURCE CODE
Republic of the Philippines
Southern Luzon State University
COLLEGE OF INDUSTRIAL TECHNOLOGY
Lucban, Quezon

CostumeActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;

public class SplashScreen extends AppCompatActivity {


private final int SPLASH_DISPLAY_LENGTH = 4000;

///ito yung sa splashscreen natin, after 4 seconds punta na sa main activity

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash_screen);
getSupportActionBar().hide();
Handler handler = new Handler();
handler.postDelayed(new Runnable() {

@Override

public void run() {

Intent i = new Intent(SplashScreen.this, MainActivity.class);

startActivity(i);

// close this activity


66

finish();

}, 3000);

}
}

CountsActivity.java
package thesis.com.philippinefolkdance;

import android.net.Uri;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class CountsActivity extends AppCompatActivity {


TextView form1;
TextView forname;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_counts);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

form1 = (TextView)findViewById(R.id.textViewDance);
forname = (TextView)findViewById(R.id.textViewFormDanceCounts);

loadData();
}

private void loadData(){

// String data = getIntent().getExtras().getString("formname1");


String data2 = getIntent().getExtras().getString("formname2");
forname.setText(data2);
67

///If Abaruray is clicked set the information to abaruray


if (data2.equalsIgnoreCase("Abaruray")){

form1.setText("Movements / Steps particular in dance: \n" +


"-\t“Binanog” (hawk-like), popular in the Bicol region\n" +
"-\tMarcha (march) step.\n" +
"Count: One, two or One, and two / and to a measure in2/4 tie signature.
\t\t\t\t\tOne , two ot three to a measure in ¾ time signature.\n" +
"Formation: This is usually performed by a couple, but two or many pairs
may participate in the dance. \tPartners stand opposite each other about six feet apart.
When facing the audience, the Girl is at the right side of the Boy.\n" +
"\n" +
"ENTRANCE\n" +
"\n" +
"Music B.\n" +
"Partners stand side by side.\n" +
"(a) Coming from one side of the stage or dance hall, take fourteen wallz
steps forward right and left alternately to the center of the stage. Girl’s hand are placed on
his while Boy’s hands are on waist. Twist trunk right and left alternately with the R and I,
shoulder held high alternately chin up. \t\t\t\t\t\t\t14M\n" +
"(b) Three-step turn right in place (cts. 1,2,3). Finish facing partner.
\t\t\t1M\n" +
"(c) Close feet together and bow to partner. \t\t\t\t\t\t1M\n" +
"\n" +
"I\n" +
"Music A.\n" +
"Partners face each other.\n" +
"(a) Starting with the R foot, take three steps forward passing each other by
R shoulders, arms hang loosely at the sides (cts 1,2; 1), take a quarter turn right and close
l, foot to R (ct. 2). \t\t\t\t\t\t\t\t\t\t\t2M\n" +
"(b) Take two chasing steps sideward left moving away from partner (cts. 1,
and,2, and), arms in\t 3rd position L arm high. Step l. foot sideward (ct. 1), close R foot l.
(ct. 2).2M\n" +
"(c) Quarter turn right and repeat (a) and (b) going back to proper places.
Finish with the Girl facing audience and Boy facing audience.\t\t\t\t\t4M \n" +
"(d) Repeat (a) and (b).\t\t\t\t\t\t\t\t\t4M\n" +
"(e) Take six gallop steps with the R foot, moving half-way
counterclockwise to finish at center \tfacing audience with the Girl at the left side of the
Boy. Arms are in 3rd position, R arm high (cts. 1, and, 2, and; 1, and, 2, and; 1, and, 2,
and).\t\t\t5M \n" +
68

"(f) Step R foot in place (ct 1), close l, foot to R (ct. 2). \t\t\t\t1M\n" +
"\n" +
"II\n" +
"Music A.\n" +
"Partners face the audience.\n" +
"(a) Starting with the outside foot, take a three-step turn outward in place
(cts. 1,2; 1) close feet together (ct. 2), arms down at sides. \t\t\t\t\t2M\n" +
"(b) Step on the ball outside foot (ct 1), step inside foot in place (ct, and),
repeat same two times more (cts. 2, and; 1 and), step outside foot in place (ct. 2), arms in
3rd position, inside arm up.\t\t\t\t\t\t\t\t2M\n" +
"(c) Repeat (a) and (b) starting with the inside foot. Reverse the turn and arm
position.\t\t\t\t\t\t\t\t\t\t\t\t4M\n" +
"(d) Boy turns right about. Both take two gallop steps sideward right (cts. 1,
and,2, and). step R\tsideward (ct. 1), close l, foot to R (ct. 2), arms are in 3rd position, R
arm up. 2M\n" +
"(e) Repeat (d) moving sideward left (Boy does not turn this time).
\t\t\t2M\n" +
"(f) Take six gallop steps turning counterclockwise to finish at center, Girl in
front of Boy facing each other (cts. 1, and,2, and; 1, and,2, and), arms in 3rd position, R
arm up. 5M\n" +
"(g) Girl turn right about the steps R foot forward (ct. 1) close l. foot to R (ct.
2), while Boy takes two steps in place, arms down at sides. \t\t\t\t\t1M\n" +
"\n" +
"III\n" +
"Music B. \n" +
"Partners face audience. Girl in front of Boy. Girl starts with the R foot while
Boy starts with the l. foot from (a-d).\n" +
"\n" +
"(a) Take a brush-step-turn right (left), arms in reverse “T” position,
kumintang inward once every measure. \t\t\t\t\t\t\t\t\t4M\n" +
"(b) Step R (L) foot sideward (ct. 1), brush L (R) foot forward (ct. 2), step L
(R) foot in place (ct3). \t\t\t\t\t\t\t\t\t\t\t2M\n" +
"(c) Repeat (b) to the left (right).\t\t\t\t\t\t\t2M\n" +
"(d) Step brush-hop forward (cts. 1, 2, 3); L (R) foot forward (cts. 1, 2, 3);
double arm circle outward to 2nd position. \t\t\t\t\t\t\t2M\n" +
"(e) Girl takes three steps obliquely backward left (L,R,L) (cts. 1,2,3); takes
three step turning half clockwise in place to finish facig each other. Girl’s shoulder is
toward audience (R shoulder for Boy) (1M). \t\t\t\t\t\t\t2M\n" +
"(f) Step, brush, step (cts. 1,2,3), step (ct. 1) point (cts. 2,3) to the right, arms
in reverse “T” position.\t\t\t\t\t\t\t\t\t\t2M\n" +
69

"(g) Take a big step forward left )ct. 1) brush R foot forward (ct. 2), hop on L
foot (ct. 3) place R heel forward (cts. 1,2,3), double arm circle outward to 2nd position.
\t2M \n" +
"\n" +
"IV\n" +
"Music C.\n" +
"Partners face each other. \n" +
"(a) Waltz sideward right, l, arm extended sideward, R arm bend forward.
Raise elbow and shoulders twice (cts. 1, 2), put them down (ct. 3). Look sideward left
bending head to right. \t\t\t\t\t\t\t\t\t\t1M\n" +
"(b) Repeat (a) to the left. Reverse arm position.\t\t\t\t\t1M\n" +
"(c) Repeat (a) and (b) in back to back position.\t\t\t\t\t2M\n" +
"(d) Repeat C but take bigger steps sideward on the first waltz step so that
Boy and Girl are not in back to back position. \t\t\t\t\t\t\t2M\n" +
"(e) Take a quarter turn to left to face each other and waltz sideward right
and left. 2M\n" +
"(f) Repeat Figure III (b) and (c).\t\t\t\t\t\t\t 4M\n" +
"(g) Repeat Figure III (d) with the R foot. \t\t\t\t\t\t2M\n" +
"(h) Quarter turn left and repeat (g) with the l. foot. \t\t\t\t\t2M\n" +
"(i) Take three steps in place (extra measure). \t\t\t\t\t1M\n" +
"\t\n" +
"V\n" +
"Music A. \n" +
"Girl faces audience, Boy faces away from the audience \n" +
"(a) Girl standing with the L foot and Boy standing with the R foot , take
three steps forward moving quarter of a circle clockwise (ct. 1,2; 1) close feet together
(ct. 2). Finish at center by R shoulders. \t\t\t\t\t\t\t\t2M\n" +
"(b) Take two chasing step sideward, L for Boy, R for Girl (cts 1, and ,2and),
step sideward (ct. 1).\tClose feet together (ct. 2) arms in 3rd position.\t\t\t\t2M\n" +
"(c) Repeat (a). This time Girl starts with R foot and Boy with l. foot. Finish
with Girl facing audience, oy facing away from the audience. \t\t\t\t\t2M\n" +
"(d) Repeat (b) Girl standing R. \t\t\t\t\t\t\t2M\n" +
"(e) Repeat (a) and (b).\t\t\t\t\t\t\t\t\t4M\n" +
"(f) Starting with the R foot take six step gallop steps moving half-way
clockwise to finish at the center with the Girl in front of Boy, facing each other (cts. 1,
and, 2, and; 1, and, 2, and; 1, and, 2and) arms in 3rd position, R arm high.\t\t\t\t5M\n" +
"(g) Girl turns about to face audience and step R foot forward (ct. 1) close l.
foot to R (ct. 2) boy takes two steps in place arms down at sides. \t\t\t\t\t1M\n" +
"\n" +
"VI\n" +
"Music B.\n" +
"Partners face audience. Boy and Girl dance simultaneously.\n" +
70

"Girl:\n" +
"(a) Take two waltz steps forward right and left, R arm bent forward, l. arm
extended sideward on the first waltz step. Reverse arm position on the second waltz
step.\t2M\n" +
"(b) Waltz turn right, arms as in (a). \t\t\t\t\t\t\t2M\n" +
"(c) Repeat (a) and (b) moving clockwise finishing in proper places, facing
audience. 4M\n" +
"Boy:\n" +
"(a) Starting with the R foot, take six waltz steps forward following the Girl.
Clap hands over R and L shoulder alternately on counts 2, 3 of every measure. \t\t6M\n"
+
"(b) Waltz turn right in place behind the Girl hands on waist . \t\t\t2M\n" +
"\n" +
"VII\n" +
"\n" +
"Music B.\n" +
"(a) Girl starts with the L foot; Boy starts with R foot. Step sideward (cts.
1,2), step across in front (ct. 3) arms in 2nd position, step sideward (ct. 1), step across in
near (ct.2) hop raising free foot in front (ct.3), cross arms in front. \t\t\t\t\t2M\n" +
"(b) Repeat (a) two times more. \t\t\t\t\t\t\t4M\n" +
"(c) Three-step turn left for Girl, right for Boy, Girl holds skirt, Boy places
hands on waist. \t\t\t\t\t\t\t\t\t\t\t\t 2M\n" +
"(d) Repeat (a-c) moving to the opposite direction. Finish facing each other.
\t 8M\n");
}

///If Estudiantina is clicked set the information to Estudiantina


else if (data2.equalsIgnoreCase("Estudiantina")){

form1.setText(" Formation \t\t: In sets of two pairs. Partners stand out six feet
apart facing audience. Boys and Girls \tstand alternately as in diagram A. One to any
number of sets may take part in this dance.\n" +
"\n" +
"\n" +
"\n" +
"Audience\n" +
"\n" +
"X\t1\t0 \n" +
"Diagram A \n" +
"0\t2\tX\n" +
71

"\n" +
"Introduction\n" +
"Music Introduction\n" +
"\tGirl 1 and Boy 2 face away from audience and Girl 2 and Boy 1 face
forward audience. Point R foot sideward. Girls hold skirts with R hands, L hands on
waist, Boys’ hands on waist. Turn heads to right side. \t\t\t\t\t\t\t\t\t4cts\n" +
"\n" +
"I \n" +
"Music A.\n" +
"Partners face each other.\n" +
"(a) Half-foot circle outward in the air with R foot (last two counts of
introduction). R arm in reverse “T” position, L arm bent forward at shoulder level.
\t\t\t2cts\n" +
"(b) Step R obliquely forward right (ct. 1 of the first measure). Same arm
position as in (a). \t\t\t\t\t\t\t\t\t\t\t 1cts\n" +
"(c) Repeat (a) and (b) with L foot (cts. 2,3 of first measure of Music A and
ct.1 of a measure) Reverse position of arms. \t\t\t\t\t\t\t3cts\n" +
"(d) Half-foot circle outward in the air with R foot (cts. 2,3 of second
measure), Same arm position as in (a). \t\t\t\t\t\t\t\t\t2cts\n" +
"(e) Step R obliquely forward right (ct.1), brush L foot forward (ct.2), hop on
R forward (ct. 3). Same arm position as in (a), by this time partners are passing each other
by L shoulder on my way to partner’s place. \t\t\t\t\t\t1cts\n" +
"(f) Step L forward to partner’s place (ct. 1), and turn right about by pivoting
on L foot to face partner (ct. 2), close R to L (ct. 3). Girls hold skirts, Boy place hand on
waist. \t1cts\n" +
"(g) Step R sideward (ct. 1) brush L forward (ct. 2), step L close to R (ct. 3).
Step R sideward (ct. 1), brush L forward (cts. 2,3). Same arm position as in (a). \t\t2cts\n"
+
"(h) Four-step turn left in place, starting with L foot. Hands are in (f).
4cts\t\t\n" +
"(i) Repeat (a-h), starting with L foot, passing by R shoulder (e). Reverse
position of arms and direction. Finish in proper places. \t\t\t\t\t\t8cts\t\n" +
"(j)Repeat all (a – i). Pause on last two counts on the sixteenth measure.
\t\t16cts\n" +
"\n" +
"II\n" +
"Music B. \n" +
"\tPartners face each other.\n" +
"\n" +
"\t(a) Step R obliquely forward right (ct. 1), brush L forward (ct. 2), step L
close to R (ct. 3). \t\tSame arm position as in Figure I (a). \t\t\t\t\t\t\t1ct\n" +
72

"(b) Repeat (a) two more times to be in one line at center by L shoulder.
\t\t2cts\n" +
"(c) Partners face each other so that Girl 1 and Boy 2 have their basic toward
audience. Step R sideward (ct. 1), close L to R (cts 2,3). Arms down at sides.\t\t\t1cts\n"
+
"(d) Step L obliquely forward to proper places, salok with R hand (trunk and
knees slightly bent, L hand down at sides) (cts. 1,2); step R close to L, raise R arm
overhead (trunk and knees erect) (ct. 3). Pause (cts. 1,2,3). \t\t\t\t\t\t2M\n" +
"(e) Three-step turn L to proper places. Both arms in fifth position. Finish
facing partner.\t\t\t\t\t\t\t\t\t\t\t\t 2M\n" +
"\t(f) Repeat (a – e). \t\t\t\t\t\t\t\t\t8M\n" +
"\t(g) Quickly transfer weight to R foot after the turn. Repeat all (a – f),
starting with L foot. Reverse position of arms and direction. \t\t\t\t\t\t\t16M\n" +
"\t\t\t\t\t\t\t\n" +
"III\n" +
"Music C. \n" +
"\tBoy 1 and Girl 2 face audience, Boy 2 and Girl 1 face away from
audience. Throughout this figure Girls’ R hands hold skirts, L hands on waists and Boys
place hands on waists. \n" +
"(a) Take a small step with R obliquely forward right, bend trunk slightly
forward (ct. 1), step L across the R in rear (ct. 2), hop on L, trunk erect and raise R foot
slightly in front (ct. 3). \t\t\t\t\t\t\t\t\t\t\t1M\n" +
"(b) Repeat (a) five more times going to partner’s place, passing each other
front to front.\t\t\t\t\t\t\t\t\t\t\t\t 5M\n" +
"(c) Three-step turn right about to partner’s place (cts. 1, 2, 3), step L close
to R (ct. 1), pause (cts. 2, 3). \t\t\t\t\t\t\t\t\t2M \n" +
"\t(d) Repeat (a – c). Finish in proper places. \t\t\t\t\t\t8M\n" +
"\t(e) Repeat all (a – d). Finish the turn in proper places, facing audience.
\t\t15M \n" +
"\t\t\t\t\t\t\t\n" +
"IV\n" +
"Music A. \n" +
"\tPartner face audience. \n" +
"\t(a) Repeat Figure 1 (a – f). \t\t\t\t\t\t\t2cts & 4M\n" +
"\tPartners face each other. \n" +
"\t(b) Repeat Figure 1 (g and h). \t\t\t\t\t\t1ct & 3M\n" +
"(c) Take small steps. Repeat Figure 1 (a – f), finishing in one line at the
center in back-to-back position. Make a quarter turn left in (f) so that Girl 2 and Boy 1
face audience. Girl 1 and Boy 2 face away from audience. \t\t\t\t\t\t2cts & 4M\n" +
"(d) Step R sideward (ct. 1), brush L forward (ct. 2), step L close tp R (ct.3).
Step R sideward (ct. 1),\tbrush L forward (cts. 2,3). Same arm position as in (a). \t\t\t2M
\n" +
73

"(e) Four-step turn left to proper places. Girls hold skirts, Boy’s place hands
on waists. 4cts\n" +
"(f) Face right about, repeat all, (a –e), pause on last two counts of sixteenth
measure. \t\t\t\t\t\t\t\t\t\t\t2cts & 16M\t\n" +
"Music B. \n" +
"\tFace so that L shoulders are toard the next corner. \t\t\t\t\t\t\t(a) Salok with
the R hand, L hand in the second position and execute a three-step turn left \tgoing to
next corner clockwise – Girl 1 goes to place of Boy 2. Boy 2 to place of Girl 2 to \t\tplace
of Boy 1 and Boy 1to place of Girl 1 (See diagram (b) below).\t\t\t2M\n" +
"(b) Three-step turn right in place. Arms in fifth position. Finish with L
shoulder toward next corner going clockwise. \t\t\t\t\t\t\t\t2M\n" +
"(c) Repeat (a) and (b) three more times finishing in proper places.
\t\t\t12M\n" +
"(d) Repeat all (a-c), moving counterclockwise (see diagram (c) below).
Reverse position of arms and direction. \t\t\t\t\t\t\t\t\t15M\n" +
"\n" +

"\t\t\tX\t→\t0\t\t\t\tX\t←\t0\t\t\t\t\t↑\t\t↓\t\t\t\t↓\t\t↑\t\t\t\t\t0\t←\tX\t\t\t\t0\t→\tX\n" +
"\t\t\t\t(B)\t\t\t\t\t\t(C)\t\t\t\t\n" +
"VI\n" +
"Music C. \n" +
"Partners face each other. Movements of Girl 1 and Boy 2 and Boy 1 and
Girl 2 are done\tsimultaneously.\t\t\t\t\t\t\t\t\t\t\t\n" +
"Girl 1 and 2 \t\t\t\t\t\t\t\t\t\n" +
"(a) Jump to cross R in front of L foot, R arm are in reverse “T” position, L
arm bent forward at shoulder level (ct. 1), pause (cts. 2, 3). Repeat same reversing
position of feet and arms (cts. 1, 2, 3). \t\t\t\t\t2cts\n" +
"(b) Three-step turn left to exchanges places with boys, Girl passing in front
of Boy. Hold skirts. \t\t\t\t\t\t\t\t2cts\t\n" +
"Boy 2 and Boy 1\t\t\t\t\t\t\t\t\t\t\tDo the same movements of Girls, starting
with L across the R in front first in (a) and turning right in (b) to exchange places with
Girls. \t\t\t\t4M\n" +
"(c) All repeat the same movements going back to proper places. Reverse
position of feet,\t arms, and direction.\t\t\t\t\t\t\t4M\n" +
"(d) Repeat (a – c). Finish in proper places facing partners. \t\t\t8M\n" +
"(e) All dance at the same time. Jump across in R in front of L (CT. 1), pause
\n" +
"(cts. 2, 3) Jump to reverse position of feet (cts. 1, 2, 3) Arms as in (a).
\t2M\t\n" +
"(f) Cross turn right, bend knees slightly while turning. Girls hold skirt, Boys
places on waist. \t\t\t\t\t\t\t\t\t2M\t\n" +
74

"(g) Repeat (e) and (f), three more times with L and R foot across in in front
alternately. Reverse position of arms and turns with corresponding change of foot
position. \t\t\t\t\t\t\t\t\t12M\n" +
"\n" +
"Saludo\n" +
"Music Finale.\t\t\t\t\t\t\t\t\t\t\t\tPartners face each other. Girl 1 and Boy 2
start with R foot. Boy 1 and Girl 2 start with L \t\t(a) Partners take two step forward to
meet at center (cts. 1,2), step trailing foot close\tto the other, face front and join R hands
(ct. 3). \t\t\t\t\t1M\n" +
"(b) Reverse R hands. Take one big step sideward to exchange places at
center. Girls passing in front of partners – Girl 1 and Boy 2 stepping with L foot, Boy 1
and Girl 2,\t with R foot (ct. 1). Feet together and bow to audience, arms in second
position (cts. 2, 3). \t\t\t\t\t\t\t\t\t\t\t1M\n");
}

///If Huricuti is clicked set the information to Huricuti


else if (data2.equalsIgnoreCase("Huricuti")) {

form1.setText("");

///If Jota Gumaqueña is clicked set the information to Jota Gumaqueña


else if (data2.equalsIgnoreCase("Jota Gumaqueña")){

form1.setText("Formation\t: In set of two pairs, pair 1 with Boy at left side and
Girl at right side, pair 2 with Girl at left side and Boy at right side when facing audience.
Partners stand about six feet apart from each other. See diagram (a). One to any number
of sets may take part in this dance. \n" +
"\t\n" +
"\t\t\n" +
"\t\t\t\t\t\t\n" +
"\t\t\t\t\tINTRODUCTION\t\n" +
"Music Introduction.\n" +
"(a)\tPartners face audience. Point R foot in front, L hand of Girls on waist,
R hand holding skirt, L hand of Boys on waist, R hand across the waist in front holding
wrist of L hand. Look over R shoulders and pose in this position. \t\t4M\n" +
"(b)\tFace each other (1M), pause (1M).\n" +
"\t\t\t\t\t\t\n" +
"\t\t\t\t\tI\n" +
75

"Music A.\n" +
"\tPartners face each other. \n" +
"(a)\tStep R obliquely right forward, arms from first position on ct. 1to first
position amplified on ct. 2(cts. 1,2). Raise L knee in front, arms in fourth position, R arm
high (ct. 3). \t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tStep L obliquely right forward, twist body slightly to right (cts. 1,2),
hop on L and raise R foot in rear with the knee bent (ct. 30. Arms in the fourth position as
in (a) in ct. 3. Finish in one line at center, standing by L shoulders.\n" +
"(c)\tWaltz R obliquely backward left to proper places. Arms in first
position.\n" +
"(d)\tRepeat (a – c), starting with L foot. Finish standing by R shoulders in
(b).\n" +
"Reverse direction and position or arms. \n" +
"(e)\tStep R obliquely right forward and twist body slightly to right (ct. 1),
step L forward (ct. 2), click R heel to L heel (ct. 3). Arms fourth position, R arm high.
Finish near each other at center, facing obliquely right and standing by L shoulders.\n" +
"(f)\tWaltz R obliquely left backward to proper places, arms as in (e).\n" +
"(g)\tRepeat (e) and (f), six more times, L and R alternately, finishing by R
and L shoulders alternately. Reverse position of arms every two measures. \n" +
"(h)\tExecute a three-step turn left to proper places (cts. 1, 2, 3). Close R to L
(ct. 1), pause (cts. 2,3). Arms in fifth position. \n" +
"\t\t\t\t\t\t\t\n" +
"\t\t\t\t\t\tII\n" +
"Music B. \n" +
"\t\tEach dancer faces with R shoulder toward the next corner at his right. \n"
+
"\t\tTravelling counterclockwise – Boy 1 with R shoulder toward place of
Girl 2; \n" +
"Girl 2 with R shoulder toward place of Boy 2; Boy 2 with R shoulder
toward place of Girl 1; Girl 1 with R shoulder toward place of Boy 1 (see diagram
(b)).\n" +
"(a)\tSide R foot sideward toward next corner, salok with L hand, R arm in
fifth position (cts. 1, 2), step L close to R, raise L arm to fifth position (so both arms are
in fifth position) (ct. 3)\n" +
"(b)\tStep sideward (ct. 1), step L across th R in rear (ct. 2), step r sideward
(ct. 3), finishing at next corner. Arms in fifth position. \t\t\t\t1M \n" +
"(c)\tBrush L forward, salok with L hand to finish in fifth position (ct. 1),
three-step turn left in place (cts. 2, 3, 1), step R close to L (ct. 2) pause (ct. 3). Arms in
fifth position. \t\t\t\t\t\t\t\t\t2M\n" +
"(d)\tRepeat (a – c) starting with L foot. Reverse direction and position of
arms in salok. Finish in proper places. \t\t\t\t\t\t\t4M\n" +
"(e)\tRepeat all (a – d).\t\t\t\t\t\t\t\t8M \n" +
76

"\t\t\t\t\t\t\n" +
"\t\t\t\t\t\tIII\n" +
"\n" +
"Music C. \n" +
"\t\tPartners face each other. \n" +
"(a)\tRepeat Figure 1 (a) and (b). \t\t\t\t\t\t\t2M\n" +
"(b)\tReturn proper places – Step R obliquely left backward (ct. 1), brush L
forward (ct. 2), step L close to R (ct. 3). Step R obliquely left backward (ct. 1), brush L
forward (cts. 2, 3). Arms in fourth position, r arm high, kumintang hands inward while
doing the brushing. \t\t\t\t\t\t\t\t2M\n" +
"(c)\tRepeat (a) and (b), starting with L foot. Finish standing by R shoulders
in (a). \n" +
"Reverse direction and position of arms. \t\t\t\t\t4M\n" +
"(d)\tRepeat all (a – c).\t\t\t\t\t\t\t\t8M\n" +
"\t\t\t\t\t\n" +
"\t\t\t\t\tIV\n" +
"Music D. \n" +
"\t\tPartners face each other. \n" +
"(a)\tStarting with R foot, take three-steps obliquely right forward to meet at
center, not in one line but a little bit toward each other’s L shoulder. Girls hold skirts,
Boys place hands on waist. \t\t\t\t\t\t\t1M\n" +
"(b)\tPoint L foot obliquely left in front and twist trunk to face partner (cts.
1,2). Point L foot close to R and untwist trunk (ct. 3). Arms in third position, kumintang
hand on ct. 3. \t\t\t\t\t\t\t\t\t1M \n" +
"(c)\tRepeat (b), two more timers. \t\t\t\t\t\t\t2M\n" +
"(d)\tStarting with L foot, take three steps sideward left, passing each other
front-to-front. Partners finish facing each other and a little bit toward each other’s R
shoulder. Hand as in (a). 1M\n" +
"(e)\tRepeat (b) and (c), pointing with R foot. Reverse position of arms.
\t\t4M\n" +
"(f)\tPartners turn R shoulders toward each other. Arms in fourth position, L
arm high, R elbows almost touching. Step R foot forward (ct. 1), click L heel with r heel
(ct. 2), step L close to R (ct. 3). \t\t\t\t\t\t\t1M\n" +
"(g)\tRepeat (f) five more times going around clockwise. Finish facing own
places. 5M\n" +
"(h)\tRepeat (f) two more times going forward to proper places, turning right
about on the last measure while doing the step. \t\t\t\t\t2M\n" +
"(i)\tRepeat all (a – h). \t\t\t\t\t\t\t\t16M \n" +
"\t\t\t\t\t\n" +
"\t\t\t\t\tV\n" +
"Music E. \n" +
"\t\tPartners face each other. \n" +
77

"(a)\tStep R foot sideward (ct. 1) swing L across R foot in front (cts. 2,3).
Arms in lateral position moving sideward left. \t\t\t\t\t\t1M\n" +
"(b)\tRepeat (a) five more times, L and R alternately arms in lateral position
moving sideward right and left alternately. \t\t\t\t\t\t5M\n" +
"(c)\tExecute a three-step turn right in place (cts. 1,2,3). Close L foot to R
(ct. 1), pause (cts. 2,3) arms in fifth postion. \t\t\t\t\t\t2M \n" +
"(d)\tRepeat all (a – c) starting with L foot. Reverse position of arms and turn
left in (c).\t\t\t\t\t\t\t\t\t\t\t\t 8M\n" +
"(e)\tPause, arms down at sides. \t\t\t\t\t\t\t1M\n" +
"\t\t\t\t\t\n" +
"\t\t\t\t\tVI\n" +
"Music F. \n" +
"\t\tBoy 1 and Girl 2 face audience, Girl 1 and Boy 2 face away. \n" +
"(a)\tSarok with L foot across the R in front, bend body slightly forward,
arms in first position (cts. 1,2), hop on R foot. Girls hold skirts, Boys place hands on
waists. (ct. 3). \t\t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tStep L across R foot in rear (ct. 1), step R sideward (ct. 2), step L
across R in front (ct. 3), going to partner’s place, passing each other back-to-back. Girls
hold skirt. Boys plave hands on waists. \t\t\t\t\t\t\t1M\n" +
"(c)\tWith L foot across R in front, bend knees slightly (cts. 1,2), straighten
knees and turn right about (ct. 3). Arms in first position (cts. 1,2,3). \t\t\t1M\n" +
"(d)\tWith R over L, bend knes slightly (cts. 1,2), straighten knees (ct. 3),
open arms to second position (cts. 1,2,3). \t\t\t\t\t\t\t1M\n" +
"(e)\tPut weight on R foot. Repeat (a – d), going to proper places, passing
each other front-to-front. \t\t\t\t\t\t\t\t\t4M \n" +
"(f)\tAs the following steps are being executed dancers go from corner to
corner every two measures, moving counterclockwise. Step R foot sideward (cts. 1,2),
hop on R turning right about again. By these time dancers are at their corner (cts. 1,2,3).
Girls hold skirts. Boys place hands on waists. \t\t\t\t\t2M\n" +
"(g)\tRepeat (f) three more times. Finish in proper places. \t\t\t6M\n" +
"(h)\tBoy 1 and Girl 2 exchange places with each other and Girl 1 with Boy
2. Turn right shoulders toward each other. Repeat (a – e). \t\t\t\t8M\n" +
"(i)\tRepeat (f) and (g), moving counterclockwise again. \t\t\t\t8M \n" +
"\t\t\t\t\t\n" +
"\t\t\t\t\tVII\n" +
"Music G. \n" +
"\t\tPartners face each other. \n" +
"(a)\tRepeat Figure I (a – c). \t\t\t\t\t\t\t\t3M\n" +
"(b)\tStarting with L foot, take a four-step turn left obliquely forward to
finish in one line at center, by R shoulders. Girls hold skirts, Boy place hands on waists
(cts. 1,2,3,1). Stamp L close to R foot, put head high, arms in fourth position, L arm high
(cts. 2,3). \t\t\t\t\t\t\t\t\t2M\n" +
78

"(c)\tWaltz L obliquely right backward to proper places. Arms in third


position, R arm high. \t\t\t\t\t\t\t\t\t\t1M\n" +
"(d)\tRepeat (b) and (c), starting with R foot. Finish in one line at center by L
shoulders. Reverse direction and position of arms. \t\t\t\t\t3M\n" +
"(e)\tRepeat (b) and (c). \t\t\t\t\t\t\t\t3M\n" +
"(f)\tStarting with R foot, take two steps-hops turning right in place. Girls
hold skirts. Boys place hands on waists. \t\t\t\t\t\t\t2M\n" +
"Pause, arms down at sides. \t\t\t\t\t\t\t1M\n" +
"\t\t\t\t\t\n" +
"\t\t\t\t\tVIII\n" +
"Music H. \n" +
"\t\tPartners face each other. \n" +
"\t\tRepeat Figure III. \t\t\t\t\t\t\t\t16M\n" +
"\t\t\t\t\t\t\n" +
"\t\t\t\t\t\tSALUDO\n" +
"Music Finale.\n" +
"\t\tPartners face each other. \n" +
"(a)\tStarting with R foot, take two steps forward to meet each other at center
(cts. 1,2), close R to L (ct. 3). Girls hold skirts, Boys place hands on waists.\t 1M\n" +
"(b)\tJoin r hands and raise at head level to form an arch. Girls whirl turn
clockwise as many times under the arch of arms, free hands of Girls holding skirt that
Boys are places on waist. Boys stand still (4M) face audience and pause (1M).\t5M\n" +
"(c)\tStarting with outside foot, take three steps forward (cts. 1,2,3) close
inside foot with outside (ct. 1), pause (cts. 2,3). Same position of arms as in (b). \t2M\n"
+
"(d)\tRaise heels and joined hands (cts. 1,2,3), steps backward with inside
foot and lower joined hands (ct. 1), bow to audience free hands as in (b) (cts. 2,3). \t2M
\n");
}

///If Lanceros de Tayabas is clicked set the information to Lanceros de Tayabas


else if (data2.equalsIgnoreCase("Lanceros de Tayabas")){

form1.setText("Movements Particular to the Dance: \n" +


"\tSingle quadrille formation, seldom rearranged. The use of fans and Panam
hats (de faja) help create an exceptional high climax. \n" +
"Count: 1, 2, or 1, and, 2 or 1, and, 2 and to a measure.\n" +
"Formation: Dancers are arranged in set of four pairs in square formation.\n"
+
"\t\n" +
"\t\t\t\tPASEO \n" +
79

"Music C. \n" +
"\tPartners are arranged in a column formation, Girl at the right side of the
Boy. Inside arms are extended forward palms down, L hand of Girl placed on the R hand
of Boy. Boy’s hat is on the head, Girl holds fan with the R hand fanning self. \t\t\t\t\t\n" +
"(a) Starting with the R foot take 24 walking steps forward to proper places
in a quadrille formation facing counterclockwise (see Diagram A).\t\t\t\t\t12M\n" +
"\t\n" +
"(b) Take four steps, Girl moving half-way clockwise to finish inside the
square facing partner, while Boys do it in place leading the Girl (cts, 1, 2, 1, 2) (see
Diagram B and C).\t\t\t\t\t\t\t\t\t\t\t\t2M\n" +
"\n" +
"\t\t\t\t\t\tAudience\n" +
"(c) Release hold.\n" +
"Girl: \tstep L foot sideward, circle R arm to 5th position, L arm sideward
(cts. 1,2); cross R foot in rear of L and bend knees half-way, lower fan in 2nd position
(cts. 1,2), (2M).\n" +
"Boy: \tstep R foot forward, R arm forward holding hat, L arm in rear (cts.
1,2); step L foot backward and bend slightly forward, bring R arm to hayon-hayon
position, L arm in 5th position (cts. 1,2). \t\t\t\t\t\t\t2M \n" +
"\n" +
"Music A.\n" +
"\tBoys face counterclockwise, hat on hand, R arms raised obliquely upward,
while Girls face clockwise. R arm raised obliquely upward holding fan, L hand holding
skirt. \n" +
"(a) Take eight walking steps forward moving half-way meeting partner at
the opposite side of the set.\t\t\t\t\t\t\t\t\t\t4M \n" +
"(b) Two-step turn right moving forward to partner’s place, circle arm to 5th
position (cts. 1, 2); Turn and step with R foot, circle L arm to 5th position (cts. 1, 2)
\t\t2M \n" +
"(c) Girl: step L sideward facing partner (cts. 1, 2); cross R foot in rear of L
and bend knees slightly, raise R arm to 5th position, L hand holding skirt (cts. 1, 2).\n" +
"\tBoy: step L foot backward (cts. 1, 2); point R foot in front, arms as in (c)
of Paseo \n" +
"(d) Boys face clockwise, Girls face counterclockwise. Repeat (a – c). Finish
in starting place in front of partner. \n" +
"(e) Repeat (a – c). This time, raise L arm obliquely upward, Boys transfer
hats to L hands. Girls place R hand on waist with fan, L arm obliquely upward. Finish the
turn in the next formation. (see Diagram D). \t\n" +
"\n" +
"\t\t\t\t\t\tAudience\n" +
"\t\t\t\t\t\t\tII\n" +
"Music B.\n" +
80

"\tDancers face front. Boy 1 holds inside hands of Girl 1 and 2. Boy 3 holds
inside hands Girls 3 and Boys’ hats are placed on their heads. Girl hold fans with outside
hands. \n" +
"(a) Place R heel; forward (ct. 1), point same foot in front (ct. 2); change step
forward (cts. 1, and 2).\n" +
"\t(b) Repeat (a) with the L foot moving backward, Girls turning inward. \n"
+
"\t(c) Repeat (a) and (b), this time Girl turn outward to end up in front of
respective partners. \n" +
"Set facing clockwise.\n" +
"NOTE: Boys 2 and 4 clap hands obliquely upward L on counts 1, 2; 1, and
2 every two measures in (a – c).\n" +
"(d) The arm of Boy is joined overhead with R hand of Girl, L hand holding
L hand of Girl which is placed on waist. Take two changes steps forward moving in a
clockwise direction. \n" +
"(e) Boys take two change steps sideward right and left. Girls take two-step
under arch of arms. \n" +
"\t(f) Repeat (d) and (e)\n" +
"\n" +
"Music C. \n" +
"\tPartners stand side by side and join inside hands, still facing same
direction. \n" +
"(a) Starting with the inside foot, take eight change steps forward right and
left alternately. Swing inside arms forward and backward alternately every measure.
Outside hand of the Girl holding fan and fanning self, Boy’s hand on waist. Finish in a
column formation diagonally across the stage (see diagram E).\n" +
"\n" +
"\n" +
"\t\t\t\t\t\t\tIV\n" +
"Music D.\n" +
"\tBoys place hat on head, Girl holds closed fan with their R hands. \n" +
"\tPAIR No. 1\n" +
"\t\tPartners face each other. Join both hands, palms in, arms extended
obliquely downward and obliquely upward (L of boy, R of Girl down, opposite arms
up).\n" +
"(a) Starting with the L foot of Boy and R of Girl, execute heel and toe
change steps sideward. \t\t\t\t\t\t\t\t\t\t2M\n" +
"(b) Face the opposite direction and repeat (a) with the opposite foot.
Reverse arm position. \t\t\t\t\t\t\t\t\t\t2M\n" +
"\t(c) Immediately transfer weight on the free foot (ct. and), repeat (b) two
times more. 4M\n" +
81

"(d) Quarter turn right immediately transfer weight again on free foot and
raise the other foot across in front and bend trunk slightly sideward (ct. and). Take four
chasing steps sideward (cts. 1, and, 2, and, 1 and, 2), repeat same steps (2M).\t\t\t4M\n" +
"\t(e) Face the opposite direction and repeat (d) with the opposite foot. \t\t4M
\n" +
"PAIR No. 2\n" +
"\t\tPartners are facing front about six feet apart.\n" +
"(a) Point outside foot forward and clap hands overhead five times on counts
1, 2; 1, and, 2. \t\t\t\t\t\t\t\t\t\t\t2M \n" +
"\t(b) Repeat movements of Pair No. 1 in (a) and (b) without joining hands.
\t\t4M\n" +
"\t(c) Repeat Pair No. 1’s movements in (c) but doing it once only.
\t\t\t2M\n" +
"\t(d) Repeat Pair No. 1’s movements in (d) and (e), joining hands and
following Pair 1. 8M\n" +
"\t\n" +
"PAIRS No. 3 and 4\n" +
"\t(a) Repeat movements of pair No. 2 in (a) two times. \t\t\t\t4M \n" +
"\t(b) Repeat movements of Pair No. 1 in (a) two times. \t\t\t\t4M\n" +
"(c) Quarter Turn left and repeat movements of Pair No. 1 (d) and (c),
following each other. Finish in a square formation facing opposite pairs (see diagram F).
\t\t\t8M \n" +
"\t\t\t\t\t\tAudience\n" +
"ALL PAIRS: Hold in ballroom dancing position.\n" +
"\t(a) Repeat chasing steps as in (d) of Pair No. 1. Finish in one line at center.
\t2M\n" +
"\t(b) Repeat (a) finishing in opposite pair’s place. \t\t\t\t\t2M\n" +
"\t(c) Quarter Turn right and repeat same movements. \t\t\t\t2M\n" +
"(d) Face the opposite direction and repeat (c) with the opposite foot. Release
hold and face each other. \t\t\t\t\t\t\t\t\t2M\n" +
"\n" +
"\t\t\t\t\t\tV\n" +
"\t\t\t\t\t Do-si-do \n" +
"Music E. \n" +
"\tDo-si-do: Four walking steps forward passing R to R, four steps backward
passing L to L. \n" +
"\tGirl: \tExecute the do-si-do, forearm turn forward with the R holding the
open fan. Finish with the knuckles up (fan is perpendicular facing down), L forearm bent
in rear (as in hayon-hayon). \t\t\t\t\t\t\t\t\t2M\n" +
"\tReverse the positions of the arms in moving backward. Place the fan flat
on back. 2M\n" +
82

"\tBoy: \tExecute the do-si-do with the arms in hayon-hayon position, R


forearm in front for the first two measures and reverse the position of the arms on the last
two measures. 4M\n" +
"\t(a) Girls execute the do-si-do. Boys march in place, arms down at sides
(8cts.)\n" +
"\t(b) Double do-si-do. Boys and Girls execute do-si-do with opposite
partners. \n" +
"(c) Girls take four steps forward to opposite place (4 cts.); four steps turning
right about (4cts)\n" +
"\tBoys execute do-si-do. \n" +
"\t(d) Do-si-do with partners. Finish in two small squares (sets of two pairs)
(see diagram G)\n" +
"\t\t\t\t\t\tAudience\n" +
"\n" +
"\t\t\t\t\t\tVI\n" +
"Music F. \n" +
"\tPartners face the center of the set. \n" +
"\t(a) Girls execute do-si-do. Boys march in place, arms in Figure VII (a).\n"
+
"(b) Boys execute do-si-do. Girls take four two-step turns in place, R arm in
5th position, L hand holding skirt.\n" +
"\t(c) Execute do-si-do with partners. \n" +
"\t(d) Execute do-si-do with the opposite. \n" +
"\t\t\t\t\t\tVII\n" +
"Music G. \n" +
"\tDancers stand side by side facing opposite pairs. \n" +
"(a) Starting with the L foot, take three steps backward ((cts. 1,2,1), lean
slightly back with a head throw and Boys place hats on head (ct. 2); take four steps
forward and hook R elbow with opposites on the last count (4 cts.).\n" +
"\t(b) Take eight steps turning counterclockwise. Finish in the next
formation. \n" +
"(c) Join R hands with partner. Boys points L foot in rear, L arm extended
backward holding hat (3M). Girls executes three two-step turns right under arch of arms,
L hand holding skirt. \n" +
"\t(d) Join both hands and pull away from each other (2 cts.).\n" +
"\t(e) Boy puts the Girl close to him steals a kiss covering his face with the
hat (4 cts.).\n" +
"(f) Release hold. Take a two-step away from each other (cts. 1,2). Step
inside foot forward, joining hands, outside arm obliquely upward. Boy holds hat with
outside hand. Girl holds fan with inside hand. \n");
}
///If Magkasuyo is clicked set the information to Magkasuyo
83

else if (data2.equalsIgnoreCase("Magkasuyo")){

form1.setText("");
}

///If Pabo is clicked set the information to Pabo


else if (data2.equalsIgnoreCase("Pabo")){

form1.setText("Formation: \tCouples hold as in ballroom dancing position. They


are scattered around the room. \n" +
"\tA leader is chosen to give the signals and a young man is designated as the
first pabo (turkey). \n" +
"Note: \tWaltz step is done in figures I and II if the music used is waltz. \n" +
"\t\t\t\t\t\t\n" +
"I \n" +
"\t\t\t\t\t\tCIRCLE\n" +
"Music B. \n" +
"\tAt signal, all couples separate and form single circle facing center, hands
joined. The Girls stand at the right side of their respective partners. The Pabo stays inside
the circle. \n" +
"\tAll circle dancers execute habanera steps, forward R and backward L
alternately. As this step is being done, they move little by little counterclockwise. Swing
arms forward-upward and downward-backward alternately. Once in a while the
meantime, moves around looking for a suitable partner. \t\t\t\t\t\t\t\t\t\t14M\n" +
"\tAt the next signal, circle dancers exchange partners. The Pabo at the same
time, tries to get a partner. The one left without a partner is the new Pabo. \n" +
"\tAll dance again until the signal is given to stop and form a circle. Music A
is always played for part one of the dance and B for the second part, the circle. \n" +
"\tNOTE: If there is a large number of participants, two or three Pabo may be
chosen to make the dance more interesting. The dance may be repeated as many times as
desired. \n");
}

///If Panchita is clicked set the information to Panchita


else if (data2.equalsIgnoreCase("Panchita")){
84

form1.setText("Formation: Partners stand opposite each other about six feet apart.
When facing audience, Girl stands at right side of partner. One to any number of parts
may take part in this dance.\n" +
"\t\t\t\t\t\n" +
"\t\t\t\t\t\tIntroduction\n" +
"Music Introduction. \n" +
"\tPartners face audience.\n" +
"( e ) Execute a three-step turn right in place (cts. 1, 2, 3), feet together and
bow to audience (cts. 1, 2, 3). Girl holds skirt, Boy places hands on waist. \t\t2M\n" +
"\n" +
"Music A. \n" +
"\tPartners face right, L shoulders toward audience.\n" +
"(a)\tStep R sideward (ct. 1) close to L to R (cts. 2, 3). Girl holds skirt, Boy
places hands on waist. \t\t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tWaltz L sideward, L arm reverse “T” position, R arm bent forward
shoulder level (1M), repeat same R foot, repeat same with R foot, reverse position of
arms (1M). Turn left to face audience and step L in place (ct. 1) step R close to L and
pause (cts. 2, 3), Girl holds skirt, Boy places hands on waist (1M). \t\t\t\t3M\n" +
"(c)\tFace left, R shoulders toward audience. Repeat (a) and (b), starting with
L foot. Reverse position of arms when doing the waltz steps, R and L. \t\t\t4M\n" +
"(d)\tStarting with R foot, take four step-swings moving backward. Girl
holds skirt, Boy places hands on waist. \t\t\t\t\t\t\t\t4M\n" +
"(e)\tStarting with R foot, take three waltz steps forward. Arms in lateral
position, moving sideward right and left alternately (3M. Pause, Girl holds skirt, Boy
places hands on waist (1M). \t\t\t\t\t\t\t\t\t4M\n" +
"(f)\tRepeat all (a - e). \t\t\t\t\t\t\t\t\t16M\n" +
"\n" +
"II\n" +
"Music B. \n" +
"\tPartners face each other. \n" +
"(a)\tHop on R foot and at the same time point L in front, Girl holds skirt,
Boy places hands on waist (cts. 1, 2, 3). \t\t\t\t\t\t\t1M\n" +
"(b)\tStep L foot across R in rear (ct. 1), step R sideward (ct. 2), step L close
to R (ct. 3). Hands as in in (a). \t\t\t\t\t\t\t\t\t1M\n" +
"(c)\tRepeat (a) and (b), starting with L foot. \t\t\t\t\t\t2M\n" +
"(d)\tRepeat (a-c). Do not put weight on the R foot at the eight measure.
\t\t4M\n" +
"(e)\tGirl – take four sway balance steps with a hop, R and L alternately.
Arms in fourth position, R and L high alternately. Boy in the meantime waltzes sideward,
R and L foot alternately eight times, clapping hands sideward right and left alternately on
cts. 2, 3 of every measure. \t\t\t\t\t\t\t8M\n" +
85

"(f)\tRepeat all (a-e). Boy doing the Girl’s movements in (e) and vice-versa.
\t\t16M\n" +
"\n" +
"III\n" +
"Music A. \n" +
"\tRepeat figure I. \t\t\t\t\t\t\t\t\t32M\n" +
"\n" +
"\t\t\t\t\t\t\tIV\n" +
"Music C. Slower. \n" +
"\tPartners face each other. \n" +
"(a)\tWaltz R obliquely forward right to be in one line at center in back-to-
back position with Girl facing audience and Boy facing away. Arms in lateral position
sideward right. \t\t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tWaltz L sideward to be side by side with partner by R shoulders. Arms
in third position, L arm high. Finish waltz step with feet apart (L foot side in third
position , L arm high. Finish the waltz step with feet apart (L foot sideward and weight of
body on it and R foot pointing sideward), bend trunk slightly toward right and smile at
each other. \t\t\t\t\t\t\t\t\t1M\n" +
"(c)\tRepeat (b), starting with R foot, taking bidder steps to be side by side
with partner by L shoulder, passing back-to-back. Reverse position of arms and bending
of trunk.\t\t\t\t\t\t\t\t\t\t\t\t 1M\n" +
"(d)\tPartners face each other. Waltz L obliquely forward left to be one line
at center in back-to-back position with Boy facing audience and Girl facing away. Arms
in lateral position sideward left. \t\t\t\t\t\t\t\t1M\n" +
"(e)\tWaltz R sideward to be side by side by L shoulders. Arms in third
position, R arm high. Finishing the waltz step with feet apart (R foot sideward and weight
of body on it and L foot pointing sideward), bend trunk slightly toward left and smile at
each other. \t\t\t\t\t\t\t\t\t\t1M\n" +
"(f)\tWaltz L sideward to be side by side with partner by R shoulders,
passing back-to-back. Arms in third position, L arm high. Finish the waltz steps as in (b)
and bend trunk toward the pointing foot still smiling each other. \t\t\t\t1M\n" +
"(g)\tPartners face each other. Repeat (a-f). \t\t\t\t\t\t6M\n" +
"(h)\tRepeat (a) and (b). \t\t\t\t\t\t\t\t2M\n" +
"(i)\tWaltz turn right to proper places. Girl holds skirt, Boy places hands on
waist. Finish facing each other. \t\t\t\t\t\t\t\t2M\n" +
"(j)\tRepeat all (a – i).\t\t\t\t\t\t\t\t\t16M \n" +
"Note: When waltzing sideward, take bigger steps. \n" +
"\n" +
"\t\t\t\t\tSaludo\n" +
"Music Finale.\n" +
"(a)\tExecute a three-step turn right in place (cts. 1, 2, 3) feet together and
bow each other (cts. 1, 2). Girl holds skirt, Boy places hands on waist. \t\t\t5cts. \n" +
86

"NOTE: If desired, the dance may be repeated in different formation and the
saludo is done only at the end. \n");

///If Polka is clicked set the information to Polka


else if (data2.equalsIgnoreCase("Polka")){

form1.setText("Formation\t: Dancers are grouped in sets of four pairs. Each pair


stands at corner of an imaginary square, facing center. Partners hold in ballroom dance
position, arms extended toward center. They are numbered as pairs 1,2,3, and 4 (see
diagram below). One or more step may take part in this dance. \n" +
"\t\t\tI\n" +
"Music A. \n" +
"(a)\tGirls start with R and Boys, with L foot. Take one polka step forward
toward center (1M) and one polka step away from center (1M). \t\t\t\t2M\n" +
"(b)\tRepeat (a). \t\t\t\t\t\t\t\t\t2M\n" +
"(c)\tPartners take four polka steps turning around clockwise in place. Finish
facing toward center. \t\t\t\t\t\t\t\t\t4M\n" +
"(d)\tRepeat (a – c). Finish facing outward (away from center). \t\t\t8M\n" +
"(e)\tRepeat all (a – d), starting away from center. Finish with partners facing
each other about two feet apart, Girls inside the square. Release hold (see diagram
below). 16M\n" +
"\n" +
"II\n" +
"Music B.\n" +
"\tPartners face each other. \n" +
"(a)\tTake twelve contra-gansa steps sideward, R and L alternately. Girls
hold skirts, Boys place hands of waists. \t\t\t\t\t\t\t\t12M\n" +
"\n" +
"(b)\tGirls 3 and 4, Boys 1 and 2 turn right about so that after turning, Boys 1
and 3, and Nos. 2 and 4, Girls 1 and 3, and Nos. 2 and 4 are facing each when exchanging
places. \n" +
"\tTake four gallop steps sideward to exchange places (see diagram above),
R arm in fifth position, L arm bent forward at shoulder level when going to left and
reverse position of arms when going right. \t\t\t\t\t\t\t\t\t\t2M\n" +
"(c)\tTake four gallops sideward going back to places. Reverse position of
arms. \t2M\n" +
87

"(d)\tRepeat all (a – c), this time exchange places with partners in gallop
steps in (b). Partners are facing each other when exchanging places (see diagram).
\t16M\n" +
"\t\n" +
"\n" +
"\t\t\t\t\tIII\n" +
"Music C. \n" +
"\tPairs 1 and 3, and 2 and 4 face each other so that there are two sets of two
pairs. Dancers of each set face center of their own square. (see diagram below).\n" +
"\n" +
"Girls 3 and 4, and Boys 1 and 2, clap hands in this manner: clap once (cts.
1, and) clap once (cts. 2, and), clap three times (cts. 1 and 2), pause (ct. and). Do this for
sixteen measures. Girls 1 and 2 and Boys 3 and 4 in the meantime dance the following
steps:\n" +
"(a)\tJump in place so that R foot is placed in front and the L foot I rear.
Open arms to second position. \t\t\t\t\t\t\t1M\n" +
"(b)\tJump again and reverse position of feet. Clap hands once (ct. 1), and
bend body slightly forward and pause (cts. and 2, and). \t\t\t1M\n" +
"(c)\tPivot turn right. R arm in fifth position, L hand on waist. \t\t2M\t\n" +
"(d)\tRepeat (a –c) three more times, starting and turning L, R, L. \t\t12M\n"
+
"(e)\tRepeat all (a – d). This time those who clapped hands, dance and those
who dances, clap hands. \t\t\t\t\t\t\t16M\n" +
"\n" +
"IV\n" +
"Music A. \n" +
"\tDancers return to original places as in figure I (a). Hold in ballroom dance
position. Girls start with R and Boys with L foot.\n" +
"(a)\tTake two polka steps forward to center. \t\t\t\t\t\t2M\n" +
"(b)\tTake two polka steps clockwise to turn about so that partners face
outward at end of turn. \t\t\t\t\t\t\t\t\t\t2M\n" +
"(c)\tRepeat (a), going away from center. \t\t\t\t\t\t2M\n" +
"(d)\tRepeat (b), finishing facing center. \t\t\t\t\t\t2M\n" +
"(e)\tRepeat all (a – d). \t\t\t\t\t\t\t\t\t8M \n" +
"(f)\tPairs 1 and 3,2 and 4 face each other. Partners join inside hands, free
hands down at sides, Girl at right side of partner. Starting with outside foot, take two heel
and toe polka steps forward to exchange places, Pairs 1 and 4 passing inside. \t\t4M\n" +
"(g)\tPartners hold in ballroom dancing position. Take four hop polka steps
turning clockwise in place. \t\t\t\t\t\t\t\t4M\n" +
"(h)\tRepeat (f) and (g) going back to proper places. \t\t\t\t\t8M\n" +
"\n" +
"SALUDO\n" +
88

"Music Finale. \n" +


"\tPartners face audience. Join inside hands, free hands down at sides. Girls
turn counterclockwise under arch of arms and bow to each other or to audience. 3M\n" +
"\tNote: The dance may be repeated as many times as desired, the saludo
being done only at the end. \n");
}

///If Putritos is clicked set the information to Putritos


else if (data2.equalsIgnoreCase("Putritos")){

form1.setText("INTRODUCTION\n" +
"Music Introduction. \n" +
"\tPartners face audience. \n" +
"(a)\tPoint R foot obliquely forward, R hand of Girl holding skirt, L hand on
waist. Boy places hands on waist. Girl looks at R elbow which is placed a little bit in
front. Stay in this position for eight measures. \t\t\t\t\t\t8M\n" +
"(b)\tThree-step turn right in place and bow to partner or audience. Girl
holding skirt, Boys’s hands as in (a). \t\t\t\t\t\t\t\t2M\n" +
"I\n" +
"\t\t\t\t\tPOINT, CROSS POINT\n" +
"Music A. \n" +
"\tGirl faces audience, Boy turns back to audience. \n" +
"\tThroughout this figure, Girl holds her skirt and Boy places hands on waist.
\n" +
"(a)\tPoint L foot sideward (cts. 1, 2), point L across R foot in front (ct. 3).
Repeat same (3cts.). \t\t\t\t\t\t\t\t\t\t2M\n" +
"(b)\tCross turn right about. \t\t\t\t\t\t\t\t1M\n" +
"(c)\tRepeat (a), but step L close to R on ct. 3 of repetition. \t\t\t\t2M\n" +
"(d)\tPartners face each other. Take one waltz step obliquely forward right so
that partners are in one-line standing by each other’s L shoulder after executing the step
(1M). Turn right about and immediately take one waltz step with L foot obliquely
backward right to partner’s place. At the end of this step partners are facing other (1M).
Partners take big steps. \t\t\t\t\t\t\t2M\n" +
"(e)\tRepeat (d), finishing in proper places. \t\t\t\t\t\t2M\n" +
"(f)\tPause. \t\t\t\t\t\t\t\t\t\t2M\n" +
"(g)\tRepeat (a – e). \t\t\t\t\t\t\t\t\t9M\n" +
"(h)\tStep R foot forward (1M). Cross L foot over R in front (1M).
\t\t\t2M\n" +
"(i)\tCross turn right (1M), bow to partner (1M). \t\t\t\t\t2M\n" +
"(j)\tHold in ballroom dance position facing audience, extended arms toward
audience.\t\t\t\t\t\t\t\t\t\t\t\t 1M\n" +
89

"II\n" +
"TURNING IN FULL-KNEE BENT\t\n" +
"Music B. Play slowly.\n" +
"(a)\tStep forward with outside foot (1M). Cross inside foot in front outside
foot (1M). 2M\n" +
"(b)\tRelease inside hands, join outside hands. Make a complete turn away
from each other passing under arch of joined hands. The turn is made with knees bent
full, body erect, and heels raised. Finish turn in standing (upright) position facing
audience. \t\t\t\t\t\t\t\t\t\t2M\n" +
"(c)\tRepeat (a) and (b) but execute an about turn only so that after the urn,
partners are facing away from audience. \t\t\t\t\t\t\t2M\n" +
"(d)\tRepeat all (a – c). Partners finish each other at last turn, returning to
proper places.\t\t\t\t\t\t\t\t\t\t\t\t8M\n" +
"III\n" +
"\t\t\t\t\tBRUSH-STEP TURN\n" +
"Music C. Play faster.\n" +
"\tThe movement of Boy and Girl are done simultaneously. Partners face
each other. \n" +
"\tGIRL\n" +
"(a)\tExecute a brush-step turn right. Do not weight on L foot on the fourth
measure. R arm in fifth position, L arm bent forward level. \t\t\t\t\t4M\n" +
"(b)\tRepeat (a), turning left. Reverse position of arms. \t\t\t\t4M\n" +
"(c)\tRepeat Boy’s movements from (a) to (c) below. \t\t\t\t\t8M\n" +
"BOY\n" +
"(a)\tPoint R foot obliquely forward and bend body slightly to right. Clap
hands at right side on cts. 1, 3, 1. Step R foot close to L on count 3 of second measure.
\t2M\n" +
"(b)\tRepeat (a), pointing with L foot. Clap hands in same manner at the left
side. \t2M\n" +
"(c)\tRepeat (a) and (b). \t\t\t\t\t\t\t\t4M\n" +
"(d)\tRepeat Girl’s movements in (a) and (b) above. \t\t\t\t\t8M\n" +
"\n" +
"IV\n" +
"\t\t\t\tSTEP-BRUSH-STEP FORWARD\n" +
"Music D. Repeat four times.\n" +
"\tGirl faces audience; Boy, away from audience.\n" +
"(a)\tStep R foot forward (ct. 1), brush L forward (ct. 2), step L close to R
foot (ct. 3). Repeat same once more (cts. 1, 2, 3). R arm in reverse “T” position, L arm
bent forward at shoulder level. \t\t\t\t\t\t\t2M\n" +
"(b)\tStep R foot forward (ct. 1), brush L (ct. 2), tap L in front (ct. 3). Tap L
foot again (ct. 1), pause (cts. 2, 3). Arms as in (a). \t\t\t\t\t\t2M\n" +
"(c)\tTurn left about. 1M\n" +
90

"(d)\tRepeat (a) and (b), starting with L foot. Reverse position of arms.
\t\t4M\n" +
"(e)\tTurn right about. 1M\n" +
"(f)\tRepeat all (a – e). Finish facing each other. \t\t\t\t\t10M\n" +
"\n" +
"V\n" +
"\t\t\t\t\tSLIDE AND SALOK\n" +
"Music E. \n" +
"\tAs this step is being done, partners move toward each other’s place, as
illustrated in diagram A. \n" +
"(a)\tSlide R foot forward (cts. 1, 2), stamp L close to R foot at the same time
facing partner (ct. 3), R arm in fifth position while doing the slide on cts. 1, 2 and both
arms are in fifth position on cts. 3, 1, 2, 3. \t\t\t\t\t\t2M\n" +
"(b)\tRepeat (a), three more times, starting always with R foot and executing
salok with L hand. Finish in partner’s place, facing each other. \t\t\t\t6M\n" +
"(c)\tRepeat all (a) and (b), starting L foot always, retracting steps (see
diagram B below). Reverse position of arms. Finish in proper places facing each other.
\t\t8M\n" +
"\t\n" +
"\t\t\t\t\t\n" +
"\t\t\t\tDiagram B\n" +
"\t\t\t\n" +
"\t\t\t\t\t\n" +
"VI\n" +
"\t\t\t\tRUBBER LEGS \n" +
"Music F. Play slowly. \n" +
"(a)\tGirl crosses L foot over R in front, hands holding skirt; Boy crosses R
foot over L in front, hands on waist. \t\t\t\t\t\t\t\t1M\n" +
"(b)\tGirl puts weight on L and R foot, alternately, four times (4 cts.), pause
(2 cts.). Boy does the same with opposite foot. \t\t\t\t\t\t2M\n" +
"(c)\tRepeat, transferring weight four times as in (b) (4 cts.) Cross turn (right
for Girl, left for Boy) (2 cts.). Finish near each other at center facing audience, Boy
taking one close step forward L and Girl forward R. Boy holds waist of Girl with his R
hand, his L hand on his waist. Girl’s L hand rests on R arm of Boy, her R holding skirt (3
cts.). 3M\n" +
"\n" +
"VII\n" +
"\t\t\t\t\t\tKNEELING\n" +
"Music G. Play slowly. \n" +
"\tPartners face audience. Same position as of the last three counts of figure
VI (c).\n" +
91

"(a)\tWaltz balance forward with outside foot (1M), waltz balance backward
with inside foot (1M). Partners look at each other. \t\t\t\t\t\t2M\n" +
"(b)\tStep forward with outside foot (ct. 1), bring inside foot close to outside
foot without putting weight on it (cts. 1, 2, 3). Look outward at rear foot while kneeling.
\t2M\n" +
"(c)\tStand and repeat (a). \t\t\t\t\t\t\t\t2M\n" +
"(d)\tStep forward with outside foot (ct. 1), cross inside foot over outside
foot (cts. 2, 3). Cross turnabout outward with knees bent full (right turn for Girl, left for
Boy). 2M\n" +
"(e)\tRepeat all (a – d). Finish facing audience, away from each other.
\t\t8M\n" +
"\n" +
"VIII\n" +
"\t\t\t\t\t\tCLAPPING\n" +
"Music H. Play faster. \n" +
"(a)\tStarting with inside foot, take one close step to center so that Boy
finishes behind partner. Clap hands once on ct. 1. \t\t\t\t\t\t1M\n" +
"(b)\tGirl takes one big waltz step sideward L and Boy sideward R, that is,
partners waltz away from each other. Clap hands on cts. 1, 3. Partners look at each other.
\t1M\n" +
"(c)\tRepeat (b) six more times, Girl doing it R and L, Boy L and R
alternately. Partners are waltzing away from each other in reverse directions. Clap hands
as in (b). \t6M\n" +
"(d)\tPartners turn right about to face the opposite direction. Repeat all (a –
c). Finish facing audience side by side at center. \t\t\t\t\t\t8M\n" +
"\n" +
"IX\n" +
"\t\t\t\t\tSTEP-BRUSH-STEP OTWARD\t\n" +
"Music I. \n" +
"(a)\tStarting with outside foot, repeat step-brush-step movements of figure
IV (a) and (b), going outward to proper places. Outside arm in reverse “T” position,
inside arm bent in front at shoulder level (4M). Pause (1M). \t\t\t\t5M\n" +
"(b)\tRepeat (a), starting with inside foot and moving forward toward
audience. Reverse position of arms. \t\t\t\t\t\t\t\t\t5M\n" +
"\n" +
"X\n" +
"\t\t\t\t\tWALTZING FORWARD AND BACKWARD\n" +
"Music J. Play faster. \n" +
"\tPartners face each other. Girl holds skirt. Boy places hands on waist
throughout this figure. Take big steps. \n" +
"(a)\tStarting with R foot, repeat figure I, (d) and (e), twice. \t\t\t\t8M\n" +
92

"(b)\tRepeat (a), starting with L foot. Reverse directions and turns.


\t\t\t8M\n" +
"\n" +
"SALUDO\n" +
"Music Finale. \n" +
"(a)\tPartners face each other. Join R hands, free hand of Girl holding skirt,
that of Boy is placed on waist. \n" +
"Girl makes as many whirl turns in place clockwise as the music will allow,
turning under arch of R arms (3M). Pause (1M). In the meantime, Boy stands still with R
foot across L in front. \t\t\t\t\t\t\t\t\t4M\n" +
"(b)\tPartners face audience. Join inside hands, free hands as in (a). Starting
with R foot, take three steps forward (cts. 1, 2, 3), close L foot to R and pause (cts. 1, 2,
3). 2M \n" +
"(c)\tBow to audience (1M). Girl steps L foot sideward and points R
sideward, arms in fourth position L arm high. The Boy does the same stepping R foot
sideward and pointing L sideward, arms in fourth position, R arm high. The Girl finishes
slightly in front of partner (1M). \t\t\t\t\t\t\t\t2M \n");
}

///If Malagueña is clicked set the information to Malagueña


else if (data2.equalsIgnoreCase("Malagueña")){

form1.setText("Movements Particular to the Dance: \n" +


"1.\tDainty walking steps tracing circles to emphasize long train (cola)\n" +
"2.\tArm placement, L extended to L side, R elbow flexed, R hand over
chest, head slightly bent to L, flap both elbows up to down.\n" +
"\n" +
"\t\t\t\t\tENTRANCE\n" +
"Music Introduction\n" +
"\tComing from the opposite sides of the stage or dancing area, take forty-
eight walking steps forward moving in an imaginary figure of 8. End up at the center
facing each other. 16M \n" +
"\t\t\t\t\t\t\n" +
"\t\t\t\t\t\tI\n" +
"Music A \n" +
"\tDancers face each other. \n" +
"\t\tWaltz sideward right (1M); quarter turn right and take two waltz steps
sideward left and sideward right in the back to back position (2M); quarter turn left and
waltz sideward left, face to face (1M); quarter turn left and waltz sideward right and left
in back to back position (2M); quarter turn right and waltz sideward right and left, face to
face. \t\t2M\n" +
93

"\t\n" +
"\t\t\t\t\t\tII\n" +
"Music B \n" +
"\t(a) Starting with the R foot, take three sway balance steps with a waltz.
Arms open from \n" +
"second to fourth position, R and L arm high alternately every two
measures.\t6M\n" +
"\t(b) Moderate waltz turn sideward left, forearm turn right and left.\t\t\t2M
\n" +
"(c) Repeat (a) and (b) starting L. End up diagonally opposite each other. At
the opposite corners of an imaginary square (see the diagram).\t\t\t\t\t2M \n" +
"\t\t\n" +
"\t\t\t\t\t\t\n" +
"III\n" +
"Music C.\n" +
"(a) Starting with the R, take three walking steps forward to the next corner
of an imaginary square, travelling counterclockwise (cts. 1, 2, 3); close L to R (ct. 1),
pause (cts. 2, 3). Hold skirt.\t\t\t\t\t\t\t\t\t2M\n" +
"(b) Point L foot sideward to the center of the square (cts. 1, 2), close it to R
foot (ct. 3); repeat same (cts. 1, 2, 3). Arms are in third position R arm up. Turn palms up
(ct. 1) turn them up (cts. 2, 3) every measure.\t\t\t\t\t\t\t2M \n" +
"\t(c) Repeat (a) and (b) three times more, finishing in proper
places.\t\t\t12M\n" +
"\t\t\t\t\t\t\n" +
"IV\n" +
"Music D. \n" +
"\tPartners face away from each other. \n" +
"(a) Waltz sideward right, both arms sideward right, raise elbows two times
on counts 2, 3.\t\t\t\t\t\t\t\t\t\t\t1M \n" +
"\t(b) Repeat (a) to the left. Reverse position of arms.\t\t\t\t\t1M \n" +
"(c) Repeat (a) and (b) moving little by little inward to finish in back-to-back
position. 2M\n" +
"\t(d) Repeat (a-c) moving sideward left back to proper places.\t\t\t4M\n" +
"(e) Quarter turn right to face each other. Repeat (a-c) moving little by little
to center, one behind to other.\t\t\t\t\t\t\t\t\t4M\n" +
"\t(f) Repeat (a-c) in place. Take a close step on the last measure.\t\t\t4M\n"
+
"\t\t\t\t\t\t\n" +
"V\n" +
"Music E and F. \n" +
"(a) Quarter turn right and step sideward left (ct. 1), click R foot to L foot (ct.
2), step R sideward (ct. 3); Repeat same two times more (2M) face each other and step L
94

sideward (ct. 1), close R to L (cts. 2, 3). Raise outside arm to fifth position on (cts. 1, 2),
and open to amplified fifth position on (ct. 3), L hand holding skirt, every
measure.\t\t4M\n" +
"(b) Quarter turn left and repeat (a) starting R. Reverse position and
movements of arm. \t\t\t\t\t\t\t\t\t\t\t\t\t4M\n" +
"(c) Repeat (a) and (b). \t\t\t\t\t\t\t\t8M\n" +
"\t\t\t\t\t\t\n" +
"VI\n" +
"Music C.\n" +
"\tFace each other.\n" +
"(a) Take a sway balance with a raise turning sideward, raise arms from
second to fourth position R arm high. \t\t\t\t\t\t\t\t\t2M\n" +
"\t(b) Repeat (a) to the left.\t\t\t\t\t\t\t\t2M \n" +
"\t(c) Repeat (a) and (b).\t \t\t\t\t\t\t\t\t4M\n" +
"\t\t\t\t\t\t\n" +
"VII\n" +
"Music D.\n" +
"\tFace each other. \n" +
"(a) Step R sideward, arms obliquely forward-downward, palms up (ct. 1),
raise L foot forward and raise arms to chest level (cts. 2, 3). \t\t\t\t\t1M\n" +
"\t(b) Repeat (a) seven times more L and R alternately traveling
counterclockwise. \t7M\n" +
"\t\t\t\t\t\t\n" +
"VIII\n" +
"Music D.\n" +
"(a) Join R hands. Take six walking steps forward moving half-way
clockwise to partner’s place. \t\t\t\t\t\t\t\t\t\t\t2M\n" +
"\t(b) Take six walking steps turning right in place.\t \t\t\t\t2M\n" +
"\t(c) Join L hands and repeat (a) moving half-way counterclockwise to
proper places. 2M\n" +
"\t(d) Repeat (b) turning left.\t\t\t\t\t\t\t\t2M\n" +
"\t\t\t\t\t\t\n" +
"IX\n" +
"Music E.\n" +
"\tFace audience standing side by side. \n" +
"(a) Repeat Figure IV (a-c) two times moving little by little to center to
finish in one column.\t\t\t\t\t\t\t\t\t\t8M \n" +
"(b) Repeat entrance taking only twenty-four walking steps. End up at center,
side by side facing obliquely forward right for the one at the right and obliquely forward
left for the one the left.\t\t\t\t\t\t\t\t\t\t8M \n" +
"(c) Take a three-step turn right in place (cts. 1, 2, 3); step L forward (ct. 1),
bow to audience, arms obliquely downward (cts. 2, 3). \t \t\t\t\t2M\n");
95

///If Buling-buling is clicked set the information to Buling-buling


else if (data2.equalsIgnoreCase("Buling-buling")) {

form1.setText("Movements/Steps Particular to Dance:\n" +


"1.\tBuling step (3/4): step (ct.1), brush (ct.2), step (ct.3); step (ct.1), brush
(cts. 2, 3). 2M\n" +
"2.\tBuling step with a hop (3/4): step (ct.1), brush (ct.2), step (ct.3); step
(ct.1), brush (ct.2), hop (ct.3). \t\t\t\t\t\t\t\t\t2M\n" +
"Formation: \tPartners stand opposite each other about six feet apart. When
facing audience, Girl stands at the right side of the Boy. One to any number of pairs may
take part in the dance. \n" +
"\n" +
"\t\t\t\t\t\tEntrance\n" +
"Music A.\n" +
"\tPartners enter from one side of the stage on hall. Each dancer holds a
small plate on the palm of the inside hand, inside arm extended forward. The outside arm
is in reverse “T” position. \n" +
"(a)\tStarting with the R foot, take 28 walking steps forward to proper places.
Kumintang free hand once every measure. \t\t\t\t14M\n" +
"(b)\tBoy: Take a three-step turn right in place (cts. 1,2,3); close L foot to R
and bow to audience, L hand on waist, R arm forward (1M).\n" +
"Girl: Transfer plate to right hand and take a three-step turn right right in
place (cts. 1, 2, 3); step L sideward (cts. 1,2), point R across L in rear and bend knees
slightly. Forearm turn right to reverse “T” position, left hand holding skirt (ct. 3).\n" +
"\n" +
"\t\t\t\t\tI\n" +
"Music B.\n" +
"\tPartners face audience. Raise R arm forward at waist level, left hand of
Girl holding skirt, that of Boy on waist. \n" +
"(a)\tWaltz forward right and backward left, raising shoulders on count two
of every measure.\t\t\t\t\t\t\t\t\t\t2M\n" +
"(Girl omits the last step and transfer plate to L hand.)\n" +
"(b)\tPoint inside foot sideward, inside arm sideward, outside arm in reverse.
“T” position (cts. 1, 2), point it close to the outside foot, kumintang outside hand (ct. 3);
repeat same (cts. 1, 2, 3).\t\t\t\t\t\t\t\t\t2M\n" +
"(c)\tFace partner. Girl transfers plate to R hand. Repeat (a). \t\t\t\t2M\n" +
"(d)\tWaltz turn half-way clockwise to partner’s place, R arm raised
obliquely upward.\t\t\t\t\t\t\t\t\t\t\t\t2M\n" +
96

"(e)\tRepeat (a). \t\t\t\t\t\t\t\t\t2M\n" +


"(f)\tWaltz turn right in place to face each other. \t\t\t\t\t2M\n" +
"(g)\tRepeat(a). \t\t\t\t\t\t\t\t\t\t2M\n" +
"(h)\tRepeat (d). Finish in proper places. \t\t\t\t\t\t2M \n" +
"\n" +
"II\n" +
"Music C.\n" +
"\tPartners face each other. Movements of the Boy and the Girl are done
simultaneously. \n" +
"\tBoys: Kneel on L, half-stand on R, L hand on hip, R arm forward. \n" +
"(a)\tMove R arm slowly sideward-upward. \t\t\t\t\t2M \n" +
"(b)\tMove it back to center in front. \t\t\t\t\t\t2M\n" +
"(c)\tTransfer plate to L hand and repeat (a) and (b) with the L arm. \t\t4M\n"
+
"(d)\tRepeat (a – c). On the last measure place the plate on floor at his right
side and standup facing audience. \n" +
"Girl: Face partner.\n" +
"(a)\tStarting with the R foot, take two Buling steps forward moving half-
way clockwise to finish behind the Boy. Hold plate with the R hand, arm sideward.
Kumintang L hand overhead once every measure. \t\t\t4M\n" +
"(b)\tBrush-step turn right in place, arms as in (a). \t\t\t\t4M\n" +
"(c)\tRepeat (a) and (b) starting with the L foot. Reverse the turn in (b).
\t8M\n" +
"\n" +
"III\n" +
"Music D.\n" +
"\tPartners face audience. Movements of the Boy and the Girl are done
simultaneously.\n" +
"\tBoys: \n" +
"(a)\tTake one Buling step with a hop to the left, forearm turn to sideward
left and right alternately. \t\t\t\t\t\t\t\t2M \n" +
"(b)\tLeap on R over the plate and take five steps turning right in place.
\t2M\n" +
"(c)\tRepeat (a) and (b) starting r. Reverse the turn in (b). \t\t\t4M\n" +
"(d)\tRepeat all (a – c). \t\t\t\t\t\t\t\t8M\n" +
"Girl: \n" +
"(a)\tWaltz sideward right swaying R arm to sideward right (1M); waltz
sideward left and sway R arm to sideward left (1M). \t\t\t\t2M\n" +
"(b)\tThree-step turn right in place and close feet together, R arm sideward.
2M\n" +
"(c)\tTransfer plate to L hand and repeat (a) and (b) starting with the L foot.
Reverse the turn in (b). \t\t\t\t\t\t\t4M\n" +
97

"(d)\tRepeat all (a – c). \t\t\t\t\t\t\t\t8M\n" +


"IV\n" +
"Music E.\n" +
"\tPartners face audience. Movements of the Boy and the Girl are done
simultaneously. \n" +
"\tBoy: Plate is still on floor. \n" +
"(a)\tStarting with the R foot, take one Buling step with a hop forward,
forearm turn to reverse “T” position, right and left alternately. \t\t\t2M\n" +
"(b)\tThree-step turn left with a close in place, hands on waist. \t\t2M\n" +
"(c)\tRepeat (a) and (b) three times more turning around the plate clockwise.
12M\n" +
"Girl: \n" +
"(a)\tRepeat Figure III (a – d). \t\t\t\t\t\t\t16M \n" +
"V\n" +
"Music F.\n" +
"\tMovements of the Boy and the Girl are done simultaneously.\n" +
"\tBoy: Face audience. R arm raised obliquely upward, L hand on waist. \n"
+
"(a)\tTake two Buling steps forward (R, L). \t\t\t\t\t4M\n" +
"(b)\tTake two Buling steps sideward right and left. \t\t\t\t4M\n" +
"(c)\tTurn right about and repeat (a). \t\t\t\t\t\t4M\n" +
"(d)\tTake one Buling steps sideward right (2M); pick up plate and give it to
the Girl on the last measure. \t\t\t\t\t\t\t4M\n" +
"Girl: Face away from audience. R arm sideward, with plate on the R hand,
L hand is in reverse “T” position doing a kumintang every measure. \n" +
"(a)\tTake two Buling steps forward (R, L). \t\t\t\t\t4M\n" +
"(b)\tExecute one Buling steps turning right about. \t\t\t\t2M\n" +
"(c)\tTake one Buling step sideward left. \t\t\t\t\t2M\n" +
"(d)\tRepeat (a). \t\t\t\t\t\t\t\t4M\n" +
"(e)\tTake two Buling step sideward right and left and receive the plate on
the L hand on the last measure. \t\t\t\t\t\t4M\n" +
"\n" +
"VI\n" +
"Music E.\n" +
"\tPartners face audience. Movements of the Boy and the Girl are done
simultaneously.\n" +
"\tBoy: Behind the Girl, hands on waist. \n" +
"(a)\tTake two moderate waltz turns right in place. \t\t\t\t4M\n" +
"(b)\tTake twelve waltz steps forward moving clockwise, following the Girl
with trunk bent forward and lifting slightly the skirt of th Girl with his hands. 12M\n" +
"Girl: Open arms in second position with a plate on each hand. \n" +
98

"Hand movement: Raise R hand obliquely upward and bring L hand


obliquely downward (ct. 1), reverse the position of hands (ct. 2); return to first position
(ct. 3) (1M).\n" +
"(a)\tTake two moderate waltz turns right in place. Move hands R up and L
down alternately every count. \t\t\t\t\t\t\t4M \n" +
"(b)\tTake four Buling steps forward moving clockwise, hands as in (a).
\t8M\n" +
"(c)\tTake two Buling steps sideward right and left. \t\t\t\t4M\n" +
"\n" +
"VII\n" +
"Music F. \n" +
"\tPartners face audience. Girl still holds the plate on each hand. Boy’s hands
are on waist.\n" +
"(a)\tRepeat Figure I (a) and (b).\t\t\t\t\t\t4M \n" +
"NOTE: Girl gives plate from L hand to Boy on count one of the first
pointing and transfer plate from R hand to L hand on the second pointing. \n" +
"(b)\tFace partner. Repeat Figure I (a). Girl transfers plate to R hand. \t2M\n"
+
"(c)\tWaltz turn half-way clockwise to partner’s place, R arm raised
obliquely upward. \t\t\t\t\t\t\t\t\t2M\n" +
"(d)\tGirl faces audience. Boys faces away from audience. Repeat Figure I
(a). 2M\n" +
"(e)\tWaltz turn right in place. \t\t\t\t\t\t\t2M\n" +
"(f)\tFace partner. Repeat Figure I (a). \t\t\t\t\t2M\n" +
"(g)\tWaltz turn half-way clockwise to proper places. \t\t\t\t2M\n" +
"\n" +
"VIII\n" +
"Music A.\n" +
"\tPartners face each other. Girl’s R arm is raised obliquely sideward-
upward, L arm obliquely downward. Boy’s hand is on waist. \n" +
"(a)\tStarting with the R foot, take four walking steps forward to partner’s
place passing by R shoulders. Sway arm slightly sideward right and left. \t2M\n" +
"(b)\tTake a four-step turn right about in place without swaying the arm.
\t2M\n" +
"(c)\tRepeat (a) and (b) passing by L shoulders in (a). \t\t\t\t4M\n" +
"(d)\tTake eight walking steps forward moving clockwise, arms as in (a).
\t4M\n" +
"(e)\tTurn right about, cross L forearms and repeat (d) moving
counterclockwise. \n" +
" 4M\n" +
"(f)\tFace audience. Take eight walking steps forward and eight steps in
place. 8M\n" +
99

"(g)\tFace left. Take four steps in place, R arm is raised forward at waist
level. 2M\n" +
"(h)\tFace front and repeat (g). \t\t\t\t\t\t2M \n" +
"(i)\tFace left and walk forward to exit. \t\t\t\t\t4M\n");
}

///If Jotabal is clicked set the information to Jotabal


else if (data2.equalsIgnoreCase("Jotabal")){

form1.setText("Formation\t\t: Partners stand about six feet apart. Girl stands at


right side of partner when facing audience. Any number of pairs may take part in this
dance. \n" +
"\t\t\t\t\t\t\n" +
"\t\t\t\t\t\tINTRODUCTION\n" +
"Music Introduction.\n" +
"\tPartners face audience.\n" +
"(a)\tPause. Arms down at sides. \t\t\t\t\t\t2M \n" +
"Music A. \n" +
"\tBoy turns right about to face away from audience. \n" +
"(a)\tPartners place R foot in front and lean slightly backward, look and
smile shyly at each other. Girl’s R hand on waist, L hand holding skirt. Boy’s L hand on
waist, R forearm across the waist in front and place R hand over palm of L hand. \t8M\n"
+
"(b)\tTurn left about to face opposite direction, pivoting on balls of both feet.
Put weight on R at the end of the turn. Reverse position of hands. Look at each other as in
(a). \t\t\t\t\t\t\t\t\t8M\n" +
"\n" +
"\t\t\t\t\t\tI\n" +
"Music B. \n" +
"\tPartners face each other. \n" +
"(a)\tTake three sway balance steps with waltz, R and L alternately. Arms in
fourth position, R and L high alternately. \t\t\t\t\t\t6M\n" +
"(b)\tWaltz turn left to proper places. Arms in fourth position, R arm high.
\t2M\n" +
"(c)\tRepeat (a) and (b), starting L, Turn right in (b). Reverse position of
arms. \t8M\n" +
"\n" +
"\t\t\t\t\t\tII\n" +
"Music C. \n" +
100

"\tPartners face each other. Throughout this figure Girl holds skirt, Boy
places hands on waist. \n" +
"(a)\tPoint R in front (cts. 1,2), step R foot in rear (ct. 3). Step L foot
obliquely forward left (ct.1), step R sideward right (ct. 2), point L close to R (ct. 3).
\t\t2M\n" +
"(b)\tWaltz turn left in place. \t\t\t\t\t\t\t2M\n" +
"(c)\tRepeat (a) and (b) starting L. Reverse turn in (b). \t\t\t\t4M\n" +
"(d)\tRepeat all (a – c). \t\t\t\t\t\t\t\t8M\n" +
"\n" +
"\t\t\t\t\t\tIII\n" +
"Music D. \n" +
"\tPartners face each other. \n" +
"(a)\tStep R forward (ct. 1), quarter-turn right so that Girl faces audience and
Boy, away from audience and point L, close to R foot (cts. 2,3). Arms down at sides.
\t\t\t\t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tWaltz sideward, L and R (inward and outward), L arm in reverse “T”
position, R bent forward at shoulder level (1M). Reverse position of arms (1M). \t2M\n"
+
"(c)\tTurn left about. Step L in place (ct. 1), point R close to L (cts. 2,3).
Arms down at sides. \t\t\t\t\t\t\t\t\t\t1M\n" +
"(d)\tWaltz R sideward. R arm in reverse “T” position, L arm bent forward at
shoulder level. \t\t\t\t\t\t\t\t\t\t1M \n" +
"(e)\tWaltz turn left to proper places. Finish facing partner. Arms as in (b).
\t1M\n" +
"(f)\tPause. Arms down at sides. \t\t\t\t\t\t\t1M\n" +
"(g)\tRepeat all (a – f) starting L. Girl faces away from audience and Boy
faces audience after the turn on count 2 in (a). \t\t\t\t\t\t8M \n" +
"\t\t\t\t\t\t\n" +
"\t\t\t\t\t\tIV\n" +
"Music E. \n" +
"\tPartners face each other. \n" +
"(a)\tStep R forward (ct. 1), brush L forward (ct. 2), step close to R (ct. 3).
Arms in fourth position, R arm high. \t\t\t\t\t\t\t1M\n" +
"(b)\tRepeat (a) three more times moving halfway around counterclockwise
to partner’s place. Omit the step on L foot on count 3 of the fourth measure. Finish in
partner’s place. \t\t\t\t\t\t\t\t3M\n" +
"(c)\tTurn left about. Repeat (a) eight times starting with L foot, moving
around clockwise finishing in partner’s place. Omit step on L foot on count 3 of the eight
measure. Reverse position of arms. \t\t\t\t\t\t8M\n" +
"(d)\tTurn right about and repeat (a) four times moving halfway
counterclockwise to proper places. Step L in place on the last count. \t\t\t\t4M \n" +
"\t\t\t\t\t\t\n" +
101

"\t\t\t\t\t\tV\n" +
"Music F. \n" +
"\tPartners face each other. \t\n" +
"(a)\tSlide turn right. Arms in fourth position, R arm high. \t\t\t\t4M \n" +
"(b)\tRepeat (a) for two measures only, finish facing front (making one-half
turn in every measure). Reverse position of arms. \t\t\t\t\t2M\n" +
"(c)\tPlace R foot in front and pause. Arms in fourth position, L arm high.
\t3M\n" +
"\n" +
"\t\t\t\t\t\tVI\n" +
"Music A.\n" +
"\tPartners face each other. Throughout this figure Girl holds skirt, Boy
places hands on waist. \n" +
"(a)\tStep R foot sideward (ct. 1), step L across the R in front and at the same
time face right (ct. 2), tap R in rear (ct. 3), step R foot in rear (ct. 1), L foot circle
counterclockwise in the air and face partner (ct. 2), point L close to R (ct. 3). 2M\n" +
"(b)\tRepeat (a) two more times (L, R). \t\t\t\t\t\t4M\n" +
"(c)\tWaltz turn left in place. \t\t\t\t\t\t\t2M\n" +
"(d)\tRepeat all (a – c), starting L foot. Reverse turn in (c). \t\t\t\t8M\n" +
"\n" +
"\t\t\t\t\t\tVII\n" +
"Music B. \n" +
"\tPartners face each other. Throughout this figure, Girl holds skirt, Boy
places hands on waist. \n" +
"(a)\tStamp R in front (ct. 1), raise R foot in rear with knee bent (ct. 2), hop
on L (ct. 3). \t\t\t\t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tThree-step turn right in place. \t\t\t\t\t\t1M\n" +
"(c)\tRepeat (a) and (b) starting with L and turning left in (b). \t\t\t2M\n" +
"(d)\tRepeat all (a – c). \t\t\t\t\t\t\t\t4M\n" +
"(e)\tRepeat (a) (1M) and (b) turning right to be in one line at center, facing
each other (1M). Girl’s back toward audience, Boy facing audience. \t\t\t2M\n" +
"(f)\tRepeat (c) turning left back to proper places in (b). \t\t\t\t2M\n" +
"(g)\tRepeat (e) and (f). \t\t\t\t\t\t\t\t4M\n" +
"\n" +
"\t\t\t\t\t\tVIII\n" +
"Music C. \n" +
"\tPartner pace each other. \n" +
"(a)\tStep R foot forward (cts. 1,2), step L in rear (ct. 3). Take three steps
forward starting with R foot, to partner’s place, passing by R shoulders (cts. 1,2,3). Arms
down at sides. \t\t\t\t\t\t\t\t\t2M\n" +
"(b)\tPlace L foot in front (ct. 1). Pause and bend trunk slightly forward (cts.
2,3), arms in fourth position, R arm high. \t\t\t\t\t\t1M\n" +
102

"(c)\tTurn right about on balls of feet and transfer weight to L foot. Arms on
fourth position, L arm high (cts. 1,2,3). \t\t\t\t\t\t1M\n" +
"(d)\tRepeat (a – c) going to proper places in (a). \t\t\t\t\t4M\n" +
"(e)\tRepeat all (a – d). \t\t\t\t\t\t\t\t8M\n" +
" \n" +
"\t\t\t\t\t\tIX\n" +
"Music D. \n" +
"\tPartners face each other. Boy and Girl perform their movements
simultaneously. \n" +
"\tGirl: \n" +
"(a)\tStarting with R foot, take four waltz steps forward to front of partner.
Arms in hayon-hayon position, R and L forearm in front alternately. \t\t\t4M \n" +
"(b)\tTwo waltz steps backward, starting with r foot (2M). Waltz turn right to
proper place (2). Arms as in (a). \t\t\t\t\t\t\t4M\n" +
"(c)\tRepeat movement of Boy in (a) below. \t\t\t\t\t8M\n" +
"Boy: \n" +
"(a)\tStand still and clap hands on count 1 of every measure. \t\t\t8M\n" +
"(b)\tStep R forward (ct. 1), raise L foot in rear with knee bent (cts. 2,3).
Repeat same three more times (L, R, L) going to front of partner (3M). Arms in hayon-
hayon position, R and L forearm in front alternately. \t\t\t\t4M\n" +
"(c)\tRepeat (b), moving backward to proper place. \t\t\t\t4M\n" +
" \n" +
"\t\t\t\t\t\tX\n" +
"Music E.\n" +
"\tRepeat Figure IV. \t\t\t\t\t\t\t\t\t16M\n" +
"\n" +
"\t\t\t\t\t\t\tXI\n" +
"Music F.\n" +
"\tRepeat Figure V, Bow to audience on the last measure, arms in second
position. 9M\n");

///If Papuri is clicked set the information to Papuri


else if (data2.equalsIgnoreCase("Papuri")){

form1.setText("FORMATION Partners stand opposite each other about six feet


apart. When facing audience, Girl is at right side of partner. One or more pairs may take
part in this dance. \n" +
"COUNT One, two, and three to a measure. \n" +
103

"\t\t\t\t\t\t\n" +
"INTRODUCTION\n" +
"Music Introduction. \n" +
"\tThree-step turn right in place and bow to each other. Girl holds skirt, Boy
places hands on waist. \t\t\t\t\t\t\t\t\t\t\t2M\n" +
"\n" +
"I\n" +
"Music A. \n" +
"\tPartners face each other. \n" +
"\tPartners take eight sway balance steps with a point, R and L alternately.
Arms in fourth position, R and L arm high alternately. \t\t\t\t\t\t\t16M\n" +
"\n" +
"II\n" +
"Music B. \n" +
"\tPartners face each other. \n" +
"\t(a) Take four papuri steps, R and L alternately. Girl holds skirt, Boy’s
hands hold barong Tagalog or are placed on waist. Dancers look at their as they execute
the steps. \t\t16M\n" +
"\t\t\t\t\t\t\n" +
"III\n" +
"Music C. \n" +
"\tPartners face left so that their R shoulders are toward each other. \n" +
"(a)\tFeet in fifth position, R in front, knees bent slightly. Sway body to
sideward right and left. Arms in lateral position, moving sideward right and left.
\t\t\t2M\n" +
"(b)\tStarting with R foot, take three steps sideward going to partner’s place,
passing each other front-to-front (cts. 1, 2, 3), put feet together and pause (cts. 1, 2, 3).
Girl holds skirt and Boy places hands on waist. \t\t\t\t\t\t2M\n" +
"(c)\tRepeat (a) and (b), starting with L foot. Finish in proper places.
\t\t4M\n" +
"(d)\tRepeat all (a – c). \t\t\t\t\t\t\t\t\t8M\n" +
"\n" +
"IV\n" +
"Music D. Play slowly. \n" +
"\tPartners face left as in figure III.\n" +
"(a)\tPoint R in front. Bend trunk forward. Hold hands over R foot, palms up
and slightly closed (natural position). The L knee is knee is bent and R knee remains
straight (cts. 1, 2, 3). Trunk erect and turn left about on both heels. Raise R hand
overhead, L hand on waist (cts. 1, 2, 3). The feet are open at end of him. \t\t\t2M\n" +
"(b)\tTurn right about on both heels, assume former position and repeat (a).
\t2M\n" +
104

"(c)\tSlide-turn right. R arm in fifth position and L hand on waist. Finish


facing same direction as in (a). \t\t\t\t\t\t\t\t4M\n" +
"(d)\tRepeat all (a – c) pointing L in front. Reverse direction of turn and
position of arms.\t\t\t\t\t\t\t\t\t\t\t\t 8M\n" +
"V\n" +
"Music E. Play slowly. \n" +
"\tFace front. \n" +
"(a)\tSarok with a jump, inside foot across outside foot in front, inside hand
over outside hand (ct. 1). Starting with inside foot, take three steps sideward to partner’s
place, Girl passing in front of Boy. Arms in lateral position, held outward (cts. 2, 3, 1)
pause (cts. 2, 3). \t\t\t\t\t\t\t\t\t\t2M\n" +
"(b)\tRepeat (a) starting with other foot. Finish in proper places. \t\t\t2M\n" +
"(c)\tRepeat (a) and (b). \t\t\t\t\t\t\t\t4M\n" +
"\n" +
"VI\n" +
"Music F. \n" +
"\tPartners face with R shoulders toward each other. \n" +
"\tStarting with R foot, take eight waltz steps forward, moving clockwise.
Arms in lateral position, moving sideward right and left alternately. \t\t\t\t\t8M\n" +
"\t\t\t\t\t\t\n" +
"SALUDO\n" +
"Music Finale. \n" +
"\tExecute three-step turn right in place and bow to each other. Girl holds
skirt, Boy places hands on waist. \t\t\t\t\t\t\t\t\t\t2M\n");

///If Polkabal is clicked set the information to Polkabal


else if (data2.equalsIgnoreCase("Polkabal")){

form1.setText("Partners face the audience. \n" +


"\tStep R foot forward, point L in fourth in rear, left hand of girl holds skirt,
right hand in waist. Boys have both hands on waist. \t\t\t\t\t\t\t2M\n" +
"I\n" +
"LUKSONG UAK\n" +
"Music A. \n" +
"\tPartners face the center of the square. \n" +
"Boy’s Part: \n" +
"(a)\tStep R foot toward center of the square (ct. 1), hop on the same foot and
raise the left in rear (ct. 2). Half turn right by pivoting on the R foot and step L
105

immediately toward the center (ct. 1), hop on the L and raise the R in rear (ct. 2). Hands
on waist. \t\t\t\t\t\t\t2M\n" +
"(b)\tHalf-turn right by pivoting on the L foot and immediately step R
toward the center (ct. 1). Dancers are now at the center, facing center (diagrams B and C).
Take three hops on the R foot, L foot raised in rear arms in third position, L arm high.
\t\t\t\t\t\t\t\t2M\n" +
"\t\t\t\n" +
"\n" +
"(c)\tStep L outward from the center (ct. 1) hop on the same foot and raise R
foot in rear (ct. 2). Half- turn left by pivoting on the L foot. Immediately step R outward
going to proper places (ct. 1), hop on the same foot and raise the L in rear (ct. 2). Hands
on waist. \t\t\t\t\t\t2M\n" +
"(d)\tStep L foot backward (in place if already there) (ct. 1), raise R foot in
front and scissors kick (bring R foot swiftly down and raise the L simultaneously) (ct. 1).
(See diagram D.). \t\t\t\t\t\t\t1M\n" +
"(e)\tCross-turn right, that is, cross the L in front of R foot (ct. 1), make a full
turn right by pivoting on the balls of the feet (ct. 2). \t\t\t\t1M\n" +
"Girl’s Part:\n" +
"Girls do the same, starting with the opposite foot (L foot) and turning the
opposite way. In (a) and (c) girls hold skirts. \t\t\t\t\t\t8M\n" +
"(f)\tBoys and girls repeat all movements. \t\t\t\t\t8M\n" +
"\t\n" +
"II\n" +
"“PASEO AT ENSAYO”\n" +
"Music B. \n" +
"\t\tPartners face the audience. \n" +
"\t\t“Paseo”:\n" +
"(a)\tPlace the inside heel sideward, bend the body inward arms in fourth
position, outside arm high on count 1. Feet together, trunk erect, arms down at the sides
on count 2. \t\t\t\t\t\t\t\t\t1M\n" +
"(b)\tEach set casts off with pair 1 leading. Take five change steps forward,
starting with the outside foot. Finish in proper places (see diagram E), arms hanging
loosely at the sides moving gracefully forward and backward or in hayon-hayon position
as the change steps are executed. Partners finish facing each other. \t\t5M\t\n" +
"NOTE: Boys’ hands on waist and girl holding skirts if a large group
participant. \n" +
"\tDiagram E \n" +
"(c)\tGirls raise L foot, boys R, and scissors kick as in figure I (d).
\t\t\t1M\n" +
"(d)\tCross-turn (girls turn left and boys turn right) as in figure I (e).
\t\t1M\n" +
"“Ensayo”: \n" +
106

"(a)\tTake six step-swing steps sideward (L and R alternately for the girls,
and R and L alternately for the boys). Arms are in lateral position at shoulder level
moving in opposite direction with the feet. \t\t\t\t\t\t6M\n" +
"(b)\tRepeat scissors kick and cross turns in (c) and (d) above. \t\t\t2M\n" +
"\n" +
"III\n" +
"“PUNTA Y TACON”\n" +
"Music A. \n" +
"Partners face audience. \n" +
"(a)\tPlace the heel of the inside foot sideward and bend the body inward (ct.
1). Hop on the outside foot and raise the inside foot in rear of the outside foot at the same
time (ct. 2). Girls hold skirts, boys’ hands on waist. \t\t\t\t\t1M\n" +
"(b)\tStep sideward with the inside foot raising the tow of outside foot (heel
remains on the floor), bend the body toward the outside foot (ct. 1). Hop on the inside
and raise the outside foot in rear of the inside foot (ct. 2). Hands as in (a). \t\t1M\n" +
"(c)\tRepeat (b) starting with the outside foot. \n" +
"(d)\tTake three-step turn (right for the boys and left for the girls) to
partner’s place. Girls pass in front of partner. Hands as in (a). \t\t\t\t\t\t1M\n" +
"(e)\tRepeat all (a, b, c, d) three times more, always starting with the inside
foot in (a). Finish in proper places. \t\t\t\t\t\t\t\t12M\n" +
"\n" +
"IV \n" +
"“CONTRA-GANSA”\n" +
"Music B. \n" +
"Partners face audience. \n" +
"(a)\tLeap outward starting with the outside foot (ct. 1). Step the inside foot
across the outside foot in front (ct. and), quickly step the outside foot to place (ct. 2, and).
1M\n" +
"(b)\tRepeat (a) two times more, starting with the inside and outside foot
alternately. 2M\n" +
"(c)\tTake three-step turn to partner’s place as in figure III (d). \t\t\t1M\n" +
"(d)\tRepeat all (a, b, c) three times more, finishing in proper places.
\t\t1M\n" +
"Throughout this figure, girls hold skirts, boys have hands on waist. \t\t12M
\n" +
"\n" +
"V\n" +
"“WAGAYWAY”\n" +
"Music A. \n" +
"Partners face audience. \n" +
"(a) Place the heel of the inside foot sideward and bend the body in the same
direction, arms in third position, outside arm high (ct. 1), position (ct. 2). \t\t\t1M\n" +
107

"(b) Repeat (a) with the outside heel placed sideward outside. Reverse the
position of the arms. \t\t\t\t\t\t\t\t1M\n" +
"(c) Pivot-turn with both feet flat on the floor. (Boys turn right and girls left.)
Right arm of boys and left girls in fifth position, the other hand on waist (cts. 1, and 2,
and 1, and, 2, and). \t\t\t\t\t\t\t\t2M\n" +
"NOTE: In executing the pivot-turn the leading footsteps on count 1 and the
rear foot inside, and outside foot alternately. Reverse the position of the arms for every
corresponding change of direction in turning. \t\t\t\t\t12M\n" +
"\n" +
"VI \n" +
"“CONTRA-GANSA DOBLE”\n" +
"Music B. \n" +
"Partners face each other. \n" +
"A. Pair 1 join hands crosswise with right hands over the left. Execute the
following steps moving sideward away from the audience.\n" +
"(a) Boys’ Part:\n" +
"Jump with the L foot over the R in front (ct. 1), hop on R and raise the L
foot sideward (ct. and), step the L in rear of R foot (ct. 2), step R foot sideward (ct. and).
\t\t1M\n" +
"(b) Repeat (a) five times more moving sideward away from the audience at
every jump. Finish in Pair 2’s place. (See diagram F.) \t\t\t\t\t\t5M\n" +
"Girl’s part:\n" +
"Girls do the same, starting with the R foot across the left in front. \t\t\t5M\n"
+
"(c) Partners drop hands, separate and do the scissors kick and cross-turn as
in figure I (d) and (e) respectively in finish Pair 2’s place. \t\t\t\t\t\t2M\n" +
"\n" +
"Pair 2. \n" +
"While Pair 1 are doing their steps, Pair 2 executes the following steps
simultaneously. \n" +
"(a) Repeat the “Ensayo” as in figure II (a) moving toward the audience. \n"
+
"(b) Repeat the scissors kick and turn as in figure I (d) and (e). Finish in Pair
1’s place. (See diagram F.) \t\n" +
"\n" +
"B. (a) Pair 2 join hands with arms crossed and repeat the movements of Pair
1 above. (See diagram G.)\n" +
"Pair 1 repeats the movements of Pair 2 above, doing the “Ensayo” moving
to their proper places. \t\t\t\t\t\t\t\t8M\n" +
"\n" +
"VII\n" +
"“CORRIDA”\n" +
108

"Music A. \n" +
"\tPartners face audience. \n" +
"\t(a) Raise the inside foot sideward and quickly step sideward (ct. 1), take
three more tiny steps or shuffling steps, moving sideward toward partner’s place (cts.
and, 2, and), outside arm raised in fifth position and inside arm bent in front at shoulder
level. (See illustration). \t1M\n" +
"\t(b) Repeat (a) one more finishing in partner’s place. Girls pass in front of
partners. 1M\n" +
"(c) Pivot-turn as in figure V (c). Boys turn right, right arm high in fifth
position, left hand on waist. Girls turn left, left arm high in fifth position, right hand on
waist. \t2M\n" +
"(d) Repeat (a, b, c) going back to proper places. Reverse the pivot-turn the
arm position in (c). \t\t\t\t\t\t\t\t4M\n" +
"\t(e) Repeat all (a, b, c, d). \t\t\t\t\t\t\t\t8M\n" +
"\n" +
"VIII\n" +
"“JARDIN”\n" +
"Music B.\n" +
"\tPartners meet at center forming a single line facing the audience. Girls
stand in front of partners. Join hands, boy’s right with the girl’s right, and his left with her
left. \n" +
"(a) Raise left arm high, right arm down at the sides. Bend the body to the
right. Execute a pivot-turn to the right. \t\t\t\t\t\t\t\t4M\n" +
"(b) Reverse the arm position and bend the body to the left. Execute a pivot-
turn to the left. \t\t\t\t\t\t\t\t4M\n" +
"\t(c) Repeat all (a, b). \t\t\t\t\t\t\t\t8M\n" +
"\n" +
"“SALUDO”\n" +
"Music Finale. \n" +
"Partners join right hands. Girls turn clockwise under the arch of arms (three-
step turn in place). \t\t\t\t\t\t\t\t1M\n" +
"Release hands. Girls step L sideward, a little to the left of partners (ct. 1).
Partners bend body to the right, arms in third position, L arm high. Look at partner (ct. 2).
\t1M\n");

}
@Override
public boolean onSupportNavigateUp(){

///If backbutton is clicked finish/go back


109

finish();
return true;
}
}

customAdapter.java
package thesis.com.philippinefolkdance;

import android.content.Context;
import android.content.Intent;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.Button;
import android.widget.ListAdapter;
import android.widget.TextView;
import android.widget.Toast;

import java.util.ArrayList;

public class customAdapter extends BaseAdapter implements ListAdapter {


private ArrayList<String> list = new ArrayList<String>();
private Context context;
protected static class RowViewHolder {
///Di na to kasama kasi yung gridview na ginamit natin
public TextView listItemText;
}

public customAdapter(ArrayList<String> list, Context context) {


this.list = list;
this.context = context;
}

@Override
public int getCount() {
return list.size();
}

@Override
110

public Object getItem(int pos) {


return list.get(pos);
}

@Override
public long getItemId(int pos) {
return 0;

//just return 0 if your list items do not have an Id variable.


}

@Override
public View getView(final int position, View convertView, ViewGroup parent) {
View view = convertView;
RowViewHolder holder = new RowViewHolder();
if (view == null) {
LayoutInflater inflater = (LayoutInflater)
context.getSystemService(Context.LAYOUT_INFLATER_SERVICE);
view = inflater.inflate(R.layout.layoutmenu, null);
}

//Handle TextView and display string from your list


holder.listItemText = (TextView)view.findViewById(R.id.list_item_string);
holder.listItemText.setText(list.get(position));

//Handle buttons and add onClickListeners

return view;
}

DanceActivity.com

package thesis.com.philippinefolkdance;

import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
111

import android.widget.MediaController;
import android.widget.TextView;
import android.widget.VideoView;

public class DanceActivity extends AppCompatActivity {


TextView form1;

VideoView video;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_dance);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
form1 = (TextView)findViewById(R.id.textViewFormDance);

video = (VideoView) findViewById(R.id.videoplayer);

loadData();
///Create a media controls for the video
MediaController mediaController = new MediaController(this);
video.setMediaController(mediaController);
mediaController.setAnchorView(video);
///Start playing video
video.start();
}

private void loadData(){

String data = getIntent().getExtras().getString("formname1");


String data2 = getIntent().getExtras().getString("formname2");
form1.setText(data2);
if (data2.equalsIgnoreCase("Abaruray")){
///If abaruray is clicked set the video to abaruray dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.abaruraydance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);
112

}
else if (data2.equalsIgnoreCase("Estudiantina")){
///If Estudiantina is clicked set the video to Estudiantina dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.estudiantinadance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Huricuti")) {
///If Huricuti is clicked set the video to Huricuti dance

else if (data2.equalsIgnoreCase("Jota Gumaqueña")){


///If Jota Gumaqueña is clicked set the video to Jota Gumaqueña dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.jotamdance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);
}
else if (data2.equalsIgnoreCase("Lanceros de Tayabas")){
///If Lanceros de Tayabas is clicked set the video to Lanceros de Tayabas dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.lancerosdance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Magkasuyo")){
///If Magkasuyo is clicked set the video to Magkasuyo dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.magkasuyodance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Pabo")){
///If Pabo is clicked set the video to Pabo dance

}
113

else if (data2.equalsIgnoreCase("Panchita")){
///If Panchita is clicked set the video to Panchita dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.lapanchitadance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Polka")){
///If Polka is clicked set the video to Polka dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.polkadance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Putritos")){
///If Putritos is clicked set the video to Putritos dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.putritosdance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Malagueña")){
///If Malagueña is clicked set the video to Malagueña dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.malaguenadance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Buling-buling")) {
///If Buling-buling is clicked set the video to Buling-buling dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.bulingdance;
Uri uri = Uri.parse(videopath);
114

video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Jotabal")){
///If Jotabal is clicked set the video to Jotabal dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.jotamdance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Papuri")){
///If Papuri is clicked set the video to Papuri dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.jotamdance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
else if (data2.equalsIgnoreCase("Polkabal")){
///If Polkabal is clicked set the video to Polkabal dance
String videopath = "android.resource://" + getPackageName() + "/" +
R.raw.polkabaldance;
Uri uri = Uri.parse(videopath);
video.setVideoURI(uri);

}
@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

Danceinfo.java
115

package thesis.com.philippinefolkdance;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.LinearLayout;
import android.widget.TextView;

public class Danceinfo extends AppCompatActivity {


TextView title,reference,researcher,resource,presentor,date,meaning;
LinearLayout layResearcher,layResource,layPresentor,layDate,layMeaning;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

setContentView(R.layout.activity_danceinfo);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

layResource = (LinearLayout) findViewById(R.id.txtResesource);


layPresentor = (LinearLayout) findViewById(R.id.txtPresentor);
layDate = (LinearLayout) findViewById(R.id.txtPlace);
layMeaning = (LinearLayout) findViewById(R.id.txtMeaning);
layResearcher = (LinearLayout) findViewById(R.id.txtResearcher);
title = (TextView) findViewById(R.id.textViewTitleDanceInfo);
reference = (TextView) findViewById(R.id.txtViewRef);
researcher = (TextView) findViewById(R.id.txtViewResearcher);
resource = (TextView) findViewById(R.id.txtViewResourcePerson);
presentor = (TextView) findViewById(R.id.txtViewDancePresentor);
date = (TextView) findViewById(R.id.txtViewDate);
meaning = (TextView) findViewById(R.id.txtViewMeaning);

title.setText(getIntent().getStringExtra("title"));
loadData();

private void loadData(){

String data2 = getIntent().getStringExtra("title");


116

if (data2.equalsIgnoreCase("Abaruray")){
///If Abaruray is clicked set the information to abaruray
reference.setText("(SAYAW DANCES OF THE PHILIPPINE ISLANDS)
VOLUME II");
researcher.setText("Ramon A. Obusan ");
resource.setText("Emerita E. Basilio ");
presentor.setText("");
layPresentor.setVisibility(LinearLayout.GONE);
date.setText("1996 National Folk Dance Workshop ");
meaning.setText("It is unclear how this dance got its name, probably from “Aba”,
Tagalog for expression of surprise and “Ruray”, the pet name of a popular town. ");

}
else if (data2.equalsIgnoreCase("Estudiantina")){
///If Estudiantina is clicked set the information to Estudiantina
reference.setText("A Classic Collection of Philippine Folk Dance Series II");
researcher.setText("Francisca Reyes Aquino");
resource.setText("Philippine Folk Dance Volume 5 ");
presentor.setText("");
layPresentor.setVisibility(LinearLayout.GONE);
date.setText("Unisan, Quezon");
meaning.setText("Female student ");
}
else if (data2.equalsIgnoreCase("Huricuti")) {
///If Huricuti is clicked set the information to Huricuti
reference.setText("Philippine Folk Dances Volume 1 (Revised)");
researcher.setText("Christian lowland");
resource.setText("");
presentor.setText("");
date.setText("Quezon");
meaning.setText("");
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
layMeaning.setVisibility(LinearLayout.GONE);
}

else if (data2.equalsIgnoreCase("Jota Gumaqueña")){


///If Jota Gumaqueña is clicked set the information to Jota Gumaqueña
reference.setText("A Classic Collection of Philippine Folk Dances \n" +
"\t\t\t\tSeries IV\n" +
"\t\t\t\tDavao City, May 2009\n");
117

researcher.setText("");
resource.setText("");
presentor.setText("");
date.setText("Gumaca, Quezon");
meaning.setText("Jota from Gumaca, Quezon");
layResearcher.setVisibility(LinearLayout.GONE);
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
}
else if (data2.equalsIgnoreCase("Lanceros de Tayabas")){
///If Lanceros de Tayabas is clicked set the information to Lanceros de Tayabas
reference.setText("(SAYAW DANCES OF THE PHILIPPINE ISLANDS)
VOLUME I");
researcher.setText("Ramon A. Obusan ");
resource.setText("Emerita E. Basilio");
presentor.setText("");
date.setText("Tayabas, Quezon ");
meaning.setText("A lanceros honoring the town of Tayabas,Quezon");

layPresentor.setVisibility(LinearLayout.GONE);
}
else if (data2.equalsIgnoreCase("Magkasuyo")){
///If Magkasuyo is clicked set the information to Magkasuyo
reference.setText("Philippine Folk Dances Volume 3");
researcher.setText("Francisca Reyes Aquino");
resource.setText("");
presentor.setText("");
date.setText("Quezon");
meaning.setText("Good friend (pal or chum) or sweethearts.");
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
}
else if (data2.equalsIgnoreCase("Pabo")){
///If Pabo is clicked set the information to Pabo
reference.setText("Philippine Folk Dances Volume 5");
researcher.setText("Francisca Reyes Aquino");
resource.setText("");
presentor.setText("");
date.setText("");
meaning.setText("");
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
118

layDate.setVisibility(LinearLayout.GONE);
layMeaning.setVisibility(LinearLayout.GONE);
}
else if (data2.equalsIgnoreCase("Papuri")){
///If Papuri is clicked set the information to Papuri
reference.setText("");
researcher.setText("");
resource.setText("");
presentor.setText("");
date.setText("Quezon");
meaning.setText("compliment or praise");
layResearcher.setVisibility(LinearLayout.GONE);
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
}

else if (data2.equalsIgnoreCase("Panchita")){
///If Panchita is clicked set the information to Panchita
reference.setText("");
researcher.setText("");
resource.setText("");
presentor.setText("");
date.setText("San Narciso, Quezon");
meaning.setText("Girl’s name");
layResearcher.setVisibility(LinearLayout.GONE);
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);

}
else if (data2.equalsIgnoreCase("Polka")){
///If Polka is clicked set the information to Polka
reference.setText("Philippine Folk Dances Volume 1 (Revised)");
researcher.setText("Francisca Reyes Aquino");
resource.setText("");
presentor.setText("");
date.setText("Quezon");
meaning.setText("");

layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
layMeaning.setVisibility(LinearLayout.GONE);
}
119

else if (data2.equalsIgnoreCase("Polkabal")){
///If Polkabal is clicked set the information to Polkabal
reference.setText("");
researcher.setText("");
resource.setText("");
presentor.setText("");
date.setText("Quezon");
meaning.setText("");
layResearcher.setVisibility(LinearLayout.GONE);
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
layMeaning.setVisibility(LinearLayout.GONE);

}
else if (data2.equalsIgnoreCase("Putritos")){
///If Putritos is clicked set the information to Putritos
reference.setText("Philippine Folk Dances Volume 1 (Revised)");
researcher.setText("Francisca Reyes Aquino");
resource.setText("");
presentor.setText("");
date.setText("Atimonan, Quezon");
meaning.setText("");
layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);
layMeaning.setVisibility(LinearLayout.GONE);
}
else if (data2.equalsIgnoreCase("Malagueña")){
///If Malagueña is clicked set the information to Malagueña
reference.setText("(SAYAW DANCES OF THE PHILIPPINE ISLANDS)
VOLUME V");
researcher.setText("Ramon A. Obusan");
resource.setText("Benigno Consolacion Manlangit – 1951");
presentor.setText("Cherry A. Ylanan ");
date.setText("Catanauan, Quezon – November 11, 1994");
meaning.setText("Lady of Malaga, Spain");

}
else if (data2.equalsIgnoreCase("Buling-buling")) {
///If Buling-buling is clicked set the information to Buling-buling
reference.setText("Dances of the Philippine Islands Volume III Manila, May
2011");
researcher.setText("Ramon A. Obusan");
120

resource.setText("Emerita E Basilio");
presentor.setText("");
date.setText("");
meaning.setText("Ash cross marked on the forehead of Catholics at the start of
the Lenten Season");

layPresentor.setVisibility(LinearLayout.GONE);
layDate.setVisibility(LinearLayout.GONE);
}
else if (data2.equalsIgnoreCase("Jotabal")){
///If Jotabal is clicked set the information to Jotabal
reference.setText("Philippine Folk Dances Volume 5");
researcher.setText("Francisca Reyes Aquino");
resource.setText("");
presentor.setText("");
date.setText("Camohaguin, Gumaca, Quezon");
meaning.setText("Jota and Vaise");

layResource.setVisibility(LinearLayout.GONE);
layPresentor.setVisibility(LinearLayout.GONE);

}
}
@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

DanceProperties.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class DanceProperties extends AppCompatActivity {


121

TextView title;
Button btnMusic,btnCostume,btnCounts;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_dance_properties);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

title = (TextView) findViewById(R.id.textViewTitle);


btnCostume = (Button) findViewById(R.id.costume_btn);
btnMusic = (Button) findViewById(R.id.music_btn);
btnCounts = (Button) findViewById(R.id.counts_btn);

title.setText(getIntent().getStringExtra("formname2"));
///If Music is clicked go to next form and pass the dance title
btnMusic.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(DanceProperties.this, SongActivity.class);
i.putExtra("formname2",title.getText().toString());
startActivity(i);
}
});
///If Costume is clicked go to next form and pass the dance title
btnCostume.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

Intent i = new Intent(DanceProperties.this, CostumeActivity.class);


i.putExtra("formname2",title.getText().toString());
startActivity(i);

}
});
///If Counts is clicked go to next form and pass the dance title
btnCounts.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
122

Intent i = new Intent(DanceProperties.this, CountsActivity.class);


i.putExtra("formname2",title.getText().toString());
startActivity(i);

}
});

@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

DifficultyActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.content.SharedPreferences;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

public class DiffucultyActivity extends AppCompatActivity {


private static final int REQUEST_CODE_QUIZ = 1;

public static final String EXTRA_DIFFICULTY = "extraDifficulty";

public static final String SHARED_PREFS = "sharedPrefs";


public static final String KEY_HIGHSCORE = "keyHighscore";

private TextView textViewHighScore;;


123

private String diff;

private int highscore;

private Button buttonEasy,buttonMedium,buttonHard;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_diffuculty);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

textViewHighScore = (TextView) findViewById(R.id.txtscore);


buttonEasy = (Button) findViewById(R.id.btnEasy);
buttonMedium = (Button) findViewById(R.id.btnMedium);
buttonHard = (Button) findViewById(R.id.btnHard);

loadHighscore();

// Intent i = new Intent(QuizActivity.this , DiffucultyActivity.class);


// startActivityForResult(i,REQUEST_CODE_QUIZ);

///If Easy is clicked go to next form and start the quiz


buttonEasy.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
diff = "Easy";
startQuiz();
}
});
///If Medium is clicked go to next form and start the quiz
buttonMedium.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
diff = "Medium";
startQuiz();
}
});
///If Hard is clicked go to next form and start the quiz
buttonHard.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
124

diff = "Hard";
startQuiz();
}
});

private void startQuiz(){


///Start the quiz and pass the difficulty clicked
String difficulty = diff;
Intent i = new Intent(DiffucultyActivity.this , QuizStartActivity.class);
i.putExtra(EXTRA_DIFFICULTY,difficulty);
startActivityForResult(i,REQUEST_CODE_QUIZ);

@Override
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent
data) {
super.onActivityResult(requestCode, resultCode, data);
///Set the highscore when quiz is finished
if(requestCode == REQUEST_CODE_QUIZ){
if(resultCode == RESULT_OK){
int score = data.getIntExtra(QuizStartActivity.EXTRA_SCORE,0);
if(score > highscore){
updateHighscore(score);
}
}
}
}

private void loadHighscore(){


///Display the highest score
SharedPreferences prefs =
getSharedPreferences(SHARED_PREFS,MODE_PRIVATE);
highscore = prefs.getInt(KEY_HIGHSCORE,0);
textViewHighScore.setText("Highscore: "+ highscore);
}
125

private void updateHighscore(int highscoreNew){


///Set the highest score
highscore = highscoreNew;
textViewHighScore.setText("Highscore: "+ highscore);
SharedPreferences prefs =
getSharedPreferences(SHARED_PREFS,MODE_PRIVATE);
SharedPreferences.Editor editor = prefs.edit();
editor.putInt(KEY_HIGHSCORE,highscore);
editor.apply();
}

@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}

GridActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.Toast;

public class GridActivity extends AppCompatActivity {


Button
abaruray,estudiantina,huricuti,jotaguma,jotabal,lanceros,magkasuyo,pabo,panchita,papuri
,polka,polkabal,putritos,malaguena,buling;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_grid);

abaruray = (Button) findViewById(R.id.btnAbaruray);


126

estudiantina = (Button) findViewById(R.id.btnEstudiantina);


huricuti = (Button) findViewById(R.id.btnHuricuti);
jotaguma = (Button) findViewById(R.id.btnJotaGuma);
jotabal = (Button) findViewById(R.id.btnJotabal);
lanceros = (Button) findViewById(R.id.btnLanceros);
magkasuyo = (Button) findViewById(R.id.btnMagkasuyo);
pabo = (Button) findViewById(R.id.btnPabo);
panchita = (Button) findViewById(R.id.btnPapuri);
papuri = (Button) findViewById(R.id.btnPapuri);
polka = (Button) findViewById(R.id.btnPolka);
polkabal = (Button) findViewById(R.id.btnPolkabal);
putritos = (Button) findViewById(R.id.btnPutritos);
malaguena = (Button) findViewById(R.id.btnMalaguena);
buling = (Button) findViewById(R.id.btnBuling);

///When abaruray is pressed


abaruray.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Abaruray",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Abaruray");
startActivity(i);

}
});

///When estudiantina is pressed


estudiantina.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Estudiantina",Toast.LENGTH_LONG).show(
);
127

Intent i = new Intent(GridActivity.this,ListActivity.class);


i.putExtra("title","Estudiantina");
startActivity(i);

}
});
///When Huricuti is pressed
huricuti.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Huricuti",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Huricuti");
startActivity(i);

}
});

///When jotaguma is pressed


jotaguma.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form


Toast.makeText(getApplicationContext(),"Jota
Gumaqueña",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Jota Gumaqueña");
startActivity(i);

}
});

///When jotabal is pressed


jotabal.setOnClickListener(new View.OnClickListener() {
@Override
128

public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Jotabal",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i. putExtra("title","Jotabal");
startActivity(i);

}
});

///When lanceros is pressed


lanceros.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form


Toast.makeText(getApplicationContext(),"Lanceros de
Tayabas",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Lanceros de Tayabas");
startActivity(i);

}
});

///When magkasuyo is pressed


magkasuyo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Magkasuyo",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Magkasuyo");
startActivity(i);

}
129

});

///When pabo is pressed


pabo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Pabo",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Pabo");
startActivity(i);

}
});

///When panchita is pressed


panchita.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Panchita",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Panchita");
startActivity(i);

}
});

///When papuri is pressed


papuri.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Papuri",Toast.LENGTH_LONG).show();
130

Intent i = new Intent(GridActivity.this,ListActivity.class);


i.putExtra("title","Papuri");
startActivity(i);

}
});

///When polka is pressed


polka.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Polka",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Polka");
startActivity(i);

}
});

///When polkabal is pressed


polkabal.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Polka",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Polka");
startActivity(i);

}
});

///When putritos is pressed


putritos.setOnClickListener(new View.OnClickListener() {
131

@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Putritos",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Putritos");
startActivity(i);

}
});

///When malaguena is pressed


malaguena.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form

Toast.makeText(getApplicationContext(),"Malagueña",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Malagueña");
startActivity(i);

}
});

///When buling is pressed


buling.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pass the value to next form


Toast.makeText(getApplicationContext(),"Buling-
buling",Toast.LENGTH_LONG).show();
Intent i = new Intent(GridActivity.this,ListActivity.class);
i.putExtra("title","Buling-buling");
startActivity(i);
132

}
});

}
}

HistoryActivity.java
package thesis.com.philippinefolkdance;

import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.widget.TextView;

public class HistoryActivity extends AppCompatActivity {


TextView form2;
TextView formnameHistory;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_history);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

form2 = (TextView)findViewById(R.id.textViewContent);
formnameHistory = (TextView)findViewById(R.id.textViewFormHistory);
loadData();
}

private void loadData(){

String data2 = getIntent().getExtras().getString("formname2");


getSupportActionBar().setTitle(data2);
formnameHistory.setText(data2);

///If Abaruray is clicked set the information to abaruray


if (data2.equalsIgnoreCase("Abaruray")){

form2.setText("Many believe that the original came from neighboring


Marinduque island where several abaruray versions are known to exist. Goods and
133

tradition carried by merchants crossed the narrow sea between Marinduque and
Catanauan, Tayabas (now Quezon). Fiestas were the best time to see new fashion
imprints worn in grand socials in the salas of affluent family whose houses still stand
today.\n" +
"\tOf the over hundred dances researched by Ramon A. Obusan, Abaruray is
the only dance performed by a 93 year-old man and an 88 year-old lady with such
spontaneity and ease what is recorded here is the dance in its “authentic” form and ready
for the stage. \n");
}

///If Estudiantina is clicked set the information to Estudiantina


else if (data2.equalsIgnoreCase("Estudiantina")){

form2.setText("This is a very lively and gay dance found in Unisan, Quezon


province (formerly Tayabas). During the old days this dance was a favorite in social
gatherings and was usually performed by young men and women who were students of
private schools and colleges in Manila. The boys were called estudiantes by the barrio
folks and the girls, estudiantinas. This dance was therefore named after the latter. It was
usually performed to the accomplishment of a flute and a guitar. ");

///If Huricuti is clicked set the information to Huricuti


else if (data2.equalsIgnoreCase("Huricuti")) {
form2.setText("Huricuti is a lovely, traditional dance found in many towns of
Quezon (formerly Tayabas) province, where it is customary to perform the dance in order
to enliven the social gathering and to introduce the guests to one another. There is such
fun in this dance. \n" +
"\tA man or woman start the dance, but to make this description easier
reading we shall think of the first dancer as a man and refer to him as “A”. “A” places a
hat on his head and dances around looking for a partner. He usually dances the waltz,
close step, waltz turn to the tune of a Philippine melody, waltz tempo, while looking for a
suitable partner. When he has made a choice, he stops in front of the selected partner,
whom we shall call “B”, and invites her to dance by placing his hat on her head. The
guests clap in approval of his choice. “B” has to dance in acceptance because a refusal is
considered a breach of etiquette. \n" +
"\tThe pair may perform any kind of dance step. Whoever of two is the better
dancer or is in the better mood, may lead in the dance. The steps usually performed are
the sway balance series, waltz, close step, waltz turn, step-swing series, and so forth.
Should “B” not know any of the folk dance steps, the couple may just perform ballroom
waltz.\n" +
134

"\tAfter a while “A” sits down; “B” then selects a new partner of the
opposite sex. The dance is continued in the same manner until almost every guest has
been invited to dance. \n" +
"\tGood dancers perform beautiful, intricate steps and arm movements. There
is no definite pattern followed. Each pair may perform any kind of step and may dance as
long as they desire. \n");

///If Jota Gumaqueña is clicked set the information to Jota Gumaqueña


else if (data2.equalsIgnoreCase("Jota Gumaqueña")){

form2.setText("During the Spanish regime the Jota Gumaquena dance was very
popular among the well-to-do families of Gumaca, Tayabas (now Quezon). In formal
social gatherings, the Girls attired in richly embroidered Maria Clara costume, and Boys
in elegant barong tagalog, performed this dance with great dignity and elegance.
According to information, the one who introduced this dance was a well-known musician
of the place, a Senor Herminilgildo Omana. It became popular among the young people
of the time and it has been handed down from generation to generation. Mrs. Rosario
Caparros Libranda and Mr. Ricardo Libranda who are direct descendants of Mr. Omana
are responsible for the perpetuation of this beautiful dance. ");

///If Lanceros de Tayabas is clicked set the information to Lanceros de Tayabas


else if (data2.equalsIgnoreCase("Lanceros de Tayabas")){
form2.setText("In the 16th century, the Spanish missionaries came to the
Philippine islands with a new religion that promised salvation. They capitalized on art
forms like music and dance to effectively evangelize. Such lessons as good and evil,
repentance, humility, etc. were incorporated as themes into drama, theater, songs and
dances. Among all other measures, new dance and later the lanceros or lancers from the
courts of France and England.\n" +
"\tLanceros takes its name from the chivalrous knights and lanciers of King
Arthur’s fame. Taking off from tournament grounds, the lanciers was reinterpreted into a
formal dance form performed in great ballrooms of majestic palaces where noble
gentlemen crossed lines with graceful ladies. \n" +
"\tIn Tayabas, the dance came to be known as Lanceros de Tayabas , noted
as a divertissement for the comedian stage-play also a Spanish import.");

}
///If Magkasuyo is clicked set the information to Magkasuyo
135

else if (data2.equalsIgnoreCase("Magkasuyo")){
form2.setText("Magkasuyo is simple, easy dance from Quezon. Magkasuyo
literally means good friends (pal or chum) or sweethearts. This dance may be performed
on any occasion. ");

///If Pabo is clicked set the information to Pabo


else if (data2.equalsIgnoreCase("Pabo")){

form2.setText("This dance came from the Tagalog regions is good to introduce in


a social gathering where the members are not acquainted with each other. It definitely
helps to acquaint the members faster through the exchange of partners and adds greatly to
the enjoyable time of all. The dance is called Pabo because the odd dancer at the center of
the circle struts around like a turkey as he looks for a desirable partner. ");

///If Panchita is clicked set the information to Panchita


else if (data2.equalsIgnoreCase("Panchita")){

form2.setText("PANCHITA is a girl’s name. This dance, so the story goes, was


named after a lady called Panchita, who was considered the best dancer in San Narciso,
Tayabas (now Quezon) during her time. A festival dance. It was usually performed in
honor of important visitors and high officials of the army, government, and clergy during
the Spanish period. ");
}

///If Polka is clicked set the information to Polka


else if (data2.equalsIgnoreCase("Polka")){

form2.setText("This is a very elegant dance from Tayabas (now Quezon). The


Polka was one of the popular dances in the Philippines in the old days. Each locality has
its own version of doing it. ");

///If Putritos is clicked set the information to Putritos


else if (data2.equalsIgnoreCase("Putritos")){

form2.setText("Putritos or Potritos is a very lovely festival dance from Atimonan,


tayabas (now Quezon). It is full of beautiful figures and steps. ");
136

}
///If Malagueña is clicked set the information to Malagueña
else if (data2.equalsIgnoreCase("Malagueña")){

form2.setText("More than just an icon, the “Lady of Malaga” (Malaguena) is a


representative of Old Spain. Spain’s culture and traditions, including songs and dances
were brought to the islands by the cleric, government officials, sailor-traders ad
prominent people, over a pun of 300 years. Great effort was exerted to make sure that
Spanish was Spanish and Filipino was Filipino. \n" +
"\tBut history proved them wrong. From the time the “Lady of Malaga”
invaded the dance floors of big parties and social gatherings, her execution of cubradas,
marchas paseos, vueltas and sapatiados were watched and tried by her Filipino
counterpart, the native senoritas with a great degree of success. \n" +
"\tVery driven, very proficient, the Filipino coped with the issue of
perfecting herself to stand at par with her Spanish cousin. The result was a new
malaguena that transcended the prototype with additional steps from dances already
known. Rendered in duple parties and triple measure, the dance was less flery, less
snobbish.\n" +
"\tWhen last seen, the “Lady of Malaga” lived in the spirit of native
malaguenas in the towns of Queen and Marinduque provinces. Here, she continued to do
the rounds of many parties swirling and kicking in incredible music. \n" +
"\tSomewhere along the road, however, a great transformation occurred
when our flery lady took a 360 degree turn, shedding off her traditional movements, and
giving way to soft and gentle gestures likened to a tame dove, preening and grooming.
This significant twist led to the transformation of the lady of Malaga to the lady of
Catanauan, the town from where it was first popularized. \n");

}
///If Buling-buling is clicked set the information to Buling-buling
else if (data2.equalsIgnoreCase("Buling-buling")){

form2.setText("Ash Wednesday is a special day in the town of Guiniangan,


Quezon Province. Like a Saint’s feast day. It is celebration with a fiesta complete with
church programs, small pageantry brass band competition and fool stall lined all over the
streets. The centerpiece of the celebration is the buling-buling dance. Buling means dirt
or dark smear.\n" +
"\n" +
"The buling-buling dance has reference to the buling marked on the forehead
of people by a priest on Ash Wednesday. The ashes come from last year’s Palm Sunday
palms blessed and burned for this purpose. From a passage taken from the Bible the
church reminds all Christian’s that “from ashes you come, to ashes you shall return”.\n" +
137

"\n" +
"As in Brazil’s mardi gras (Shorove Tuesday), the buling-buling of
Guiniangan, though celebrate a day later, is replete with festival flavor. People dressed in
their church’s best, streets decorated and bands playing pompous tunes. The buling-
buling starts as soon as churchgoers spill into the plaza and streets, the performing
innovative movements manipulating porcelain plates in the most masterful way taking
care that none drops. After each dance the plate received cash donations from devotees
and passersby. Cash collected goes to the church coffers. \n" +
"Guiniangan town has had the buling-buling dance performed for many
years. Its beginning no one remembers, but the traditional dancers recall that the dance
was passed to them by their grandfolks. The buling-buling group is composed of elederly
couples moving from house to house performing until noontime. After delivery of cash
donations each head for home. \n");

}
///If Jotabal is clicked set the information to Jotabal
else if (data2.equalsIgnoreCase("Jotabal")){

form2.setText("JOTABAL is derived from the words Jota and vaise. Jota is a


popular dance introduced in the Philippines by the Spaniards. Vaise means waltz, a step
or a dance in ¾ time. This lively festival dance originated in Camohaguin, Gumaca,
Quezon (formerly Tayabas).");

}
///If Papuri is clicked set the information to Papuri
else if (data2.equalsIgnoreCase("Papuri")){

form2.setText("This dance originated from Tayabas province (now Quezon).


Papuri in Tagalog means compliment or praise. This festival dance is performed in social
gatherings by the young men and women present to honor a guest or a person of note. ");

///If Polkabal is clicked set the information to Polkabal


else if (data2.equalsIgnoreCase("Polkabal")){

form2.setText("This dance acquired its name from two well-known steps, “polka”
and “vaise” (waltz), corrupted into one word, “polkabal” or “porkabal”, by the people of
Atimonan, Tayabas, where it was found. \n" +
138

"\t“Luksong Uak”,” Ensayo”, “Paseo”, “Contra-gansa”, “Punta y tacon”,


“Wagayway” and “Jardin” are some of the lively steps and figures included in this
interesting discovery. In the original dance, the “Paseo” and “Ensayo” are danced at the
intermissions making it rather longa and monotonous. These two steps are used here as
figures, not as interludes.\n");

}
}

@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

ListActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

public class ListActivity extends AppCompatActivity {


TextView title;
Button btnContext,btnDance,btnProp,btnCostume,btnDanceInfo;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

title = (TextView) findViewById(R.id.textViewTitle);


139

btnDanceInfo = (Button) findViewById(R.id.danceinfo_btn);


btnContext = (Button) findViewById(R.id.history_btn);
btnDance = (Button) findViewById(R.id.dance_btn);
btnProp = (Button) findViewById(R.id.danceproperties_btn);

title.setText(getIntent().getStringExtra("title"));

///When Dance information is clicked go to the next form and pass the dance title
btnDanceInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(ListActivity.this, Danceinfo.class);
i.putExtra("title",title.getText().toString());
startActivity(i);
}
});
///When Context is clicked go to the next form and pass the dance title
btnContext.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(ListActivity.this, HistoryActivity.class);
i.putExtra("formname2",title.getText().toString());
startActivity(i);
}
});
///When Dance is clicked go to the next form and pass the dance title
btnDance.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

Intent i = new Intent(ListActivity.this, DanceActivity.class);


i.putExtra("formname2",title.getText().toString());
startActivity(i);

}
});
///When Dance Properties is clicked go to the next form and pass the dance title
btnProp.setOnClickListener(new View.OnClickListener() {
@Override
140

public void onClick(View v) {


Intent i = new Intent(ListActivity.this, DanceProperties.class);
i.putExtra("formname2",title.getText().toString());
startActivity(i);

}
});

}
@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

MainActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.media.MediaPlayer;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import android.widget.TextView;
import android.widget.Toast;

public class ListActivity extends AppCompatActivity {


TextView title;
Button btnContext,btnDance,btnProp,btnCostume,btnDanceInfo;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_list);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
141

title = (TextView) findViewById(R.id.textViewTitle);


btnDanceInfo = (Button) findViewById(R.id.danceinfo_btn);
btnContext = (Button) findViewById(R.id.history_btn);
btnDance = (Button) findViewById(R.id.dance_btn);
btnProp = (Button) findViewById(R.id.danceproperties_btn);

title.setText(getIntent().getStringExtra("title"));

///When Dance information is clicked go to the next form and pass the dance title
btnDanceInfo.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(ListActivity.this, Danceinfo.class);
i.putExtra("title",title.getText().toString());
startActivity(i);
}
});
///When Context is clicked go to the next form and pass the dance title
btnContext.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(ListActivity.this, HistoryActivity.class);
i.putExtra("formname2",title.getText().toString());
startActivity(i);
}
});
///When Dance is clicked go to the next form and pass the dance title
btnDance.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

Intent i = new Intent(ListActivity.this, DanceActivity.class);


i.putExtra("formname2",title.getText().toString());
startActivity(i);

}
});
///When Dance Properties is clicked go to the next form and pass the dance title
142

btnProp.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(ListActivity.this, DanceProperties.class);
i.putExtra("formname2",title.getText().toString());
startActivity(i);

}
});

}
@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

MenuActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.ActionBar;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.AdapterView;
import android.widget.ListView;
import android.widget.Toast;

import java.util.ArrayList;

public class MenuActivity extends AppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_menu);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);
143

///Di na natin to gagamitin kasi yung grid na ginamit natin

ArrayList<String> list = new ArrayList<String>();


list.add("Abaruray");
list.add("Estudiantina");
list.add("Huricuti");
list.add("Jota Gumaqueña");
list.add("Jotabal");
list.add("Lanceros de Tayabas");
list.add("Magkasuyo");
list.add("Pabo");
list.add("Panchita");
list.add("Papuri");
list.add("Polka");
list.add("Polkabal");
list.add("Putritos");
list.add("Malagueña");
list.add("Buling-buling");

//instantiate custom adapter


customAdapter adapter = new customAdapter(list, this);

//handle listview and assign adapter


ListView lView = (ListView)findViewById(R.id.listview1);
lView.setAdapter(adapter);

lView.setOnItemClickListener(new AdapterView.OnItemClickListener() {
@Override
public void onItemClick(AdapterView<?> parent, View view, int position, long
id) {

String selectedItem = (String) parent.getItemAtPosition(position);

Toast.makeText(getApplicationContext(),selectedItem,Toast.LENGTH_LONG).show();
Intent i = new Intent(MenuActivity.this,ListActivity.class);
i.putExtra("title",selectedItem);
startActivity(i);
}
});
144

@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}
}

Question.java

package thesis.com.philippinefolkdance;

import android.os.Parcel;
import android.os.Parcelable;

public class Question implements Parcelable {

public static final String DIFFICULTY_EASY = "Easy";


public static final String DIFFICULTY_MEDIUM = "Medium";
public static final String DIFFICULTY_HARD = "Hard";

private String question;


private String option1,option2,option3;
private int answer;
private String difficulty;

public Question(){}

///Gumawa tayo ng function na may 6 parameters, yung


question,choice1,choice2,choice3,yung tamang sagot at kung anong difficulty yung
tanong na yun
public Question(String question, String option1, String option2, String option3, int
answer,String difficulty) {
this.question = question;
this.option1 = option1;
this.option2 = option2;
this.option3 = option3;
this.answer = answer;
this.difficulty = difficulty;
145

}
///basahin natin yung laman nung mga variable gamit yung .readstring
protected Question(Parcel in) {
question = in.readString();
option1 = in.readString();
option2 = in.readString();
option3 = in.readString();
answer = in.readInt();
difficulty = in.readString();
}

@Override

///Save natin yung mga nasa loob ng variables


public void writeToParcel(Parcel dest, int flags) {
dest.writeString(question);
dest.writeString(option1);
dest.writeString(option2);
dest.writeString(option3);
dest.writeInt(answer);
dest.writeString(difficulty);
}

@Override
public int describeContents() {
return 0;
}
///Gawa tayo ng parameter na mag hohold at create ng ating question set
public static final Creator<Question> CREATOR = new Creator<Question>() {
@Override
public Question createFromParcel(Parcel in) {
return new Question(in);
}

@Override
public Question[] newArray(int size) {
return new Question[size];
}
};

public String getQuestion() {


return question;
146

public void setQuestion(String question) {


this.question = question;
}

public String getOption1() {


return option1;
}

public void setOption1(String option1) {


this.option1 = option1;
}

public String getOption2() {


return option2;
}

public void setOption2(String option2) {


this.option2 = option2;
}

public String getOption3() {


return option3;
}

public void setOption3(String option3) {


this.option3 = option3;
}

public int getAnswer() {


return answer;
}

public void setAnswer(int answer) {


this.answer = answer;
}

public String getDifficulty() {


return difficulty;
}
147

public void setDifficulty(String difficulty) {


this.difficulty = difficulty;
}

public static String[] getAllDifficultyLevels(){

return new String[]{


DIFFICULTY_EASY,
DIFFICULTY_MEDIUM,
DIFFICULTY_HARD,

};

QuizActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.content.SharedPreferences;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.TextView;

import org.w3c.dom.Text;

public class QuizActivity extends AppCompatActivity {

Button startQuiz;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_quiz);
148

getSupportActionBar().setDisplayHomeAsUpEnabled(true);
startQuiz = (Button) findViewById(R.id.btnStart);

///When start quiz is clicked start the quiz activity


startQuiz.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent i = new Intent(QuizActivity.this , DiffucultyActivity.class);
startActivity(i);
}
});

@Override
public boolean onSupportNavigateUp(){
finish();
return true;
}

QuizContr.java

package thesis.com.philippinefolkdance;

import android.provider.BaseColumns;

public final class QuizContr {

private QuizContr() {}

public static class QuestionsTable implements BaseColumns {


///Quiz contract yung nag hohold ng mga table natin sa database
public static final String TABLE_NAME = "quiz_questions";
public static final String COLUMN_QUESTION = "question";
public static final String COLUMN_OPTION1 = "option1";
public static final String COLUMN_OPTION2 = "option2";
public static final String COLUMN_OPTION3 = "option3";
149

public static final String COLUMN_ANSWER= "answer";


public static final String COLUMN_DIFFICULTY= "difficulty";

QuizDbHelper.java

package thesis.com.philippinefolkdance;

import android.content.ContentValues;
import android.content.Context;
import android.database.Cursor;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

import java.util.ArrayList;
import java.util.List;

import thesis.com.philippinefolkdance.QuizContr.*;

public class QuizDbHelper extends SQLiteOpenHelper {

private static final String DATABASE_NAME = "QuestionsDB.db";


private static final int DATABASE_VERSION = 2;

private SQLiteDatabase db;

public QuizDbHelper(Context context) {


super(context, DATABASE_NAME, null, DATABASE_VERSION);
}

@Override
public void onCreate(SQLiteDatabase db) {
///Create tayo ng database pag bagong install yung app

this.db = db;

final String SQL_CREATE_QUESTIONS_TABLE = "create table " +


150

QuestionsTable.TABLE_NAME + " ( " +


QuestionsTable._ID + " INTEGER PRIMARY KEY AUTOINCREMENT, " +
QuestionsTable.COLUMN_QUESTION + " TEXT, " +
QuestionsTable.COLUMN_OPTION1 + " TEXT, " +
QuestionsTable.COLUMN_OPTION2 + " TEXT, " +
QuestionsTable.COLUMN_OPTION3 + " TEXT, " +
QuestionsTable.COLUMN_ANSWER + " INTEGER, " +
QuestionsTable.COLUMN_DIFFICULTY + " TEXT" +
")";

db.execSQL(SQL_CREATE_QUESTIONS_TABLE);

fillQuestionsTable();

@Override
public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

///Pag meron na table, drop natin yung table na yon


db.execSQL("DROP TABLE IF EXISTS " + QuestionsTable.TABLE_NAME);
onCreate(db);
}

private void fillQuestionsTable() {

///Dito natin isasave lahat ng tanong natin at kung ano ang difficulty nila
//Easy questions

Question q1 = new Question("Malaguena dance originated from?", "a. Gumaca", "b.


Sariaya", "c. Catanauan", 3,Question.DIFFICULTY_EASY);
addQuestion(q1);

Question q2 = new Question("In Lanceros de Tayabas, when was the Spanish


missionaries came to the Philippines?", "a. 16th century", "b. 14th century", "c. 15th
century", 1,Question.DIFFICULTY_EASY);
addQuestion(q2);

Question q3 = new Question("What kind of dance is the Buling-buling?", "a.


Festival", "b. Praise", "c. Lyrical", 1,Question.DIFFICULTY_EASY);
addQuestion(q3);
151

Question q4 = new Question("What is the meaning of Papuri dance?", "a. Praise",


"b. Adore", "c. Festival", 1,Question.DIFFICULTY_EASY);
addQuestion(q4);

Question q5 = new Question("Meaning of “hawk-like” in Abaruray dance?", "a.


Marcha", "b. Step", "c. Binanog", 3,Question.DIFFICULTY_EASY);
addQuestion(q5);

Question q6 = new Question("Costume does the dancers wear in Jota Gumaquena?",


"a. Tapis ", "b. Balintawak", "c. Maria Clara & Barong Tagalog",
3,Question.DIFFICULTY_EASY);
addQuestion(q6);

Question q7 = new Question("Meaning of Malaguena", "a. Young ladies ", "b. Lady
of Malaga", "c. Dancing Ladies", 2,Question.DIFFICULTY_EASY);
addQuestion(q7);

Question q8 = new Question("Where was estudiantina dance originated from?", "a.


Unisan", "b. Mauban", "c. Gumaca", 1,Question.DIFFICULTY_EASY);
addQuestion(q8);

Question q9 = new Question("Meaning of Magkasuyo", "a. Good couple", "b. Good


sibling", "c. Good friend", 3,Question.DIFFICULTY_EASY);
addQuestion(q9);

Question q10 = new Question("How many folk dances in Quezon?", "a. 12", "b.
15", "c. 13", 2,Question.DIFFICULTY_EASY);
addQuestion(q10);

//Medium Questions

Question q11 = new Question("What is the Tagalog word of “Scarf”?", "a. Baro",
"b. Panuelo", "c. Saya", 2,Question.DIFFICULTY_MEDIUM);
addQuestion(q11);

Question q12 = new Question("What is the meaning of “Aba”, “Ruray”?", "a.


Expression of surprise/pet name of a popular town", "b. Expression of happiness/name of
a popular village", "c. Expression of angriness/name of a popular street",
1,Question.DIFFICULTY_MEDIUM);
addQuestion(q12);
152

Question q13 = new Question("Based on research by Ramon A. Obusan, what age


who performs dance.", "a. 56 y/o – 45 y/o", "b. 93 y/o – 88 y/o", "c. 30 y/o – 25 y/o",
2,Question.DIFFICULTY_MEDIUM);
addQuestion(q13);

Question q14 = new Question("What name of the musician who introduces the “Jota
Gumaquena”?", "a. Herminilgido Omana", "b. b.Hermalino Corpuz", "c. Eligio
Delgado", 1,Question.DIFFICULTY_MEDIUM);
addQuestion(q14);

Question q15 = new Question("Instead of a hat.", "a. Umbrella", "b. Fan", "c.
Kerchief", 3,Question.DIFFICULTY_MEDIUM);
addQuestion(q15);

Question q16 = new Question("Other term of “Polkabal”.", "a. Porkabal", "b.


Polkobal", "c. Pilkabal", 1,Question.DIFFICULTY_MEDIUM);
addQuestion(q16);

Question q17 = new Question("Which in Quezon Province “Putritos” originated?",


"a. Tayabas", "b. Atimonan", "c. Unisan", 2,Question.DIFFICULTY_MEDIUM);
addQuestion(q17);

Question q18 = new Question("How many music divided in “Putritos”.", "a. 8", "b.
12", "c. 15", 2,Question.DIFFICULTY_MEDIUM);
addQuestion(q18);

Question q19 = new Question("“Magkasuyo” girl dancers wear style of costume",


"a. Balintawak", "b. Tibetan", "c. Camisa", 1,Question.DIFFICULTY_MEDIUM);
addQuestion(q19);

Question q20 = new Question(" is a popular dance introduces in the


Philippines by the Spaniards.", "a. Vaise", "b. Jota", "c. Pabo",
2,Question.DIFFICULTY_MEDIUM);
addQuestion(q20);

//Hard Questions
Question q21 = new Question("Folk dance/s with Spanish influence in Quezon
Province", "a. Estudiantina", "b. Abaruray", "c. All of the above",
3,Question.DIFFICULTY_HARD);
addQuestion(q21);
153

Question q22 = new Question("Panchita: , Gumaca, Quezon:


", "a. San Narciso, Quezon, Jotabal", "b. Tayabas, Quezon, Estudiantina",
"c. Catanauan, Quezon, Malaguena", 1,Question.DIFFICULTY_HARD);
addQuestion(q22);

Question q23 = new Question("How many figures are there in Jotabal?", "a. XII",
"b. X", "c. XI", 3,Question.DIFFICULTY_HARD);
addQuestion(q23);

Question q24 = new Question("Estudiantina is a very lively and gay dance in


Unisan, Quezon province. The girls were called Estudiantinas, How about the boys?", "a.
Estudianta", "b. Estudiantes", "c. Estudiantos", 2,Question.DIFFICULTY_HARD);
addQuestion(q24);

Question q25 = new Question("In Magkasuyo dance formation Partners stand


opposite each other about six feet apart. Girl stands at Boy’s left side when facing
audience. Any number of pairs may take part in this dance. True or False?", "a. True", "b.
False", "c. Maybe", 2,Question.DIFFICULTY_HARD);
addQuestion(q25);

Question q26 = new Question("The Music in Papuri dance composed of how many
parts?", "a. 4", "b. 5", "c. 6", 3,Question.DIFFICULTY_HARD);
addQuestion(q26);

Question q27 = new Question("A lanceros honoring the town of Tayabas, Quezon is
the meaning of Lanceros de Tayabas. True or False? ", "a. True", "b. False", "c. Maybe",
1,Question.DIFFICULTY_HARD);
addQuestion(q27);

Question q28 = new Question("She was considered the best dancer in San Narciso,
Quezon.", "a. Pacita", "b. Pachita", "c. Panchita", 3,Question.DIFFICULTY_HARD);
addQuestion(q28);

Question q29 = new Question("This is usually performed by couple, but two pairs
may participate in the dance.", "a. Abaruray", "b. Estudiantina", "c. Malaguena",
1,Question.DIFFICULTY_HARD);
addQuestion(q29);

Question q30 = new Question("In Pabo dance, Dancers are dressed in any
costume.", "a. Maria Clara", "b. Filipino", "c. White",
2,Question.DIFFICULTY_HARD);
154

addQuestion(q30);

private void addQuestion(Question question) {


///Insert na natin sa database lahat
ContentValues cv = new ContentValues();
cv.put(QuestionsTable.COLUMN_QUESTION, question.getQuestion());
cv.put(QuestionsTable.COLUMN_OPTION1, question.getOption1());
cv.put(QuestionsTable.COLUMN_OPTION2, question.getOption2());
cv.put(QuestionsTable.COLUMN_OPTION3, question.getOption3());
cv.put(QuestionsTable.COLUMN_ANSWER, question.getAnswer());
cv.put(QuestionsTable.COLUMN_DIFFICULTY, question.getDifficulty());
db.insert(QuestionsTable.TABLE_NAME, null, cv);
}

public ArrayList<Question> getAllQuestion() {


///pag kuha ng lahat ng questions sa database
ArrayList<Question> questionList = new ArrayList<>();
db = getReadableDatabase();
Cursor c = db.rawQuery("SELECT * FROM " + QuestionsTable.TABLE_NAME,
null);
if (c.moveToFirst()) {
do {

Question question = new Question();

question.setQuestion(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_QUEST
ION)));

question.setOption1(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_OPTION
1)));

question.setOption2(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_OPTION
2)));

question.setOption3(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_OPTION
3)));
155

question.setAnswer(c.getInt(c.getColumnIndex(QuestionsTable.COLUMN_ANSWER)))
;

question.setDifficulty(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_DIFFIC
ULTY)));
questionList.add(question);
} while (c.moveToNext()) ;
}
c.close();
return questionList;
}
public ArrayList<Question> getQuestion(String difficulty) {
///pag fetch ng question sa database

ArrayList<Question> questionList = new ArrayList<>();


db = getReadableDatabase();

String[] selectionArgs = new String[]{difficulty};


Cursor c = db.rawQuery("SELECT * FROM " + QuestionsTable.TABLE_NAME +
" WHERE " + QuestionsTable.COLUMN_DIFFICULTY + " = ?", selectionArgs);
if (c.moveToFirst()) {
do {

Question question = new Question();

question.setQuestion(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_QUEST
ION)));

question.setOption1(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_OPTION
1)));

question.setOption2(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_OPTION
2)));

question.setOption3(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_OPTION
3)));

question.setAnswer(c.getInt(c.getColumnIndex(QuestionsTable.COLUMN_ANSWER)))
;
156

question.setDifficulty(c.getString(c.getColumnIndex(QuestionsTable.COLUMN_DIFFIC
ULTY)));
questionList.add(question);
} while (c.moveToNext()) ;
}
c.close();
return questionList;
}

QuizStarActivity.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.content.res.ColorStateList;
import android.graphics.Color;
import android.media.MediaPlayer;
import android.os.CountDownTimer;
import android.os.PersistableBundle;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;
import android.widget.RadioButton;
import android.widget.RadioGroup;
import android.widget.TextView;
import android.widget.Toast;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.Locale;

public class QuizStartActivity extends AppCompatActivity {


private TextView
textViewQuestion,textViewScore,textViewQuestionCount,textViewCountdown,textView
Difficulty;
private RadioGroup rbGroup;
157

private RadioButton rb1,rb2,rb3;


private Button btnConfirmNext;
private ColorStateList textColorDefaultRb;
private ColorStateList textColorDefaultCd;

private static final String KEY_SCORE = "keyscore";


private static final String KEY_QUESTION_COUNT = "keyQuestionCount";

private static final String KEY_MILLIS_LEFT = "keyMillisLeft";


private static final String KEY_ANSWERED = "keyAnswered";
private static final String KEY_QUESTION_LIST = "keyQuestionList";

private ArrayList<Question> questionList;


private int questionCounter;
private int questionCountTotal;
private Question currentQuestion;

private CountDownTimer countDownTimer;


private long timeLeftMillis;

private int score;


private boolean answered;

private MediaPlayer mPlayer;


public static final String EXTRA_SCORE = "extraScore";
private static final long COUNTDOWN_IN_MILLIS = 30000;

private long backPressedTime;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_quiz_start);

textViewQuestion = findViewById(R.id.txtQuestion);
textViewScore = findViewById(R.id.txtPoints);
textViewDifficulty = findViewById(R.id.txtDifficulty);
textViewQuestionCount = findViewById(R.id.txtNumQuest);
textViewCountdown = findViewById(R.id.txtTimer);
btnConfirmNext = findViewById(R.id.btnConfirm);
158

rbGroup = findViewById(R.id.rdoGrp);
rb1 = findViewById(R.id.rbOption1);
rb2 = findViewById(R.id.rbOption2);
rb3 = findViewById(R.id.rbOption3);

rb1.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
btnConfirmNext.setText("Confirm");
}
});
rb2.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
btnConfirmNext.setText("Confirm");
}
});
rb3.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
btnConfirmNext.setText("Confirm");
}
});

textColorDefaultRb = rb1.getTextColors();
textColorDefaultCd = textViewCountdown.getTextColors();

mPlayer = MediaPlayer.create(this, R.raw.quizbackground);


mPlayer.start();

Intent i = getIntent();
String difficulty = i.getStringExtra(DiffucultyActivity.EXTRA_DIFFICULTY);

textViewDifficulty.setText("Difficulty: " + difficulty);

if(savedInstanceState == null) {
QuizDbHelper dbHelper = new QuizDbHelper(this);
questionList = dbHelper.getQuestion(difficulty);

questionCountTotal = questionList.size();
159

Collections.shuffle(questionList);

showNextQuestion();
}else{
questionList =
savedInstanceState.getParcelableArrayList(KEY_QUESTION_LIST);
if (questionList == null){
finish();
}
questionCountTotal = questionList.size();
questionCounter = savedInstanceState.getInt(KEY_QUESTION_COUNT);
currentQuestion = questionList.get(questionCounter - 1);
score = savedInstanceState.getInt(KEY_SCORE);
timeLeftMillis = savedInstanceState.getLong(KEY_MILLIS_LEFT);
answered = savedInstanceState.getBoolean(KEY_ANSWERED);

if (!answered){
startCountDown();
}else{
updateCountDownText();
showSolution();
}
}

btnConfirmNext.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
if(!answered){
if(rb1.isChecked() || rb2.isChecked() || rb3.isChecked()){
rb1.setEnabled(false);
rb2.setEnabled(false);
rb3.setEnabled(false);
checkAnswer();
}else{
Toast.makeText(QuizStartActivity.this,"Please select an
answer",Toast.LENGTH_LONG).show();
}
}else{
rb1.setEnabled(true);
rb2.setEnabled(true);
rb3.setEnabled(true);
160

showNextQuestion();
}
}
});

private void showNextQuestion(){


rb1.setTextColor(textColorDefaultRb);
rb2.setTextColor(textColorDefaultRb);
rb3.setTextColor(textColorDefaultRb);
rbGroup.clearCheck();

if(questionCounter < questionCountTotal){


currentQuestion = questionList.get(questionCounter);
textViewQuestion.setText(currentQuestion.getQuestion());
rb1.setText(currentQuestion.getOption1());
rb2.setText(currentQuestion.getOption2());
rb3.setText(currentQuestion.getOption3());

questionCounter++;
textViewQuestionCount.setText("Question: " + questionCounter + "/" +
questionCountTotal);
answered= false;
btnConfirmNext.setText("Confirm");

timeLeftMillis = COUNTDOWN_IN_MILLIS;
startCountDown();

}else{
finishQuiz();
}

private void startCountDown(){

countDownTimer = new CountDownTimer(timeLeftMillis,1000) {


@Override
public void onTick(long millisUntilFinished) {
161

timeLeftMillis = millisUntilFinished;
updateCountDownText();
}

@Override
public void onFinish() {
timeLeftMillis = 0;
updateCountDownText();
checkAnswer();
}
}.start();

}
private void updateCountDownText(){

int minutes = (int)(timeLeftMillis / 1000) / 60;


int seconds = (int) (timeLeftMillis / 1000)% 60;

String timeFormatted =
String.format(Locale.getDefault(),"%02d:%02d",minutes,seconds);

textViewCountdown.setText(timeFormatted);

if(timeLeftMillis < 10000){


textViewCountdown.setTextColor(Color.RED);
}else{
textViewCountdown.setTextColor(textColorDefaultCd);
}

private void checkAnswer(){


answered = true;

countDownTimer.cancel();

RadioButton rbSelected = findViewById(rbGroup.getCheckedRadioButtonId());


int answerNr = rbGroup.indexOfChild(rbSelected) + 1;
if(answerNr == currentQuestion.getAnswer()){
score++;
textViewScore.setText("Score: " + score);
162

}
showSolution();
}
private void showSolution(){
rb1.setTextColor(Color.RED);
rb2.setTextColor(Color.RED);
rb3.setTextColor(Color.RED);

switch(currentQuestion.getAnswer()){
case 1:
rb1.setTextColor(Color.GREEN);
break;
case 2:
rb2.setTextColor(Color.GREEN);
break;
case 3:
rb3.setTextColor(Color.GREEN);
break;
}if (questionCounter < questionCountTotal){
btnConfirmNext.setText("Next");
}else{
btnConfirmNext.setText("Finish");
}
}
private void finishQuiz(){
Intent resultIntent=new Intent();
resultIntent.putExtra(EXTRA_SCORE,score);
setResult(RESULT_OK,resultIntent);
mPlayer.stop();
finish();
}

@Override
public void onBackPressed() {
///Pag na click ulit yung back within 2 seconds
if(backPressedTime + 2000 > System.currentTimeMillis()){
mPlayer.stop();
finishQuiz();

}else{
Toast.makeText(this,"Press back again to exit",Toast.LENGTH_LONG).show();
}
163

backPressedTime = System.currentTimeMillis();

@Override
protected void onDestroy() {
///pag nag back tayo
super.onDestroy();
if(countDownTimer != null){
countDownTimer.cancel();

@Override
public void onSaveInstanceState(Bundle outState, PersistableBundle
outPersistentState) {

///Pag kuha ng required data para sa quiz activity

super.onSaveInstanceState(outState, outPersistentState);
outState.putInt(KEY_SCORE,score);
outState.putInt(KEY_QUESTION_COUNT,questionCounter);
outState.putLong(KEY_MILLIS_LEFT,timeLeftMillis);
outState.putBoolean(KEY_ANSWERED,answered);
outState.putParcelableArrayList(KEY_QUESTION_LIST, questionList);

SongActivity.java

package thesis.com.philippinefolkdance;

import android.media.MediaPlayer;
import android.net.Uri;
import android.os.Bundle;
import android.os.Handler;
164

import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageButton;
import android.widget.SeekBar;
import android.widget.TextView;
import android.widget.Toast;

import java.util.concurrent.TimeUnit;

public class SongActivity extends AppCompatActivity {


TextView form3;
TextView formnameSong;

private ImageButton forwardbtn, backwardbtn, pausebtn, playbtn,stopbtn;


private MediaPlayer mPlayer;
private TextView startTime, songTime;
private SeekBar songPrgs;
private static int oTime =0, sTime =0, eTime =0, fTime = 5000, bTime = 5000;
private Handler hdlr = new Handler();

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_song);
getSupportActionBar().setDisplayHomeAsUpEnabled(true);

form3 = (TextView) findViewById(R.id.textViewSong);


formnameSong = (TextView) findViewById(R.id.textViewFormSong);

backwardbtn = (ImageButton)findViewById(R.id.btnBackward);
forwardbtn = (ImageButton)findViewById(R.id.btnForward);
playbtn = (ImageButton)findViewById(R.id.btnPlay);
pausebtn = (ImageButton)findViewById(R.id.btnPause);
stopbtn = (ImageButton)findViewById(R.id.btnStop);

loadData();

pausebtn.setEnabled(false);
165

stopbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pag pinindot ang stop butotn


mPlayer.stop();
loadData();
playbtn.setEnabled(true);
oTime=0;
sTime=0;

stopbtn.setEnabled(false);

}
});

playbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
///Pag pinindot ang Play butotn
Toast.makeText(getApplicationContext(), "Playing " +
formnameSong.getText(), Toast.LENGTH_SHORT).show();

mPlayer.start();
eTime = mPlayer.getDuration();
sTime = mPlayer.getCurrentPosition();
if(oTime == 0){

oTime =1;
}

hdlr.postDelayed(UpdateSongTime, 100);
pausebtn.setEnabled(true);
playbtn.setEnabled(false);
stopbtn.setEnabled(true);
}
});
pausebtn.setOnClickListener(new View.OnClickListener() {
166

@Override
public void onClick(View v) {

///Pag pinindot ang pause butotn


mPlayer.pause();
pausebtn.setEnabled(false);
playbtn.setEnabled(true);
Toast.makeText(getApplicationContext(),"Pausing Audio",
Toast.LENGTH_SHORT).show();
}
});
forwardbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pag pinindot ang forward butotn


if((sTime + fTime) <= eTime)
{
sTime = sTime + fTime;
mPlayer.seekTo(sTime);
}
else
{
Toast.makeText(getApplicationContext(), "Cannot jump forward 5 seconds",
Toast.LENGTH_SHORT).show();

}
if(!playbtn.isEnabled()){
playbtn.setEnabled(true);
}
}
});
backwardbtn.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {

///Pag pinindot ang backward butotn


if((sTime - bTime) > 0)
{
sTime = sTime - bTime;
mPlayer.seekTo(sTime);
}
167

else
{
Toast.makeText(getApplicationContext(), "Cannot jump backward 5
seconds", Toast.LENGTH_SHORT).show();
}
if(!playbtn.isEnabled()){
playbtn.setEnabled(true);
}
}
});

private Runnable UpdateSongTime = new Runnable() {


@Override
public void run() {

///Para kapag nag pause tayo, makuha natin kung san nag pause yung kanta

sTime = mPlayer.getCurrentPosition();

hdlr.postDelayed(this, 100);
if(oTime == 0){

oTime =1;
}
}
};

private void loadData(){


String data = getIntent().getExtras().getString("formname1");
String data2 = getIntent().getExtras().getString("formname2");

formnameSong.setText(data2);

if (data2.equalsIgnoreCase("Abaruray")){
///If Abaruray is clicked set the song to abaruray
mPlayer = MediaPlayer.create(this, R.raw.abaruraysong);
168

form3.setText("Music: 2/4 and 3/4: \tComposed of four parts. A, B, C and Saludo.


When available, a brass band or a rondalla plays the music.");

}
else if (data2.equalsIgnoreCase("Estudiantina")){
///If Estudiantina is clicked set the song to Estudiantina
mPlayer = MediaPlayer.create(this, R.raw.estudiantinasong);
form3.setText("Music \t: ¾ \tComposed of three parts: A, B and C.\n" +
"Count\t\t: One, two, three to a measure.\n");
}
else if (data2.equalsIgnoreCase("Huricuti")) {
///If Huricuti is clicked set the song to Huricuti
Toast.makeText(getApplicationContext(), "Song not yet available",
Toast.LENGTH_SHORT).show();

form3.setText("");
}

else if (data2.equalsIgnoreCase("Jota Gumaqueña")){


///If Jota Gumaqueña is clicked set the song to Jota Gumaqueña
mPlayer = MediaPlayer.create(this, R.raw.jotagumasong);
form3.setText("Music\t\t: One, two, three, four to a measure in 4/4 time\n" +
"\t\t\t One, two, three to a measure in ¾ time. \n" +
"\tCount\t\t: 4/4; ¾ Composed of 10 parts: Intro, A, B, C, D, E, F, G, H, and
Finale.\n");

}
else if (data2.equalsIgnoreCase("Lanceros de Tayabas")){
///If Lanceros de Tayabas is clicked set the song to Lanceros de Tayabas
mPlayer = MediaPlayer.create(this, R.raw.lancerossong);
form3.setText("Music: 2/4; composed seven parts A, B, C, D, E, F and G. ");
}
else if (data2.equalsIgnoreCase("Magkasuyo")){
///If Magkasuyo is clicked set the song to Magkasuyo
Toast.makeText(getApplicationContext(), "Song not yet available",
Toast.LENGTH_SHORT).show();
form3.setText("Music\t\t\t: is composed of two parts: A and B.\n" +
"Count\t\t\t: one, two, three to a measure. \n" +
"Formation\t\t: Partners stand opposite each other about six feet apart. Girl
stands at Boy’s right side when facing audience. Any number of pairs may take part in
this dance. \n");
169

}
else if (data2.equalsIgnoreCase("Pabo")){
///If Pabo is clicked set the song to Pabo
Toast.makeText(getApplicationContext(), "Song not yet available",
Toast.LENGTH_SHORT).show();
form3.setText("Music: \t\tNo definite music is used. Any danza, habanera or valse
may played for this dance. The habanera as given here is divided into two pairs: A and B,
played as many times as necessary. \n" +
"Count: \t\tOne, two, and, for habanera music and one, two, three for valse
(waltz). \n");
}
else if (data2.equalsIgnoreCase("Papuri")){
///If Papuri is clicked set the song to Papuri
Toast.makeText(getApplicationContext(), "Song not yet available",
Toast.LENGTH_SHORT).show();
form3.setText("Composed of six parts: A, B, C, D, E and F. ");
}
else if (data2.equalsIgnoreCase("Panchita")){

///If Panchita is clicked set the song to Panchita


mPlayer = MediaPlayer.create(this, R.raw.lapanchitasong);
form3.setText("Music:\tComposed of three parts: A, B, and C. \n" +
"Count: \tone, two, three to a measure\n");

}
else if (data2.equalsIgnoreCase("Polka")){
///If Polka is clicked set the song to Polka
mPlayer = MediaPlayer.create(this, R.raw.polkasong);
form3.setText("Music\t\t: divided into three parts: A, B, and C. \n" +
"Count\t\t: one, and, two, and, or one, and, two to a measure.\n");
}
else if (data2.equalsIgnoreCase("Polkabal")){
///If Polkabal is clicked set the song to Polkabal
mPlayer = MediaPlayer.create(this, R.raw.polkabalsong);
form3.setText("Music is divided into two parts: A and B. It is repeated four times
and played in a regular 2/4 tempo. ");
}
else if (data2.equalsIgnoreCase("Putritos")){
///If Putritos is clicked set the song to Putritos
mPlayer = MediaPlayer.create(this, R.raw.putritossong);
form3.setText("Music\t\t\t: is divided into twelve parts: Introduction A, B, C, D,
E, F, G, H, I, J, and Finale. \n" +
170

"Count\t\t\t: one, two, three to a measure. \n" +


"Formation\t\t: Partners stand opposite each other about six feet apart. Girl
stands at partner’s right is when facing audience. One to any number of pairs may take
part in this dance. \n");
}
else if (data2.equalsIgnoreCase("Malagueña")){
///If Malagueña is clicked set the song to Malagueña
mPlayer = MediaPlayer.create(this, R.raw.malaguenasong);
form3.setText("Musical Accompaniment\t: A symphony, a brass band or a
rondalla. \n" +
"Music\t\t\t\t: Composed of six parts: A, B, C, D, E and F. \n" +
"Count \t\t\t\t: 1, 2, 3 to a measure\t\n");
}
else if (data2.equalsIgnoreCase("Buling-buling")) {
///If Buling-buling is clicked set the song to Buling-buling
mPlayer = MediaPlayer.create(this, R.raw.bulingsong);
form3.setText("Music accompaniment: Rondalla or Brass band\n" +
"Music: \t2/4 and ¾ Composed of six parts: A, B, C, D, E and F. \n" +
"Count: \tOne, two to a measure in 2/4-time signature\n" +
"\t\tOne, two, three to a measure in ¾ time signature.\n");
}
else if (data2.equalsIgnoreCase("Jotabal")){
///If Jotabal is clicked set the song to Jotabal
mPlayer = MediaPlayer.create(this, R.raw.jotabalsong);
form3.setText("Music\t\t: ¾ Composed of six parts: A, B, C, D, E, and F. \n" +
"\tCount \t\t: One, two, three to a measure\n");

}
}

@Override
public boolean onSupportNavigateUp(){
finish();
mPlayer.stop();
mPlayer.release();
return true;
}

@Override
public void onBackPressed() {
super.onBackPressed();
mPlayer.stop();
171

this.finish();
}
}

SplashScreen.java

package thesis.com.philippinefolkdance;

import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import android.support.v7.app.AppCompatActivity;

public class SplashScreen extends AppCompatActivity {


private final int SPLASH_DISPLAY_LENGTH = 4000;

///ito yung sa splashscreen natin, after 4 seconds punta na sa main activity

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_splash_screen);
getSupportActionBar().hide();
Handler handler = new Handler();
handler.postDelayed(new Runnable() {

@Override

public void run() {

Intent i = new Intent(SplashScreen.this, MainActivity.class);

startActivity(i);

// close this activity

finish();

}
172

}, 3000);

}
}

S-ar putea să vă placă și