Beispiel #1
0
 @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;
 }
Beispiel #2
0
 @Override
 protected String doInBackground(Void... params) {
   String dml = "select * from walk where user='******'";
   return NetworkAction.sendDataToServer("mywalk.php", dml);
 }