Available Methods
- putString ( )
- putInt ( )
- getString ( )
- putBoolean ( )
- getInt ( )
- putParcelable ( )
- getBoolean ( )
- getParcelable ( )
- putSerializable ( )
- containsKey ( )
- putLong ( )
- getSerializable ( )
- get ( )
- getLong ( )
- keySet ( )
- putStringArrayList ( )
- putParcelableArrayList ( )
- putBundle ( )
- putFloat ( )
- getStringArrayList ( )
- getParcelableArrayList ( )
- putStringArray ( )
- putDouble ( )
- getBundle ( )
- putByteArray ( )
- getFloat ( )
- putAll ( )
- putFloatArray ( )
- getStringArray ( )
- putCharSequence ( )
- setClassLoader ( )
- remove ( )
- putIntArray ( )
- writeToParcel ( )
- getCharSequence ( )
- getIntArray ( )
- getParcelableArray ( )
- putParcelableArray ( )
- putIntegerArrayList ( )
- getByteArray ( )
- EMPTY
- getDouble ( )
- getFloatArray ( )
- isEmpty ( )
- putLongArray ( )
- size ( )
- getIntegerArrayList ( )
- putSparseParcelableArray ( )
- getSparseParcelableArray ( )
- putBooleanArray ( )
- clear ( )
- putByte ( )
- putShort ( )
- setDefusable ( )
- putShortArray ( )
- setAllowFds ( )
- putDoubleArray ( )
- putCharArray ( )
- getLongArray ( )
- toString ( )
- getBooleanArray ( )
- putChar ( )
- putCharSequenceArray ( )
- putBinder ( )
- putParcelableList ( )
- getShort ( )
- getCharSequenceArray ( )
- getCharSequenceArrayList ( )
- putCharSequenceArrayList ( )
- getClassLoader ( )
- getCharArray ( )
- getByte ( )
Related Classes
- java.io.File
- android.content.Context
- android.view.View
- android.util.Log
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.app.Activity
- android.view.LayoutInflater
- android.os.Build
- android.widget.Toast
- android.widget.ImageView
- android.graphics.Color
- android.os.Handler
- android.net.Uri
- android.widget.Button
- android.graphics.Bitmap
- android.text.TextUtils
- android.widget.LinearLayout
- android.content.pm.PackageManager
- android.support.annotation.Nullable
- android.widget.EditText
- android.content.SharedPreferences
- android.support.annotation.NonNull
- android.annotation.SuppressLint
Java Code Examples for android.os.bundle#getCharArray()
The following examples show how to use
android.os.bundle#getCharArray() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: AutoValue_TestClassBundled.java From auto-value-bundle with MIT License | 5 votes |
public static TestClassBundled unbundle(Bundle bundle, Gson gson) { return new AutoValue_TestClassBundled( bundle, bundle.getByte("some_byte"), bundle.getBoolean("some_boolean"), bundle.getShort("some_short"), bundle.getInt("some_int"), bundle.getLong("some_long"), bundle.getChar("some_char"), bundle.getFloat("some_float"), bundle.getDouble("some_double"), bundle.getString("some_string"), bundle.getCharSequence("some_char_sequence"), bundle.getParcelable("some_parcelable"), bundle.getParcelableArrayList("some_parcelable_array_list"), bundle.getSparseParcelableArray("some_parcelable_sparse_array"), bundle.getSerializable("some_serializable"), bundle.getIntegerArrayList("some_integer_array_list"), bundle.getStringArrayList("some_string_array_list"), bundle.getCharSequenceArrayList("some_char_sequence_array_list"), bundle.getByteArray("some_byte_array"), bundle.getShortArray("some_short_array"), bundle.getCharArray("some_char_array"), bundle.getFloatArray("some_float_array"), gson.fromJson(bundle.getString("some_unknown_object"), new com.google.common.reflect.TypeToken<UnknownObject>(){}.getType()), gson.fromJson(bundle.getString("some_unknown_object_list"), new com.google.common.reflect.TypeToken<ArrayList<UnknownObject>>(){}.getType()), gson.fromJson(bundle.getString("test_enum"), new com.google.common.reflect.TypeToken<TestEnum>(){}.getType())); }
Example 2
Source File: StringSerializer.java From pocketknife with Apache License 2.0 | 5 votes |
@Override public String get(Bundle bundle, String data, String keyPrefix) { char[] inArray = bundle.getCharArray(keyPrefix); char[] outArray = new char[inArray.length - keyPrefix.length()]; System.arraycopy(inArray, keyPrefix.length(), outArray, 0, outArray.length); return new String(outArray); }
Example 3
Source File: InjectionHelper.java From android-state with Eclipse Public License 1.0 | 4 votes |
public char[] getCharArray(Bundle state, String key) { return state.getCharArray(key + mBaseKey); }