Android Item List – Step 6

To call them, now, just do:   strToSent = textToSend.getText().toString(); strPort = Integer.toString(port); if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.HONEYCOMB_MR1) new sendOnNetwork().execute(ip, strPort, strToSent); else new sendOnNetwork().executeOnExecutor(AsyncTask.THREAD_POOL_EXECUTOR, ip, strPort, strToSent); Note: for now, strPort and ip are hardcoded and strToSend comes from the…