List of usage examples for android.os Message setData
public void setData(Bundle data)
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void setSlidingWindow(String[] param) { if (param.length <= 0) { return;/* w ww .j a va 2 s. c o m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETSLIDINGWIN; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, param); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void showSlibing(String[] parm) { if (parm.length < 1) { return;//from w ww.ja v a2 s . c o m } EBrowserWindow curWind = mBrwView.getBrowserWindow(); if (null == curWind) { return; } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SHOWSLIBING; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void setPopoverFrame(String[] parm) { if (parm.length < 5) { return;/* ww w . j a v a 2 s .co m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETPOPOVERFRAME; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void closeSlibing(String[] parm) { if (parm.length < 1) { return;/*from www . j a va 2 s. c om*/ } EBrowserWindow curWind = mBrwView.getBrowserWindow(); if (null == curWind) { return; } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_CLOSESLIBING; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void createProgressDialog(String[] params) { if (params == null || params.length < 2) { errorCallback(0, 0, "error params!"); return;/* w ww. java2s . c o m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_CREATE_PROGRESS_DIALOG; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, params); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void sendPopoverToBack(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_MAIN) || parm.length < 1) { return;/* w w w.ja va 2 s. co m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SENDPOPOVERTOBACK; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void statusBarNotification(String[] params) { if (params == null || params.length < 2) { errorCallback(0, 0, "error params!"); return;/*from ww w.j a va 2 s. c om*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_STATUS_BAR_NOTIFICATION; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, params); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void toggleSlidingWindow(String[] param) { if (param.length <= 0) { return;/* w w w. ja va 2s . c om*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_TOGGLE_SLIDINGWIN; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, param); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void closeMultiPopover(String[] parm) { if (parm == null || parm.length < 1) { errorCallback(0, EUExCallback.F_E_UEXWINDOW_EVAL, "Illegal parameter"); return;//from w w w .j a v a 2 s.c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_CLOSEMULTIPOPOVER; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void postGlobalNotification(String[] params) { if (params == null || params.length < 1) { errorCallback(0, 0, "error params!"); return;/*from w w w . j a v a 2s . c om*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_POST_GLOBAL_NOTIFICATION; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, params); msg.setData(bd); mHandler.sendMessage(msg); }