title: How to extract values from bundle in Android
body: <p>While sending requests via <strong>Facebook_Android SDK</strong>, I get a bundle in return. Can someone explain what data type it is and how to extract the data in it? Thanks. </p>
  
  <p><code>01-28 11:58:07.548: I/Values(16661): Bundle[{to[0]=100005099741441, to[1]=100005089509891, request=134129756751737}]</code></p>
  
  <p><strong>EDIT</strong>
  Here, to[i] is a string array. I was able to do it. but I don't think its the right way to do it.</p>
  
  <pre><code>for(int i=0;i&lt; size-1;i++){
  System.out.println(values.getString("to["+i+"]"));
  }
  </code></pre>
  
  <p>where <code>size</code> is the size of the Bundle called <code>value</code></p>