Unable to send context, constructor is undefined
<p>I have a DbAdapter class to handle the database stuff in my app, but for some reason I can't call it from a new class I have created (although it works in others).</p>

<p>The code I'm using from the new class is:</p>

<pre><code>DbAdapter mDbHelper = new DbAdapter(this);
        mDbHelper.open();
</code></pre>

<p>It doesn't seem to like the "this". The code for my DbAdapter class is:</p>

<pre><code>    public DbAdapter (Context ctx) {
    this.mCtx = ctx;
}
</code></pre>

<p>I'm sure this is really stupid question, but if anyone can point me in the right direction it would be much appreciated.</p>

<p>Many thanks,</p>

<p>Pete.</p>
