putting password on an android class
<p>i have been working on an sms application and i want to provide some private space for the user... which can only be accessed if the user enters the right username and password...how can i accomplish that....? somebody told me that i can use the <code>AccountManager</code> but how can i link it with <code>my class or activity</code> on which i am going to put the password....</p>

<pre><code>public class PrivateSpace extends Activity{

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        // TODO Auto-generated method stub
        super.onCreate(savedInstanceState);
</code></pre>

<p>any help will be appreciated...</p>
