title: How do I store a bundle in a database blob?
body: <p>Ive been searching google for a way to convert a <code>bundle</code> into a string suitable to store in a database as a <code>BLOB</code> type.  I have found lots of examples of serializing it to a file but no mention of how to put it into a string or byte aray.  Can anyone give me an example of how this is done?</p>
  
  <p>I am developing an app that will use plugin's for custom UI components and want to call a configuration activity in the plugin passing a bundle of configuration options that were stored in a database.  The activity would return the bundle with the updated options and then I need to save it back to the database.</p>
  
  <p>If anyone can point me in the right direction I would be grateful.</p>