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 setIsSupportSlideCallback(String[] params) { if (params == null || params.length < 1) { errorCallback(0, 0, "error params!"); return;//from w w w . jav a2s. c om } Message msg = new Message(); msg.obj = this; msg.what = MSG_SET_IS_SUPPORT_SLIDE_CALLBACK; 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 setIsSupportSwipeCallback(String[] params) { if (params == null || params.length < 1) { errorCallback(0, 0, "error params!"); return;/*from w w w .j av a 2 s . c om*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_SET_IS_SUPPORT_SWIPE_CALLBACK; 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 setPageInContainer(String[] parm) { Message msg = mHandler.obtainMessage(); msg.what = MSG_PLUGINVIEW_CONTAINER_SET; msg.obj = this; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg);//from w w w . j a v a 2 s.c o m }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void subscribeChannelNotification(String[] params) { if (params == null || params.length < 2) { errorCallback(0, 0, "error params!"); return;//w ww. ja v a2 s . c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_SUBSCRIBE_CHANNEL_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 showPluginViewContainer(String[] parm) { Message msg = mHandler.obtainMessage(); msg.what = MSG_PLUGINVIEW_CONTAINER_SHOW; msg.obj = this; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg);//from w w w. j a v a2s . c o m }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void hidePluginViewContainer(String[] parm) { Message msg = mHandler.obtainMessage(); msg.what = MSG_PLUGINVIEW_CONTAINER_HIDE; msg.obj = this; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg);//from w w w. j ava 2 s .co m }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void insertPopoverAbovePopover(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_MAIN) || parm.length < 2) { return;//ww w. j a va2 s . com } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_INSERTPOPOVERABOVEPOPOVER; 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 insertPopoverBelowPopover(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_MAIN) || parm.length < 2) { return;// ww w.ja v a 2 s . c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_INSERTPOPOVERBELOWPOPOVER; 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 closePluginViewContainer(String[] parm) { Message msg = mHandler.obtainMessage(); msg.what = MSG_PLUGINVIEW_CONTAINER_CLOSE; msg.obj = this; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg);//w w w. j ava 2 s .c o m }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void createPluginViewContainer(String[] parm) { Message msg = mHandler.obtainMessage(); msg.what = MSG_PLUGINVIEW_CONTAINER_CREATE; msg.obj = this; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg);//from ww w . j a v a 2 s .co m }