Question regarding usage of PackageManager in Android
<p>I have read that package manager can be used to get details of the android application.
I have a .java of Android applciation in which I am using this to get the details of that file . I am getting the foolowng error : <br></p>

<pre><code>Logs.log("OnClick(hiello)", "my Activity not found ",LogType.Debug, 
   myfile.this.getPackageManager().getApplicationInfo(getPackageName(), 0));
</code></pre>

<p>In the above stmt myfile is simple .java file with one function composetotal()</p>

<pre><code>void composetotal(Activity acty,int m1,int m2,int m3)
{
   Logs.log("OnClick(hiello)", "my Activity not found ",LogType.Debug,
      myfile.this.getPackageManager().getApplicationInfo(getPackageName(), 0));    
}
</code></pre>

<p><br>
I am getting error at <code>this.getPackageManager()</code>.
Help me in solving this issue. Also give me one sample program for this getPackageManager()</p>
