@Override protected void onPostExecute(ArrayList<String> result) { // TODO Auto-generated method stub if (!isNetWork) { HandlerUtil.sendMsgToHandler(handler, PipiPlayerConstant.NONETWORK); return; } if (result == null) { HandlerUtil.sendMsgToHandler(handler, PipiPlayerConstant.NO_DATA_RETURN); } else if (result.size() != 0) { HandlerUtil.sendMsgToHandler(handler, PipiPlayerConstant.EXEC_NORMOL_HOTKEY, result); } else if (result.size() == 0) { HandlerUtil.sendMsgToHandler(handler, PipiPlayerConstant.DATA_RETURN_ZERO); } }
public Search_HotKey_AsyncTask(Handler handler) { // TODO Auto-generated constructor stub this.handler = handler; if (HandlerUtil.isConnect()) { isNetWork = true; } }