| android Programming Glossary: calc_stanicaPassing arguments to AsyncTask, and returning results http://stackoverflow.com/questions/4195609/passing-arguments-to-asynctask-and-returning-results  new ArrayList String  passing.add itemdesc  passing.add curloc  ArrayList String result new ArrayList String  new calc_stanica .execute passing result  String minim result.get 0  int min Integer.parseInt minim  String glons result.get 1  String glats.. to send the string array list passing to the AsyncTask and to get the result string array list back from it. And the calc_stanica AssycTask class looks like this public class calc_stanica extends AsyncTask ArrayList String Void ArrayList String ProgressDialog.. to get the result string array list back from it. And the calc_stanica AssycTask class looks like this public class calc_stanica extends AsyncTask ArrayList String Void ArrayList String ProgressDialog dialog @Override protected void onPreExecute  dialog.. 
 |