Display filename readline with switch case android

view story

http://stackoverflow.com – I want to know why this section of my coding is not working, and the program keep giving me the same error at the switch; (Cannot switch on a value of type String for source level below 1.7. Only convertible int values or enum variables are permitted) I want to read the file that I saved as a txt file and display it on the program. Eg: I wrote there "Email" as a case, so I wrote what I want and save it into a txt file to be read in this switch. Can anyone help me solve this problem? Deeply appreciated. Thanks. Here is my code: private void ExecuteCommands(String filename) { (HowTos)