I am having problems with a App that i have brought up before. It is a very simple app that calculates the miles per gallon and cost per mile from three editText values entered by the user. This is my latest version in which i was hoping to use a scrollview but abandoned this after many days of work with no success so, reverted back to a two line listview which displays the values above, which are also saved in a database.
My problem started when i wanted to use 'item_click to display the full data set (not added all to the database yet) for the user to view, edit or delete. I have two problems;
1. The previous 'calc' button press that worked fine now throws up an error - 'invalid double' (not consistently and occasionally after pressing 'Next' after having entered litres opens up the alpha keypad, but only rarely
2. After pressing one of the items from the listview it is throwing up an error, although when you hover over the highlighted area of code it is evident that it has identified the listview item selected. Problem is in line 190 - 'syntax error (code 1) ........... '
I have uploaded the zip of the app and would appreciate it if someone could let me know what i am doing wrong?
My problem started when i wanted to use 'item_click to display the full data set (not added all to the database yet) for the user to view, edit or delete. I have two problems;
1. The previous 'calc' button press that worked fine now throws up an error - 'invalid double' (not consistently and occasionally after pressing 'Next' after having entered litres opens up the alpha keypad, but only rarely
2. After pressing one of the items from the listview it is throwing up an error, although when you hover over the highlighted area of code it is evident that it has identified the listview item selected. Problem is in line 190 - 'syntax error (code 1) ........... '
I have uploaded the zip of the app and would appreciate it if someone could let me know what i am doing wrong?