List of usage examples for android.os Bundle putStringArray
public void putStringArray(@Nullable String key, @Nullable String[] value)
From source file:org.zywx.wbpalmstar.plugin.uexCalendarView.EUExCalendarView.java
private void sendMessageInProgress(int msgType, String[] params) { if (mHandler == null) { return;// w w w .ja va2 s . c om } Message msg = Message.obtain(); msg.what = msgType; msg.obj = this; Bundle b = new Bundle(); b.putStringArray(ECalendarViewUtils.CALENDAR_PARAMS_KEY_FUNCTION, params); msg.setData(b); mHandler.sendMessage(msg); }
From source file:de.aw.monma.reports.ReportWPCats.java
@Override protected void setInternalArguments(Bundle args) { super.setInternalArguments(args); args.putParcelable(DBDEFINITION, tbd); args.putStringArray(PROJECTION, projection); args.putString(GROUPBY, groupBy);/*ww w .j a v a 2 s. c om*/ args.putString(ORDERBY, orderBy); }
From source file:de.aw.monma.mainscreen.FragmentDepots.java
@Override protected void setInternalArguments(Bundle args) { super.setInternalArguments(args); args.putString(SELECTION, selection); args.putStringArray(PROJECTION, projection); args.putString(GROUPBY, groupBy);//from www . ja v a 2 s. c o m args.putString(ORDERBY, orderBy); args.putInt(LAYOUT, layout); args.putInt(VIEWHOLDERLAYOUT, viewHolderLayout); args.putParcelable(DBDEFINITION, tbd); }
From source file:net.potterpcs.recipebook.IngredientsEditor.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putStringArray(STATE, getIngredients()); }
From source file:org.getlantern.firetweet.activity.support.FileSelectorActivity.java
@Override protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); final Intent intent = getIntent(); final Uri data = intent.getData(); File initialDirectory = data != null ? new File(data.getPath()) : getExternalStorageDirectory(); if (initialDirectory == null) { initialDirectory = new File("/"); }//from w ww. j a va 2 s . c o m final String action = intent.getAction(); if (!INTENT_ACTION_PICK_FILE.equals(action) && !INTENT_ACTION_PICK_DIRECTORY.equals(action)) { finish(); return; } final FileSelectorDialogFragment f = new FileSelectorDialogFragment(); final Bundle args = new Bundle(); args.putString(EXTRA_ACTION, action); args.putString(EXTRA_PATH, initialDirectory.getAbsolutePath()); args.putStringArray(EXTRA_FILE_EXTENSIONS, intent.getStringArrayExtra(EXTRA_FILE_EXTENSIONS)); f.setArguments(args); f.show(getSupportFragmentManager(), "select_file"); }
From source file:de.vanita5.twittnuker.activity.support.FileSelectorActivity.java
@Override protected void onCreate(final Bundle savedInstanceState) { super.onCreate(savedInstanceState); final Intent intent = getIntent(); final Uri data = intent.getData(); File initialDirectory = data != null ? new File(data.getPath()) : getExternalStorageDirectory(); if (initialDirectory == null) { initialDirectory = new File("/"); }//www . ja v a 2 s. c o m final String action = intent.getAction(); if (!INTENT_ACTION_PICK_FILE.equals(action) && !INTENT_ACTION_PICK_DIRECTORY.equals(action)) { finish(); return; } final FileSelectorDialogFragment f = new FileSelectorDialogFragment(); final Bundle args = new Bundle(); args.putString(EXTRA_ACTION, action); args.putString(EXTRA_PATH, initialDirectory.getAbsolutePath()); args.putStringArray(EXTRA_FILE_EXTENSIONS, intent.getStringArrayExtra(EXTRA_FILE_EXTENSIONS)); f.setArguments(args); f.show(getSupportFragmentManager(), "select_file"); }
From source file:al.laefapp.main.MainActivity.java
private Bundle createQueryBundle() { if (m_filterItem != null) { Bundle returnBundle = new Bundle(); returnBundle.putStringArray("filterid", new String[] { m_filterItem }); return returnBundle; }//from w w w .j av a2s. co m return null; }
From source file:com.piusvelte.wapdroid.ManageData.java
private Bundle getCursorArguments() { Bundle args = new Bundle(); args.putStringArray(PROJECTION, getNetworksProjection()); args.putString(SELECTION, null);/*from www. ja v a 2 s . co m*/ args.putStringArray(SELECTION_ARGS, null); return args; }
From source file:org.zywx.wbpalmstar.plugin.chatkeyboard.EUExChatKeyboard.java
private void sendMessageWithType(int msgType, String[] params) { if (mHandler == null) { return;/*from w ww . ja v a2 s. com*/ } Message msg = new Message(); msg.what = msgType; msg.obj = this; Bundle b = new Bundle(); b.putStringArray(CHATKEYBOARD_FUN_PARAMS_KEY, params); msg.setData(b); mHandler.sendMessage(msg); }
From source file:com.facebook.android.FacebookClient.java
public void onSaveInstanceState(Bundle outState) { Bundle b = new Bundle(); b.putInt("mAuthActivityCode", mAuthActivityCode); b.putStringArray("mAuthPermissions", mAuthPermissions); outState.putBundle("facebookclient", b); }