forked from eriknakamura/skin-sense
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
632 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/AutoSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class AutoSymptom extends AppCompatActivity { | ||
CheckBox autoy; | ||
CheckBox auton; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.auto_symptom); | ||
autoy = (CheckBox) findViewById(R.id.autoy); | ||
auton = (CheckBox) findViewById(R.id.auton); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), ResultsActivity.class); | ||
intent.putExtra("autoy", autoy.isChecked()); | ||
intent.putExtra("auton", auton.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/BumpsSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class BumpsSymptom extends AppCompatActivity { | ||
CheckBox bumpsy; | ||
CheckBox bumpsn; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.bumps_symptom); | ||
bumpsy = (CheckBox) findViewById(R.id.bumpsy); | ||
bumpsn = (CheckBox) findViewById(R.id.bumpsn); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), RednessSymptom.class); | ||
intent.putExtra("bumpsy", bumpsy.isChecked()); | ||
intent.putExtra("bumpsn", bumpsn.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/DrynessSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class DrynessSymptom extends AppCompatActivity { | ||
CheckBox dryy; | ||
CheckBox dryn; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_dryness_symptom); | ||
dryy = (CheckBox) findViewById(R.id.dryy); | ||
dryn = (CheckBox) findViewById(R.id.dryn); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), BumpsSymptom.class); | ||
intent.putExtra("dryy", dryy.isChecked()); | ||
intent.putExtra("dryn", dryn.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/ItchSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class ItchSymptom extends AppCompatActivity { | ||
CheckBox itchy; | ||
CheckBox itchn; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.itch_symptom); | ||
itchy = (CheckBox) findViewById(R.id.itchy); | ||
itchn = (CheckBox) findViewById(R.id.itchn); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), PainSymptom.class); | ||
intent.putExtra("itchy", itchy.isChecked()); | ||
intent.putExtra("itchn", itchn.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/PainSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class PainSymptom extends AppCompatActivity { | ||
CheckBox painy; | ||
CheckBox painn; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.pain_symptom); | ||
painy = (CheckBox) findViewById(R.id.painy); | ||
painn = (CheckBox) findViewById(R.id.painn); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), AutoSymptom.class); | ||
intent.putExtra("painy", painy.isChecked()); | ||
intent.putExtra("painn", painn.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/RashSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.os.Bundle; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class RashSymptom extends AppCompatActivity { | ||
CheckBox rashy; | ||
CheckBox rashn; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.activity_rash_symptom); | ||
rashy = (CheckBox) findViewById(R.id.rashy); | ||
rashn = (CheckBox) findViewById(R.id.rashn); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), DrynessSymptom.class); | ||
intent.putExtra("rashy", rashy.isChecked()); | ||
intent.putExtra("rashn", rashn.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
37 changes: 37 additions & 0 deletions
37
app/app/src/main/java/com/eriknakamura/skinsense/RednessSymptom.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
package com.eriknakamura.skinsense; | ||
|
||
import android.content.Intent; | ||
import android.os.Bundle; | ||
import android.os.Handler; | ||
import android.support.v7.app.AppCompatActivity; | ||
import android.view.View; | ||
import android.widget.CheckBox; | ||
|
||
public class RednessSymptom extends AppCompatActivity { | ||
CheckBox redy; | ||
CheckBox redn; | ||
private Handler handler; | ||
|
||
@Override | ||
protected void onCreate(Bundle savedInstanceState) { | ||
super.onCreate(savedInstanceState); | ||
setContentView(R.layout.redness_symptom); | ||
redy = (CheckBox) findViewById(R.id.rednessy); | ||
redn = (CheckBox) findViewById(R.id.rednessn); | ||
handler = new Handler(); | ||
} | ||
|
||
public void onCheckboxClicked(View view){ | ||
handler.postDelayed(changeSymptom, 500); | ||
} | ||
|
||
private Runnable changeSymptom = new Runnable() { | ||
@Override | ||
public void run() { | ||
Intent intent = new Intent(getApplicationContext(), StiffSymptom.class); | ||
intent.putExtra("redy", redy.isChecked()); | ||
intent.putExtra("redn", redn.isChecked()); | ||
startActivity(intent); | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.