Example usage for android.os Bundle putStringArray

List of usage examples for android.os Bundle putStringArray

Introduction

In this page you can find the example usage for android.os Bundle putStringArray.

Prototype

public void putStringArray(@Nullable String key, @Nullable String[] value) 

Source Link

Document

Inserts a String array value into the mapping of this Bundle, replacing any existing value for the given key.

Usage

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;//from  w  w  w .j  a  va 2 s .c  om
    }
    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);
}

From source file:org.zywx.wbpalmstar.engine.universalex.EUExWindow.java

public void loadObfuscationData(String[] parm) {
    if (parm.length < 1) {
        return;//from   w w  w  . j  a v  a 2s  .c om
    }
    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 toast(String[] parm) {
    if (parm.length < 4) {
        return;/*from   w ww.  jav a2s .  c  o m*/
    }
    Message msg = new Message();
    msg.obj = this;
    msg.what = MSG_FUNCTION_TOAST;
    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;/*w w w. j  a v a2 s .co  m*/
    }
    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 setSelectedPopOverInMultiWindow(String[] parm) {
    if (parm == null || parm.length < 2) {
        errorCallback(0, EUExCallback.F_E_UEXWINDOW_EVAL, "Illegal parameter");
        return;/* w  w w.j  av a2  s .  c om*/
    }
    Message msg = new Message();
    msg.obj = this;
    msg.what = MSG_FUNCTION_SETSELECTEDPOPOVERINMULTIWINDOW;
    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 closeMultiPopover(String[] parm) {
    if (parm == null || parm.length < 1) {
        errorCallback(0, EUExCallback.F_E_UEXWINDOW_EVAL, "Illegal parameter");
        return;/*from  w  ww. j  ava  2s .  c om*/
    }
    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 setWindowHidden(String[] params) {
    if (params == null || params.length < 1) {
        errorCallback(0, 0, "error params!");
        return;//from   ww  w  .j  a v  a  2 s.  c o 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 openAd(String[] params) {
    if (params == null || params.length < 4) {
        errorCallback(0, 0, "error params!");
        return;// ww w . j  a va2s  .c o  m
    }
    Message msg = new Message();
    msg.obj = this;
    msg.what = MSG_OPEN_AD;
    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 actionSheet(String[] params) {
    if (params == null || params.length < 3) {
        errorCallback(0, 0, "error params!");
        return;/*www.  ja va 2  s .  c  om*/
    }
    Message msg = new Message();
    msg.obj = this;
    msg.what = MSG_ACTION_SHEET;
    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 statusBarNotification(String[] params) {
    if (params == null || params.length < 2) {
        errorCallback(0, 0, "error params!");
        return;/*from  ww  w .  j av a 2s .com*/
    }
    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);
}