Eventually I am wanting this method to look up some values in a text document and return true of the username and password are present there. However I am having some problems with implementing the AsyncTask. I have tried to follow the guide at http://developer.android.com/reference/android/os/AsyncTask.html but have had no success.
The error I am getting at the return type on the doInBackground method is "The return type is incompatible with AsyncTask.doInBackground(String[])"
    private class AuthenticateUser extends AsyncTask<String, Integer, Boolean>
    {
        String user;
        String pass;
        protected void onPreExecute(String uname, String passwd)
        {
            user = uname;
            pass = passwd;
        }
        protected boolean doInBackground(String... strings)
        {
            return true;
        }
        protected boolean onPostExecute(boolean v)
        {
            return v;
        }
    } 
I know that this is not a good way to authenticate a user at all. I am just trying to figure this out. Thanks.
 
     
     
    