Commit c1b90b43 authored by Anuththara18's avatar Anuththara18

Consent Form Sinhala Implementation

parent 68d91859
...@@ -36,6 +36,11 @@ ...@@ -36,6 +36,11 @@
android:screenOrientation="portrait" android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.NoActionBar"> android:theme="@style/Theme.AppCompat.NoActionBar">
</activity> </activity>
<activity
android:name=".consentform.SinhalaConsentFormActivity"
android:screenOrientation="portrait"
android:theme="@style/Theme.AppCompat.NoActionBar">
</activity>
<activity <activity
android:name=".consentform.GetParentsConsentActivity" android:name=".consentform.GetParentsConsentActivity"
android:screenOrientation="portrait" android:screenOrientation="portrait"
...@@ -140,11 +145,6 @@ ...@@ -140,11 +145,6 @@
android:name=".focused.FocusedAttentionGame1" android:name=".focused.FocusedAttentionGame1"
android:screenOrientation="landscape" android:screenOrientation="landscape"
android:theme="@style/Theme.AppCompat.NoActionBar" > android:theme="@style/Theme.AppCompat.NoActionBar" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity> </activity>
<activity <activity
android:name=".loginregistration.RegistrationActivity" android:name=".loginregistration.RegistrationActivity"
...@@ -176,7 +176,11 @@ ...@@ -176,7 +176,11 @@
android:name=".splashscreen.SplashActivity" android:name=".splashscreen.SplashActivity"
android:screenOrientation="landscape" android:screenOrientation="landscape"
android:theme="@style/Theme.AppCompat.NoActionBar"> android:theme="@style/Theme.AppCompat.NoActionBar">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity> </activity>
</application> </application>
......
...@@ -19,6 +19,7 @@ import android.widget.TextView; ...@@ -19,6 +19,7 @@ import android.widget.TextView;
import com.anuththara18.attentionassessment.R; import com.anuththara18.attentionassessment.R;
import com.anuththara18.attentionassessment.consentform.ConsentFormActivity; import com.anuththara18.attentionassessment.consentform.ConsentFormActivity;
import com.anuththara18.attentionassessment.consentform.SinhalaConsentFormActivity;
import com.anuththara18.attentionassessment.gender.GenderActivity; import com.anuththara18.attentionassessment.gender.GenderActivity;
import com.anuththara18.attentionassessment.home.NavigationDrawerActivity; import com.anuththara18.attentionassessment.home.NavigationDrawerActivity;
import com.anuththara18.attentionassessment.language.LanguageActivity; import com.anuththara18.attentionassessment.language.LanguageActivity;
...@@ -105,8 +106,13 @@ public class AgeActivity extends AppCompatActivity { ...@@ -105,8 +106,13 @@ public class AgeActivity extends AppCompatActivity {
next.setOnClickListener(new View.OnClickListener() { next.setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {
Intent intent = new Intent(AgeActivity.this, ConsentFormActivity.class); if ( LanguageActivity.text.equals("English")) {
startActivity(intent); startActivity(new Intent(AgeActivity.this, ConsentFormActivity.class));
}
else {
startActivity(new Intent(AgeActivity.this, SinhalaConsentFormActivity.class));
}
} }
}); });
......
package com.anuththara18.attentionassessment.consentform; package com.anuththara18.attentionassessment.consentform;
import android.content.Intent; import android.content.Intent;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.view.View; import android.view.View;
import android.view.WindowManager;
import android.widget.Button; import android.widget.Button;
import android.widget.TextView; import android.widget.TextView;
...@@ -11,6 +13,7 @@ import androidx.recyclerview.widget.LinearLayoutManager; ...@@ -11,6 +13,7 @@ import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView; import androidx.recyclerview.widget.RecyclerView;
import com.anuththara18.attentionassessment.R; import com.anuththara18.attentionassessment.R;
import com.anuththara18.attentionassessment.language.LanguageSetter;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.List; import java.util.List;
...@@ -20,14 +23,26 @@ public class ConsentFormActivity extends AppCompatActivity { ...@@ -20,14 +23,26 @@ public class ConsentFormActivity extends AppCompatActivity {
RecyclerView recyclerView; RecyclerView recyclerView;
List<ConsentForm> consentFormList; List<ConsentForm> consentFormList;
private Boolean[] chkArr; private Boolean[] chkArr;
TextView textView, next;
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
if (Build.VERSION.SDK_INT < 16) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
setContentView(R.layout.activity_consent_form); setContentView(R.layout.activity_consent_form);
recyclerView = findViewById(R.id.recyclerView); recyclerView = findViewById(R.id.recyclerView);
textView = findViewById(R.id.textView);
next = findViewById(R.id.next);
textView.setText(LanguageSetter.getresources().getString(R.string.consentForm));
next.setText(LanguageSetter.getresources().getString(R.string.proceed));
initData(); initData();
initRecyclerView(); initRecyclerView();
...@@ -54,18 +69,16 @@ public class ConsentFormActivity extends AppCompatActivity { ...@@ -54,18 +69,16 @@ public class ConsentFormActivity extends AppCompatActivity {
consentFormList = new ArrayList<>(); consentFormList = new ArrayList<>();
consentFormList.add(new ConsentForm("Introduction", "Your child is being asked to participate in a research study. This research is being conducted to observe the behaviour of your child in order to develop an automated tool for screening attention impairments in young children. When you are invited to participate in research, you have the right to be informed about the study procedures so that you can decide whether you want to consent to participation. This form may contain words that you do not know. Please ask the researcher to explain any words or information that you do not understand. \n\n" + consentFormList.add(new ConsentForm("Introduction", "Your child is being asked to participate in a research study. This research is being conducted to observe the behaviour of your child in order to develop an automated tool for screening attention impairments in young children. When you are invited to participate in research, you have the right to be informed about the study procedures so that you can decide whether you want to consent to participation. This form may contain words that you do not know. Please ask the researcher to explain any words or information that you do not understand. \n\n" +
"You have the right to know what you will be asked to do so that you can decide whether or not to be in the study. Your participation is voluntary . Your participation is not mandatory. You may refuse to be in the study, and it is your right. If you do not want to continue to be in the study, you may withdraw at any time without penalty or loss of benefits to which you are otherwise entitled.")); "You have the right to know what you will be asked to do so that you can decide whether or not to be in the study. Your participation is voluntary . Your participation is not mandatory. You may refuse to be in the study, and it is your right. If you do not want to continue to be in the study, you may withdraw at any time without penalty or loss of benefits to which you are otherwise entitled."));
consentFormList.add(new ConsentForm("Why is this study being done?", "The purpose of this research is to observe the behaviour of children with the same condition as your child in order to help children who are not yet diagnosed in order to develop an automated screening tool for children with attention impairments. The child’s attention will be monitored through attention analysis.")); consentFormList.add(new ConsentForm("Why is this study being done?", "The purpose of this research is to observe the behaviour of your child in order to help children who are not yet diagnosed in order to develop an automated screening tool for children with attention impairments. The child’s attention will be monitored through attention analysis."));
consentFormList.add(new ConsentForm("How many people will be in the study?", "**The Doctor at LRH and a research assistant outside the consultation room will be at LRH for data collection during the child’s sessions with the Doctor.")); consentFormList.add(new ConsentForm("What am I being asked to do?", "You will be asked to provide consent in order to collect data related to the attention of your child. Furthermore, your data will be confidential, and it will not be shared with anyone else and your child’s identity will not be revealed at any cost."));
consentFormList.add(new ConsentForm("What am I being asked to do?", "You will be asked to provide consent in order to collect data related to the attention of your child. The child will not be interfered at any stage where the Doctor is in session. This assessments will not interfere the Doctor’s engagement with the child. Furthermore, your data will be confidential, and it will not be shared with anyone else and your child’s identity will not be revealed at any cost."));
consentFormList.add(new ConsentForm("How long will I be in the study?", "This study will take the duration where the doctor examines the child during your regular LRH visits. You can stop participating at any time without penalty. This will not affect the consultation time the doctor attends to your child."));
consentFormList.add(new ConsentForm("What are the benefits of being in the study?", "Your participation will benefit the country since this is the first time a technology-based solution is proposed and developed in Sri Lanka for children with attention impairments.")); consentFormList.add(new ConsentForm("What are the benefits of being in the study?", "Your participation will benefit the country since this is the first time a technology-based solution is proposed and developed in Sri Lanka for children with attention impairments."));
consentFormList.add(new ConsentForm("What are the risks of being in the study?", "There are no risks involved to the child when participating to this research.")); consentFormList.add(new ConsentForm("What are the risks of being in the study?", "There are no risks involved to the child when participating to this research."));
consentFormList.add(new ConsentForm("What are the costs of being in the study?", "There is no cost to you.")); consentFormList.add(new ConsentForm("What are the costs of being in the study?", "There is no cost to you."));
consentFormList.add(new ConsentForm("Confidentiality", "The data collected will be stored securely in a dedicated storage device at Sri Lanka Institute of Information Technology. Only the research team has the access to data. The researchers will ensure the confidentiality of the information collected where the child’s identity will not be revealed at any instance and the data will be used only for research purposes and will be destroyed in a secure manner once the research is complete.")); consentFormList.add(new ConsentForm("Confidentiality", "The data collected will be stored securely in a dedicated storage device at Sri Lanka Institute of Information Technology. Only the research team has the access to data. The researchers will ensure the confidentiality of the information collected where the child’s identity will not be revealed at any instance and the data will be used only for research purposes and will be destroyed in a secure manner once the research is complete."));
consentFormList.add(new ConsentForm("Will I be compensated for participating in the study?", "You will receive no payment for taking part in this study.")); consentFormList.add(new ConsentForm("Will I be compensated for participating in the study?", "You will receive no payment for taking part in this study."));
consentFormList.add(new ConsentForm("What are my rights as a participant?", "Participation in this study is voluntary. Your participation is not mandatory. You will also be informed of any new information discovered during the course of this study that might influence your child’s health, welfare, or willingness to be in this study.")); consentFormList.add(new ConsentForm("What are my rights as a participant?", "Participation in this study is voluntary. Your participation is not mandatory. You will also be informed of any new information discovered during the course of this study that might influence your child’s health, welfare, or willingness to be in this study."));
consentFormList.add(new ConsentForm("Who do I contact if I have questions, concerns, or complaints?", "Please contact your Doctor or the research assistant if you have questions about the research. Additionally, you may ask questions, voice concerns or complaints to the research team.")); consentFormList.add(new ConsentForm("Who do I contact if I have questions, concerns, or complaints?", "Please contact the research assistant or the research team if you have questions about the research."));
consentFormList.add(new ConsentForm("Whom do I call if I have questions or problems?", "If you have any questions regarding your rights as a participant in this research and/or concerns about the study, or if you feel under any pressure to enroll or to continue to participate in this study, you may contact the Dr Pradeepa Samarasinghe, Principle Investigator at Sri Lanka Institute of Information Technology at 0723537952 or pradeepa.s@sliit.lk . A copy of this Informed Consent form will be given to you before you participate in the research.")); consentFormList.add(new ConsentForm("Whom do I call if I have questions or problems?", "If you have any questions regarding your rights as a participant in this research and/or concerns about the study, or if you feel under any pressure to enroll or to continue to participate in this study, you may contact the Dr Pradeepa Samarasinghe, Principle Investigator at Sri Lanka Institute of Information Technology at 0723537952 or pradeepa.s@sliit.lk ."));
} }
} }
\ No newline at end of file
...@@ -10,9 +10,11 @@ import android.database.sqlite.SQLiteDatabase; ...@@ -10,9 +10,11 @@ import android.database.sqlite.SQLiteDatabase;
import android.graphics.Bitmap; import android.graphics.Bitmap;
import android.graphics.BitmapFactory; import android.graphics.BitmapFactory;
import android.graphics.drawable.BitmapDrawable; import android.graphics.drawable.BitmapDrawable;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Environment; import android.os.Environment;
import android.view.View; import android.view.View;
import android.view.WindowManager;
import android.widget.Button; import android.widget.Button;
import android.widget.ImageView; import android.widget.ImageView;
import android.widget.TextView; import android.widget.TextView;
...@@ -53,6 +55,13 @@ public class GetParentsConsentActivity extends AppCompatActivity { ...@@ -53,6 +55,13 @@ public class GetParentsConsentActivity extends AppCompatActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
if (Build.VERSION.SDK_INT < 16) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
setContentView(R.layout.activity_get_parents_consent); setContentView(R.layout.activity_get_parents_consent);
textView3 = (TextView) findViewById(R.id.textView3); textView3 = (TextView) findViewById(R.id.textView3);
...@@ -60,6 +69,10 @@ public class GetParentsConsentActivity extends AppCompatActivity { ...@@ -60,6 +69,10 @@ public class GetParentsConsentActivity extends AppCompatActivity {
btnGetSignature = (Button)findViewById(R.id.btnGetSignature); btnGetSignature = (Button)findViewById(R.id.btnGetSignature);
fingerprintImageView = (ImageView)findViewById(R.id.fingerprintImageView); fingerprintImageView = (ImageView)findViewById(R.id.fingerprintImageView);
textView3.setText(LanguageSetter.getresources().getString(R.string.provideconsent));
next.setText(LanguageSetter.getresources().getString(R.string.proceed));
btnGetSignature.setText(LanguageSetter.getresources().getString(R.string.getSignature));
//textView3.setText(LanguageSetter.getresources().getString(R.string.provideConsent)); //textView3.setText(LanguageSetter.getresources().getString(R.string.provideConsent));
//btnSaveFingerPrint.setText(LanguageSetter.getresources().getString(R.string.startTest)); //btnSaveFingerPrint.setText(LanguageSetter.getresources().getString(R.string.startTest));
//btnGetSignature.setText(LanguageSetter.getresources().getString(R.string.getSignature)); //btnGetSignature.setText(LanguageSetter.getresources().getString(R.string.getSignature));
......
...@@ -7,6 +7,7 @@ import android.graphics.Color; ...@@ -7,6 +7,7 @@ import android.graphics.Color;
import android.graphics.Paint; import android.graphics.Paint;
import android.graphics.Path; import android.graphics.Path;
import android.graphics.RectF; import android.graphics.RectF;
import android.os.Build;
import android.os.Bundle; import android.os.Bundle;
import android.os.Environment; import android.os.Environment;
import android.util.AttributeSet; import android.util.AttributeSet;
...@@ -14,6 +15,7 @@ import android.util.Log; ...@@ -14,6 +15,7 @@ import android.util.Log;
import android.view.MotionEvent; import android.view.MotionEvent;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.view.WindowManager;
import android.widget.Button; import android.widget.Button;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import android.widget.Toast; import android.widget.Toast;
...@@ -21,6 +23,7 @@ import android.widget.Toast; ...@@ -21,6 +23,7 @@ import android.widget.Toast;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.anuththara18.attentionassessment.R; import com.anuththara18.attentionassessment.R;
import com.anuththara18.attentionassessment.language.LanguageSetter;
import java.io.File; import java.io.File;
import java.io.FileOutputStream; import java.io.FileOutputStream;
...@@ -45,6 +48,13 @@ public class GetSignatureActivity extends AppCompatActivity { ...@@ -45,6 +48,13 @@ public class GetSignatureActivity extends AppCompatActivity {
@Override @Override
protected void onCreate(Bundle savedInstanceState) { protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
if (Build.VERSION.SDK_INT < 16) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
setContentView(R.layout.activity_get_signature); setContentView(R.layout.activity_get_signature);
canvasLL = (LinearLayout) findViewById(R.id.canvasLL); canvasLL = (LinearLayout) findViewById(R.id.canvasLL);
...@@ -55,6 +65,9 @@ public class GetSignatureActivity extends AppCompatActivity { ...@@ -55,6 +65,9 @@ public class GetSignatureActivity extends AppCompatActivity {
btnClear = (Button) findViewById(R.id.btnclear); btnClear = (Button) findViewById(R.id.btnclear);
btnSave = (Button) findViewById(R.id.btnsave); btnSave = (Button) findViewById(R.id.btnsave);
btnClear.setText(LanguageSetter.getresources().getString(R.string.clear));
btnSave.setText(LanguageSetter.getresources().getString(R.string.save));
view = canvasLL; view = canvasLL;
btnClear.setOnClickListener(new View.OnClickListener() { btnClear.setOnClickListener(new View.OnClickListener() {
......
package com.anuththara18.attentionassessment.consentform;
import android.content.Intent;
import android.os.Build;
import android.os.Bundle;
import android.view.View;
import android.view.WindowManager;
import android.widget.TextView;
import androidx.appcompat.app.AppCompatActivity;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.anuththara18.attentionassessment.R;
import com.anuththara18.attentionassessment.language.LanguageSetter;
import java.util.ArrayList;
import java.util.List;
public class SinhalaConsentFormActivity extends AppCompatActivity {
RecyclerView recyclerView;
List<ConsentForm> consentFormList;
private Boolean[] chkArr;
TextView textView, next;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (Build.VERSION.SDK_INT < 16) {
getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN,
WindowManager.LayoutParams.FLAG_FULLSCREEN);
}
View decorView = getWindow().getDecorView();
int uiOptions = View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
setContentView(R.layout.activity_consent_form);
recyclerView = findViewById(R.id.recyclerView);
textView = findViewById(R.id.textView);
next = findViewById(R.id.next);
textView.setText(LanguageSetter.getresources().getString(R.string.consentForm));
next.setText(LanguageSetter.getresources().getString(R.string.proceed));
initData();
initRecyclerView();
TextView next = findViewById(R.id.next);
next.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Intent intent = new Intent(getApplicationContext(), GetParentsConsentActivity.class);
startActivity(intent);
}
});
}
private void initRecyclerView() {
ConsentFormAdapter consentFormAdapter = new ConsentFormAdapter(consentFormList);
recyclerView.setLayoutManager(new LinearLayoutManager(this));
recyclerView.setAdapter(consentFormAdapter);
}
private void initData() {
consentFormList = new ArrayList<>();
consentFormList.add(new ConsentForm("හැඳින්වීම", "ඔබේ දරුවා පර්යේෂණ අධ්\u200Dයයනයකට යොදාගැනීම සඳහා විමසනු ලැබේ. මෙම පර්යේෂණය ඔබේ දරුවාගේ හැසිරීම් රටා නිරීක්ෂණය කිරීම සඳහා සිදු කරනු ලබන අතර එමගින් අවධානය දුර්වලතා හෝ ඊට සමාන ආබාධ තත්ත්වයන් ගෙන් යුතු දරුවන් සඳහා ස්වයංක්\u200Dරිය රෝග තත්ත්ව පරීක්ෂණ මෙවලමක්/ පද්ධතියක් සංවර්ධනය කරනු/ නිපදවනු ලැබේ. මෙම පර්යේෂණය සඳහා සහභාගී වීමට ඔබට ආරාධනා ලැබුවහොත් ඔබට අධ්\u200Dයයන ක්\u200Dරම පිළිබඳව දැනුවත් වීමට අයිතියක් ඇති අතර එම කරුණු සලකා බලා ඔබට පර්යේෂණය සඳහා සහභාගී වීමට ඇති කැමැත්ත තීරණය කළ හැකිය. මෙම ආකෘති පත්\u200Dරයේ ඔබ නොදන්නා වචන ඇතුලත් විය හැකිය. කරුණාකර ඔබට තේරුම් ගැනීමට අපහසු වචන හෝ තොරතුරු ඇතොත් පර්යේෂකයාගෙන් විමසන්න \n\n" +
"ඔබගෙන් විමසීමට නියමිත තොරතුරු පිළිබඳව දැනුවත් වීමට ඔබට අයිතියක් ඇති අතර පර්යේෂණය සඳහා සහභාගී වීම හෝ නොවීම ඔබට තීරණය කළ හැකිය. ඔබගේ සහභාගිත්වය ස්වේච්ඡාවෙන් සිදුවිය යුත්තකි. එය අනිවාර්ය නැත. මෙම අධ්\u200Dයයනය ඔබට ප්\u200Dරතික්ෂේප කළ හැකිය, එය ඔබේ අයිතියකි. ඔබට මෙම අධ්\u200Dයයනයේ දිගටම යෙදී සිටීම අනවශ්\u200Dය යයි හැඟේ නම් ඔබට කිසිදු බාධාවකින් හෝ ප්\u200Dරතිලාභ අහිමිවිමකින් තොරව ඕනෑම වේලාවක ඉවත් විය හැකිය."));
consentFormList.add(new ConsentForm("මෙම පර්යේෂණය සිදු කරන්නේ ඇයි? ", "මෙම පර්යේෂණයේ අරමුණ වන්නේ ඔබේ දරුවාගේ හැසිරීම් රටා නිරීක්ෂණය කිරීමටත්, එමගින් තවමත් රෝග ලක්ෂණ හඳුනා නොගත් අවධානය දුර්වලතා ඇති දරුවන්ට උපකාර වන ස්වයංක්\u200Dරීය පරීක්ෂණ මෙවලමක්/ පද්ධතියක් සංවර්ධනය කිරීමයි. අවධානය විශ්ලේෂණය මගින් දරුවාගේ අවධානය නිරීක්ෂණය කරනු ලැබේ."));
consentFormList.add(new ConsentForm("ඔබට කරන්නට ඇත්තේ කුමක්ද? ", "ඔබගේ දරුවාගේ අවධානයට අදාළ දත්ත ලබා ගැනීමට කැමැත්ත ඔබෙන් විමසනු ලැබේ. මෙම දත්තවල රහස්\u200Dයභාවය සුරැකෙන බවත් එය වෙනත් කිසිදු අයෙකු අතට පත් නොවන අතර ඔබේ දරුවාගේ අනන්\u200Dයතාවය කිසිවිටෙකත් අනාවරණය නොවන බවත් තවදුරටත් දන්වා සිටිමු."));
consentFormList.add(new ConsentForm("මෙම අධ්\u200Dයයනයේ රැඳී සිටීමෙන් අත්වෙන වාසි", "මෙම තාක්ෂණය පදනම් කරගත් මෙවලම අවධානය දුර්වලතා සඳහා ලංකාවේ ප්\u200Dරථම වරට හඳුන්වා දී සංවර්ධනය කිරීම හේතුවෙන් ඔබගේ සහභාගිත්වය රටට වැඩදායි වේ. "));
consentFormList.add(new ConsentForm("මෙම අධ්\u200Dයයනයේ රැඳී සිටීමේ ඇති අවදානම් තත්ත්වයන් ", "මෙම අධ්\u200Dයයනයේ රැඳී සිටීමෙන් ඔබේ දරුවට බලපාන කිසිදු අයුරක අවදානම් තත්ත්වයක් නැත."));
consentFormList.add(new ConsentForm("මෙම අධ්\u200Dයයනයේ රැඳී සිටීමට ඔබට දැරීමට සිදුවන වියදම්", "ඔබට කිසිදු ආකාරයක වියදමක් දැරීමට සිදු නොවනු ඇත."));
consentFormList.add(new ConsentForm("විශ්වසනීය භාවය", "එක්රැස් කරගන්නා සියලුම දත්ත ශ්\u200Dරී ලංකා තොරතුරු තාක්ෂණ ආයතනයේ (SLIIT) මේ වෙනුවෙන්ම වෙන් වූ දත්ත ගබඩා කිරීමේ උපකරණයක ආරක්ෂිතව තැන්පත් කර ඇත. එම දත්ත පරිහරණය කළ හැක්කේ පර්යේෂක කණ්ඩායමට පමණි. පර්යේෂක කණ්ඩායම එක්රැස් කරගත් සියලුම දත්ත වල විශ්වසනීය බව හා දරුවාගේ අනන්\u200Dයතාවය කිසිදු අයුරකින් අනාවරණය නොවන බවටත් සහතික වන අතර මෙම දත්ත පර්යේෂණ කටයුතු සඳහා පමණක් යොදාගන්නා බවටත් පර්යේෂණය අවසානයේ ආරක්\u200Dෂිත ලෙස එම සියලුම දත්ත විනාශ කරන බවටත් සහතික වේ."));
consentFormList.add(new ConsentForm("මෙම අධ්\u200Dයයනයට සහභාගී වීම සඳහා ඔබට ගෙවීමක් සිදු කරනවාද ?", "මෙම අධ්\u200Dයයනයට සහභාගී වීම සඳහා ඔබට කිසිදු ගෙවීමක් සිදු නොකරයි. "));
consentFormList.add(new ConsentForm("මෙම පර්යේෂණයට සහභාගී වන්නෙක් වශයෙන් ඔබට ඇති අයිතිවාසිකම්", "මෙම සහභාගිත්වය ස්වේච්ඡාවෙන් සිදුවන්නකි. ඔබේ සහභාගිත්වය අනිවාර්ය නැත. මෙම අධ්\u200Dයයනය මගින් ඔබේ දරුවාගේ යහපත් සෞඛ්\u200Dයය, සුභසිද්ධිය හෝ පර්යේෂණයේ රැඳී සිටීමට ඇති කැමැත්ත ට තුඩුදෙන ඕනෑම අලුත් තොරතුරු පිළිබඳව ඔබට දැනුම්වත් විය හැකිය."));
consentFormList.add(new ConsentForm("ඔබට යම් කාරණයක්, ගැටළුවක් හෝ පැමිණිල්ලක් ඇත්නම් සම්බන්ධ කරගත යුතු අය", "ඔබට දැනගැනීමට අවශ්\u200Dය යම් කාරණයක්, ගැටළුවක් හෝ පැමිණිල්ලක් ඇත්නම් කරුණාකර ඔබේ පර්යේෂණ සහායකවරයා හෝ පර්යේෂණ කණ්ඩායම සම්බන්ධ කරගන්න."));
consentFormList.add(new ConsentForm("ඔබට යම් ප්\u200Dරශ්නයක් හෝ ගැටළුවක් ඇත්නම් දුරකථනයෙන් සම්බන්ධ කරගත හැකි අය ", "මෙම පර්යේෂණය සඳහා සහභාගී වීමේදී ඔබේ අයිතිවාසිකම් පිළිබඳව හෝ පර්යේෂණය හා සම්බන්ධ කිසියම් කාරණයක් දැනගැනීමට අවශ්\u200Dය නම් සහ මෙම පර්යේෂණය සමග සම්බන්ධ වීමට හෝ තවදුරටත් කරගෙන යාමට ඔබට යම් අපහසුතාවයක් ඇත්නම් 0723537952 දුරකථන අංකයෙන් හෝ pradeepa.s@sliit.lk විද්\u200Dයුත් තැපැල් ලිපිනයෙන්, ශ්\u200Dරී ලංකා තොරතුරු තාක්ෂණ ආයතනයේ ප්\u200Dරධාන පර්යේෂිකා (principal investigator) ආචාර්ය ප්\u200Dරදීපා සමරසිංහ මහත්මිය සම්බන්ධ කරගැනීමට හැකියාව ඇත. "));
}
}
\ No newline at end of file
...@@ -107,7 +107,7 @@ public class FocusedAttentionGame1 extends AppCompatActivity { ...@@ -107,7 +107,7 @@ public class FocusedAttentionGame1 extends AppCompatActivity {
red_btn = (ImageButton) findViewById(R.id.red_btn); red_btn = (ImageButton) findViewById(R.id.red_btn);
textView = (TextView) findViewById(R.id.textView); textView = (TextView) findViewById(R.id.textView);
//textView.setText(LanguageSetter.getresources().getString(R.string.focg1)); textView.setText(LanguageSetter.getresources().getString(R.string.focg1));
mp = MediaPlayer.create(getApplicationContext(), R.raw.focused); mp = MediaPlayer.create(getApplicationContext(), R.raw.focused);
mp.start(); mp.start();
......
...@@ -21,7 +21,7 @@ public class LanguageActivity extends AppCompatActivity { ...@@ -21,7 +21,7 @@ public class LanguageActivity extends AppCompatActivity {
ImageButton english_btn, sinhala_btn, sinhala_txt_btn; ImageButton english_btn, sinhala_btn, sinhala_txt_btn;
TextView english_txt; TextView english_txt;
String text = null; public static String text = "English";
TextView selectLanguage, next; TextView selectLanguage, next;
@Override @Override
......
...@@ -109,7 +109,7 @@ public class SelectiveAttentionGame1 extends AppCompatActivity { ...@@ -109,7 +109,7 @@ public class SelectiveAttentionGame1 extends AppCompatActivity {
cross_btn = (ImageView) findViewById(R.id.cross_btn); cross_btn = (ImageView) findViewById(R.id.cross_btn);
textview = findViewById(R.id.textview); textview = findViewById(R.id.textview);
//textview.setText(LanguageSetter.getresources().getString(R.string.select)); textview.setText(LanguageSetter.getresources().getString(R.string.select));
mp = MediaPlayer.create(getApplicationContext(), R.raw.selective); mp = MediaPlayer.create(getApplicationContext(), R.raw.selective);
mp.start(); mp.start();
......
...@@ -48,7 +48,7 @@ public class BirdChoosingActivity extends AppCompatActivity { ...@@ -48,7 +48,7 @@ public class BirdChoosingActivity extends AppCompatActivity {
l3 = findViewById(R.id.l3); l3 = findViewById(R.id.l3);
l4 = findViewById(R.id.l4); l4 = findViewById(R.id.l4);
//textView8.setText(LanguageSetter.getresources().getString(R.string.birdselect)); textView8.setText(LanguageSetter.getresources().getString(R.string.birdselect));
bird1.setOnClickListener(new View.OnClickListener() { bird1.setOnClickListener(new View.OnClickListener() {
@Override @Override
......
...@@ -21,14 +21,14 @@ ...@@ -21,14 +21,14 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/btnclear" android:id="@+id/btnclear"
android:layout_gravity="center" android:layout_gravity="center"
android:text="Clear"/> android:text="@string/clear"/>
<Button <Button
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/btnsave" android:id="@+id/btnsave"
android:layout_gravity="center" android:layout_gravity="center"
android:text="Save"/> android:text="@string/save"/>
</LinearLayout> </LinearLayout>
\ No newline at end of file
...@@ -27,11 +27,12 @@ ...@@ -27,11 +27,12 @@
<string name="susg1">කුරුල්ලා අත්ත මත වාඩි වූ විට රතු බොත්තම ඔබන්න</string> <string name="susg1">කුරුල්ලා අත්ත මත වාඩි වූ විට රතු බොත්තම ඔබන්න</string>
<string name="altg1">සතා පෙනෙන පැත්තේ ඇති රතු බොත්තම ඔබන්න</string> <string name="altg1">සතා පෙනෙන පැත්තේ ඇති රතු බොත්තම ඔබන්න</string>
<string name="provideconsent">I have read this consent form and my questions have been answered. My signature below means that I do want my child to be in the study. I know that I can withdraw my child from the study at any time without any problems.</string> <string name="provideconsent">මම මේ කැමති පත්‍රය කියවා ඒ සම්බන්ධව ඇති වූ ගැටළු නිරාකරණය කර ගත්තෙමි. පහත සඳහන් අත්සනින් මම මගේ දරුවා මෙම අධ්‍යයනයට සම්බන්ධ කරවීමට කැමති බව ප්‍රකාශ කර සිටිමි. මා කැමති ඕනෑම අවස්ථාවක කිසිදු ගැටලුවකින් තොරව මෙම අධ්‍යයනයෙන් මගේ දරුවා ඉවත්කරගැනීමේ හැකියාවද ඇති බව මම දනිමි.</string>
<string name="getSignature">මෙහි අත්සන් කරන්න</string> <string name="getSignature">මෙහි අත්සන් කරන්න</string>
<string name="proceed">ඉදිරියට</string> <string name="proceed">ඉදිරියට</string>
<string name="consentForm">පර්යේෂණ අධ්‍යයනයකට සහභාගී වීමට කැමැත්ත දක්වන පෝරමය</string> <string name="consentForm">පර්යේෂණ අධ්‍යයනයකට සහභාගී වීමට කැමැත්ත දක්වන පෝරමය</string>
<string name="clear">මකා දමන්න</string>
<string name="save">සුරකින්න</string>
<!-- Login Screen --> <!-- Login Screen -->
<string name="welcome">ආයුබෝවන්!</string> <string name="welcome">ආයුබෝවන්!</string>
......
...@@ -30,7 +30,8 @@ ...@@ -30,7 +30,8 @@
<string name="getSignature">Sign Here</string> <string name="getSignature">Sign Here</string>
<string name="proceed">Proceed</string> <string name="proceed">Proceed</string>
<string name="consentForm">Consent Form To Participate in a Research Study</string> <string name="consentForm">Consent Form To Participate in a Research Study</string>
<string name="clear">Clear</string>
<string name="save">Save</string>
<!-- Login Screen --> <!-- Login Screen -->
<string name="welcome">Welcome!</string> <string name="welcome">Welcome!</string>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment