Getting name of Parent acitvity-Null Exception
<p>I m getting NullPointerException whenever I try this-  </p>

<pre><code>getCallingActivity().getClassName()
</code></pre>

<p>I want to get the name of the <code>caller/parent</code> acitivity from the <code>called/child</code> activity.</p>
