[android-developers] Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Ali Chousein
Hi, I'm trying to do the following: // I have a Bundle and convert it to string Bundle _bundle; // Meanwhile I put intergers, booleans etc in _bundle String _strBundle = _bundle.toString(); Later in my code I need to create a Bundle from _strBundle. How do I do that? So far I couldn't find any

Re: [android-developers] Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 4:02 AM, Ali Chousein ali.chous...@gmail.com wrote: I'm trying to do the following: // I have a Bundle and convert it to string Bundle _bundle; // Meanwhile I put intergers, booleans etc in _bundle String _strBundle = _bundle.toString(); Later in my code I need to

Re: [android-developers] Bundle.toString() and then create a Bundle from String

2011-07-01 Thread Mark Murphy
On Fri, Jul 1, 2011 at 7:29 AM, Mark Murphy mmur...@commonsware.com wrote: Bundles are Parcelables, meaning they are designed to marshaled to and from byte arrays, not strings. You are welcome to take a byte array and create a string representation of it and convert it back that way. Actually,