Saving arrays of data to a database

view story

http://stackoverflow.com – I have 4 EditText fields that the user will input data for. I want to be able to save the data to a database internally (on the device). Here are the declarations (during my onCreate): String[] debtName = new String[10]; double[] debtAmount = new double[10]; int[] debtRate = new int[10]; double[] debtPayment = new double[10]; int trigger = 0; Later, I pull the data from the EditTexts (during a ButtonOnClick): EditText editDebtName = (EditText) findViewById(R.id.dispDebtName); debtName[trigger] = editDebtName.getText().toString(); EditText editDebtAmount = (EditText) findViewById(R.id.dis (HowTos)