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 setAutorotateEnable(String[] parm) { if (parm.length < 1) { return;//from ww w .jav a 2 s . c om } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETAUTOROTATEENABLE; 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 bringPopoverToFront(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_MAIN) || parm.length < 1) { return;//from w ww. j a va 2 s . co m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_BRINGPOPOVERTOFRONT; 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 loadObfuscationData(String[] parm) { if (parm.length < 1) { return;// ww w.j a va 2 s. c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_LOADOBFUSCATIONDATA; 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 setMultiPopoverFrame(String[] parm) { if (parm.length < 5) { return;// ww w .java 2 s. co m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETMULTIPOPOVERFRAME; 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 disturbLongPressGesture(String[] params) { if (params == null || params.length < 1) { errorCallback(0, 0, "error params!"); return;/*w w w.j av a 2 s . c o m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_DISTURB_LONG_PRESS_GESTURE; 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 setSlidingWindowEnabled(String[] param) { if (param.length <= 0) { return;/*from w ww .j a v a 2 s .c om*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETSLIDINGWIN_ENABLE; 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 openPopover(String[] parm) { if (parm.length < 10) { return;//from www .j a v a 2 s. c om } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_OPEN_POP; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); if (parm.length > 11) { //?12? long delay = 0l; try { JSONObject json = new JSONObject(parm[11]); JSONObject data = new JSONObject(json.getString(EBrwViewEntry.TAG_EXTRAINFO)); if (data.has(EBrwViewEntry.TAG_DELAYTIME)) { delay = Long.valueOf(data.getString(EBrwViewEntry.TAG_DELAYTIME)); } } catch (Exception e) { } mHandler.sendMessageDelayed(msg, delay); } else { mHandler.sendMessage(msg); } }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void publishChannelNotification(String[] params) { if (params == null || params.length < 2) { errorCallback(0, 0, "error params!"); return;//w ww. j ava 2 s . c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_PUBLISH_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 insertWindowAboveWindow(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_MAIN) || parm.length < 2) { return;//from ww w . j a v a 2 s . c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_INSERTWINDOWABOVEWINDOW; 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 insertWindowBelowWindow(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_MAIN) || parm.length < 2) { return;// www . jav a2s. c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_INSERTWINDOWBELOWWINDOW; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }