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 createProgressDialog(String[] params) {
    if (params == null || params.length < 2) {
        errorCallback(0, 0, "error params!");
        return;//  www.  j  av a2 s .  c om
    }
    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 postGlobalNotification(String[] params) {
    if (params == null || params.length < 1) {
        errorCallback(0, 0, "error params!");
        return;//w  ww  .ja v a  2  s  . c o m
    }
    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);
}

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;/*from   w w w.  j a v a  2s . co  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 publishChannelNotification(String[] params) {
    if (params == null || params.length < 2) {
        errorCallback(0, 0, "error params!");
        return;//w w w  .  j a v  a  2 s.  com
    }
    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 publishChannelNotificationForJson(String[] params) {
    if (params == null || params.length < 2) {
        errorCallback(0, 0, "error params!");
        return;/*from w  w  w. j av a 2s .  c om*/
    }
    Message msg = new Message();
    msg.obj = this;
    msg.what = MSG_PUBLISH_CHANNEL_NOTIFICATION_FOR_JSON;
    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 setIsSupportSlideCallback(String[] params) {
    if (params == null || params.length < 1) {
        errorCallback(0, 0, "error params!");
        return;//  w ww  . jav a 2s. c o m
    }
    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  a  va2s . com*/
    }
    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 disturbLongPressGesture(String[] params) {
    if (params == null || params.length < 1) {
        errorCallback(0, 0, "error params!");
        return;//from  w  ww .  jav  a 2 s  . c  om
    }
    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 showSlibing(String[] parm) {
    if (parm.length < 1) {
        return;/*  w w w . j  a  v  a 2s.co 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 closeSlibing(String[] parm) {
    if (parm.length < 1) {
        return;//  w w  w  .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);
}