Android: Bundle.toString() and then create a Bundle from String -
i'm trying following:
// have bundle , convert string bundle _bundle; // meanwhile put intergers, booleans etc in _bundle string _strbundle = _bundle.tostring();
later in code need create bundle _strbundle. how do that? far couldn't find information on this. of course don't wish parse _strbundle myself , hope fremawork provides string2bundle sort of functionality.
as far know there no way framework know stored in string. same pattern have possible interpretations (string, boolean, integer) , don't think that makes sense.
in fact can't imagine why need it. have bundle in first place. suggest keep original bundle , use when need or make parse of string , create bundle (which won't easy task if want cover possibilities).
Comments
Post a Comment