Example #1
0
 @Override
 protected JSONObject doInBackground(String... params) {
   return ServerFacade.getInstance().getPeople();
 }
Example #2
0
 @Override
 protected JSONObject doInBackground(String... params) {
   String username = params[0];
   String password = params[1];
   return ServerFacade.getInstance().login(username, password);
 }