I have an input form that has 38 fields
I know it’s too much but my boss want it to be like that
There are 4 edit texts and spinners as the rest and 1 imageView that’ll be uploaded to server using http client
I use AsyncTask to send the data like this :
new asyncTask().execute(array, array, array);
Because there’s too many of items, I think I missed one of them
I’ve checked many times but I still get the indexOutOfBounds exception
Can you help me find them or give me solution / advice to make simpler code
Here’s the code (your eyes might hurt coz it’s the whole code) :
(it’s too much to write here)
Why i’m using alphabets for the variable’s name?
If I use name for each of them i’ll be dead.
Thanks before
On this line
new KirimData().execute(id_user, nama, lokasi, keterangan, a, b, c, d, e, f, g, h, i, k, l, m, n, o, p, q, ad, bd, cd, dd, ed, fd, gd, hd, id, jd, kd, ld, md, nd, od, pd, qd, savedImagePath);You seem to be missing parameter
j, which will (very probably) cause an exception inKirimData#doInBackground