I am using creating a barcode analyzer for android using eclipse and am breaking down the barcode string. However, the following block of code keeps crashing the app
appID = istring.substring(0, 4);
        nep = 4;
        if (appID != "8110") {
            couponERROR = 1;
        } else {
            if (istring.length() < nep + 1) {
                couponERROR = 1;
                couponERROR);
            } else {
                coprefixVLI1stString = istring.substring(nep, nep + 1);
                coprefixVLI1st = Integer.parseInt(coprefixVLI1stString);
                nep++;
I'm fairly new to Java but have experience in objective c. Any help would be greatly appreciated. Thanks
