title: Android passing data to an Activity Class ?
body: <p>When we start an Activity, is there anyway to get access to the object of the class, so that i can call the set data in the class. Something like </p>
  
  <pre><code>  Intent intent=new Intent (a.this, b.class);
    startActivity(intent);
  </code></pre>
  
  <p>Now i know there should be an object of b.class on the heap, and before the onCreate of the object is created, i want to pass some data to the class. Now i know i can do the same with Bundles, but passing objects through Bundles gets ugly. If i have the reference to the b.class i could call methods of the class ? Am i making sense. Is this possible ? </p>
  
  <p>Kind Regards,</p>