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 windowForward(String[] parm) { Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_WINDOWFORWARD; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg);/*from w w w .j av a2s . co m*/ }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void openSlibing(String[] parm) { if (parm.length < 6) { return;/*from w w w . ja v a 2s. c o m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_OPENSLIBING; 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 insertAbove(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_POP) || parm.length < 1) { return;// w w w .ja va2 s . com } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_INSERTABOVE; 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 insertBelow(String[] parm) { if (!mBrwView.checkType(EBrwViewEntry.VIEW_TYPE_POP) || parm.length < 1) { return;/* ww w . j a va2 s .c o m*/ } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_INSERTBELOW; 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 setWindowHidden(String[] params) { if (params == null || params.length < 1) { errorCallback(0, 0, "error params!"); return;// ww w .ja v a 2s . co m } Message msg = new Message(); msg.obj = this; msg.what = MSG_SET_WINDOW_HIDDEN; 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 close(String[] parm) { Message msg = mHandler.obtainMessage(); msg.what = MSG_FUNCTION_CLOSE;/*from w w w . jav a2 s.c om*/ msg.obj = this; 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 closePopover(String[] parm) { EBrowserWindow curWind = mBrwView.getBrowserWindow(); if (null == curWind) { return;//from w w w . jav a 2 s . c om } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_CLOSEPOPOVER; 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 destroyProgressDialog(String[] params) { Message msg = new Message(); msg.obj = this; msg.what = MSG_DESTROY_PROGRESS_DIALOG; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, params); msg.setData(bd); mHandler.sendMessage(msg);//w w w . java 2 s . c om }
From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java
public void setOrientation(String[] parm) { if (parm.length < 1) { return;// w w w .j a va 2 s .com } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETORIENTATION; 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 setWindowFrame(String[] parm) { if (parm.length < 3) { return;// w w w . ja v a 2 s.c o m } Message msg = new Message(); msg.obj = this; msg.what = MSG_FUNCTION_SETWINDOWFRAME; Bundle bd = new Bundle(); bd.putStringArray(TAG_BUNDLE_PARAM, parm); msg.setData(bd); mHandler.sendMessage(msg); }