posted 8 years ago
"resistorValue" is a string made up of "band1" + "band2" * "band3".
This calculation is fine as I had it in a textView to check..
The way i'm doing it is, I select band1, then band2, then band3, then band4(tolerance), once i hit band4 it crashes, i dont get a chance to hit the calculate button id I select band4.
Could it be because i'm trying use the value in "resistorValue" in the "band4" button listener before the "calculate" button has been pressed.?
Ive tried selecting band1, band2, band3, calculate, then band4 but it still crashes once band4 is selected..