@Override protected Void doInBackground(Void... params) { try { walks = NetworkAction.parse("mywalk.xml", "walk"); } catch (XmlPullParserException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } return null; }
@Override protected String doInBackground(Void... params) { String dml = "select * from walk where user='******'"; return NetworkAction.sendDataToServer("mywalk.php", dml); }