Repository for the HealthTool which enables Apple users to analyse their health data from the Apple health app and prepares the data for contributing it for future studies on wearable data.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

155 lines
12 KiB

package application.res;
public class Text
{
public static final String TITLE = "Contribute Health Data";
public static final String FOOTER_TEXT = "This tool was created in cooperation with "
+ "the Chair of Legal Informatics of the Saarland University\n" + "Source of icons: Icons8.de";
public static final String NOT_SET = "not set";
public static final String F_ME_SAVE = "%s : %s";
public static final String ME_FILE_DESC = "MainInfo";
public static final String TAG_NAME_META_DATA_ENTRY = "MetadataEntry";
public static final String TAG_NAME_WORKOUT_EVENT = "WorkoutEvent";
public static final String TAG_NAME_WORKOUT_ROUTE = "WorkoutRoute";
public static final String TAG_NAME_HR_LIST = "HeartRateVariabilityMetadataList";
public static final String TAG_NAME_IB_PER_MINUTES = "InstantaneousBeatsPerMinute";
public static final String YEAR = "Year";
public static final String MONTH = "Month";
public static final String DAY = "Day";
public static final String F_FILE_DESC = "%s\n%s";
public static final String TAG_NAME_HEALTH_DATA = "HealthData";
public static final String TAG_ATTR_REGION_CODE = "locale";
public static final String TAG_ATTR_EXPORT_DATE = "value";
public static final String TAG_NAME_ME_INFO = "Me";
public static final String TAG_ATTR_BIOLOGICAL_SEX = "HKCharacteristicTypeIdentifierBiologicalSex";
public static final String TAG_ATTR_BLOOD_TYPE = "HKCharacteristicTypeIdentifierBloodType";
public static final String TAG_ATTR_SKIN_TYPE = "HKCharacteristicTypeIdentifierFitzpatrickSkinType";
public static final String TAG_ATTR_DATE_OF_BIRTH = "HKCharacteristicTypeIdentifierDateOfBirth";
public static final String TAG_ATTR_WORKOUT_TYPE = "workoutActivityType";
public static final String TAG_ATTR_RECORD_TYPE = "type";
public static final String MENU_PRIVACY_POLICY ="Privacy policy";
public static final String MENU_DATA_IMPORT ="Data import";
public static final String MENU_DATA_SELECTION ="Data selection";
public static final String MENU_REVIEW ="Review selection";
public static final String MENU_DATA_UPLOAD ="Data upload";
// error Messages
public static final String E_CREATE_TEMP_FILES = "The files for your selected data couldn't be created.";
public static final String E_READ_ZIP_FILE = "Your zip file couldn't be read. You might want to try "
+ "and insert the unzipped file.";
public static final String E_READ_XML_FILE = "Your xml file couldn't be read.";
public static final String E_WRONG_FILE = "There wasn't any health data found in your file. Please check if you inserted the right file.";
public static final String E_WRITE_TO_TEMP_FILES = "The data couldn't be written to "
+ "the files. Maybe there is a problem with the permissions of your system " + "for this application.";
// Intro page
public static final String MAIN_INFO = "This tool allows iPhone users to analyse and export selected parts of their phones health data export. "
+ "It's intended to be used for gathering health data for scientific research in cooperation with the Chair of Legal Informatics from Saarland University.\n\n"
+ "By merely using this tool, no data will be disclosed to us. "
+ "To contribute your data, you will have to uploaded the file created by using this tool to our nextcloud server. "
+ "Your data will be anonymized and only containing the information you selected. You can check that by inspecting the created zip file or the source code.\n\n"
+ "To get started, you have to insert your health file in the field below "
+ "and agree to our privacy policy. Then use the navigation on the left"
+ " to continue. If you need help exporting your health data you may look at the information from apple support linked below.";
public static final String SELECT_FILE = "Drag health file to me!";
public static final String FOUND_FILE = "The following file was found: \n%s";
public static final String NO_VALID_FILE = "You might have selected the wrong file: You can either insert the ziped export or the xml file!";
public static final String WIP_READING_FILE = "Reading file...";
public static final String PRIVACY_STATEMENT_ACCEPTED = "I read the privacy statement and "
+ "agree to the processing my data under these terms.";
public static final String GO_TO_PRIVACY_STATEMENT = "(Privacy policy? I didn't see a thing... "
+ "Please take me there!)";
public static final String APPLE_LINK_EXPORT = "https://support.apple.com/guide/iphone/share-health-and-fitness-data-iph27f6325b2/ios";
// Overview page
public static final String DESC_WORKOUT = "Workouts contain information about "
+ "physical exercises and activities. All entries belong to a specific "
+ "activity like running, swimming, hunting or even basketball.\n"
+ "Typical information stored here are the duration of the activity and " + "how much energy was burned.";
public static final String DESC_ACTIVITY_SUM = "Activity Summaries summarise all your "
+ "activites of a certain day.\n" + "Typical information stored here contains the duration of exercises, "
+ "the burned energy and durations of you moving or standing.";
public static final String DESC_CLIN_RECORD = "Clinical Records can contain "
+ "information about allergic reaction, a lab result, or a medical procedure.\n"
+ "Typical information stored here is an idententifier for the record. "
+ "All further information about the content of the record is stored in a "
+ "separate file which will not be accessed by this tool.";
public static final String DESC_RECORDS = "Records are the most common entries "
+ "in health files. They don't just contain information about physical "
+ "activities but also other health related data like height, heart rate or your step count.\n"
+ "This data is typically stored with the measured values und matching units.";
public static final String DESC_REGION_CODE = "The region code shows information about the "
+ "region as well as the language you set in your phone.";
public static final String SPECIFIED_IN_PHONE = "as specified in your phone.";
public static final String DESC_EXPORT_DATE = "This is the date you exported your data from your phone.";
public static final String DESC_DATE_OF_BIRTH = "This shows your date of birth " + SPECIFIED_IN_PHONE;
public static final String DESC_BIOLOGICAL_SEX = "This shows your gender " + SPECIFIED_IN_PHONE;
public static final String DESC_BLOOD_TYPE = "This shows your blood type " + SPECIFIED_IN_PHONE;
public static final String DESC_SKIN_TYPE = "This shows your skin type " + SPECIFIED_IN_PHONE;
public static final String SELECT_INTRO= "Now it's time for you to select the data "
+ "you wish to contribute. You may contribute the data from your file and additonally your occupation. Let's start with that one.";
public static final String SELECT_HOW_TO="Now let's continue with the data from your health file. "
+ "To select the categories you from your file, "
+ "tap on the corresponding items in the list at the bottom of this page. You can also choose to ony select a "
+ "subset of these categories in case of your date of birth, workouts and records. "
+ "You can see the existing categories by clicking on the arrows on the left. "
+ "Information about the categories can be found on the right. "
+ "\n\nYou may also use the buttons below for specific selections. We provided you with two preselections you may choose which are according to our research interest."
+ "To continue to the next step you need to select at least one item from the list at the bottom to contribute.";
public static final String SELECT_CATEGORIES = "Now you may choose the data to contribute. Additionally to the data in your file, you may also contribute your occupation. "
+ "To select the categories you from your health file, tap on the corresponding items in the list at the bottom of this page. "
+ "You can also choose to ony select a subset of these categories in case of your date of birth, workouts and records. You can see the existing categories by clicking on the arrows on the left. "
+ "Information about the categories can be found on the right. \n\nYou may also use the buttons below for specific selections. We provided you with two preselections you may choose which are according to our research interest. "
+ "To continue to the next step you need to select at least one item from the list at the bottom to contribute. ";
public static final String ADD_JOB = "In the box on the left you may select your occupation (or the most similar "
+ "one to your occupation). From top to bottom you will get more specific selections. This is completely optional but of great interest for our research.";
public static final String SELECT_ALL = "Select all";
public static final String SELECT_BASIC_FIELD_OF_INTEREST = "Select basic research interests";
public static final String SELECT_ADVANCED_FIELD_OF_INTEREST = "Select advanced research interests";
public static final String DESELECT_ALL = "Deselect all";
public static final String F_LABEL_SAVE_PATH = "We will save your data at your home directory, which is %s. If you wish to choose another directory, just click here.";
public static final String F_SAVE_AT = "You chose to save your data at %s. Click again if you still wish to change it.";
public static final String WIP_CREATE_FILE = "Creating files...";
public static final String ERROR_FILE_NO_DATA = "Sorry, we couldn't find your health "
+ "data in the file. Maybe you inserted the wrong file or there was an error " + "reading the file";
// Inspect page
public static final String PLEASE_INSPECT = "Now you can inspect the files which will "
+ "be created by your selection. Just click on the files and read "
+ "to your hearts content. \n\nIf you want to change something, just return "
+ "to the previous step and adjust your selection. If everything is fine then "
+ "just continue to the next step.";
public static final String NO_OPENING_FILES = "Sorry, somehow the file couldn't be "
+ "opened.\nIf you would still like to inspect this file, you may inspect "
+ "it in the resulting zip file.";
// Result page
public static final String SUCCESS = "You have succesfully created the data. "
+ "To contribute to our research database you need to upload it to our nextcloud server. For easy access you"
+ " can use the buttons below.\n"
+ "If you have any more questions concerning our research or how your data "
+ "will be stored, feel free to write us at lehrstuhl.sorge@uni-saarland.de."
;
public static final String NEXTCLOUD_ADDRESS = "https://kingsx.cs.uni-saarland.de/owncloud/index.php/s/bF4Y4inWoDGXTBS";
public static final String NEXTCLOUD = "Open nextcloud web page!";
public static final String F_NEXTCLOUD_BROWSER_WONT_OPEN = "Opening your browser didn't work.\n"
+ "\nClick here to copy server adress to clipboard!)";
public static final String SERVER_ADDRESS_IN_CLIPBOARD = "Server address was saved in clipboard";
public static final String FILE_PATH_IN_CLIPBOARD = "Filepath was saved in clipboard";
public static final String COPY_FILE_PATH = "Copy filepath to clipboard!";
public static final String F_RAW_UPLOAD_DATA = "The buttons aren't working for you? Then you might need the following information:\nSaved Data: %s\nNextcloud server: %s";
public static final String DRAG_FILE = "Drag me to nextcloud server!";
public static final String DRAG_IN_ACTION = "Started dragging the file";
public static final String F_FILE_IS_SAVED_AT = "Just a small reminder: Your file was saved as %s";
public static final String DATA_OVERVIEW = "You included the following data in your zip file";
public static final String F_SAVED_DATA_VALUE = "%s : %s";
public static final String F_SAVED_DATA_VALUE_SUBCATEGORY = "%s - %s : %s";
public static final String F_SAVED_DATA_ENTRIES = "%s, Number of entries: %s";
public static final String F_SAVED_DATA_VALUE_SUBCATEGORY_ENTRIES = "%s - %s, Number of entries : %s";
public static final String OCCUPATION_LEVEL_ONE = "Major group";
public static final String OCCUPATION_LEVEL_TWO = "Sub-major group";
public static final String OCCUPATION_LEVEL_THREE = "Minor group";
public static final String OCCUPATION_LEVEL_FOUR = "Unit group";
}