@Override
 protected ArrayList<Friend> doInBackground(String... params) {
   String keyword = params[0];
   ArrayList<Friend> users = new ArrayList<Friend>();
   JsonFriends json = JsonFriends.getFriendsList(Const.TYPE_FRIEND_CHACHA, keyword, 0);
   if (json.isSuccess()) {
     users.addAll(json.array_friend);
     return users;
   } else Log.e(LOG_TAG, json.getErrorMessage());
   return null;
 }
 @Override
 protected JsonFriends doInBackground(Integer... params) {
   // TODO Auto-generated method stub
   JsonFriends json = null;
   String access_token = "";
   if (NetworkUtility.hasNetworkConnection()) {
     switch (params[0]) {
       case Const.TYPE_FRIEND_FACEBOOK:
         access_token = datastore.getFbAccessToken();
         if (!access_token.equals("")) {
           json = JsonFriends.getInviteList(params[0], access_token);
           return json;
         }
         break;
         /*case Const.TYPE_FRIEND_GMAIL:
         access_token = datastore.getGmAccessToken();
         if (!access_token.equals("")) {
         	json = JsonFriends.getInviteList(params[0],
         			access_token);
         	if (json.isSuccess()) {
         		arr_friend.addAll(json.array_gmail);
         	}
         }
         break;*/
     }
   } else {
     showDisconnectView();
   }
   return null;
 }