I am running a simple FTP server for android. In my application, I am trying to use an AsyncTask. Here is my code:
private class start extends AsyncTask<String,Void,Void> {
...
...
@Override
protected Void doInBackground(String... str) {
// TODO Auto-generated method stub
return null;
}
}
I am getting a syntax error on token "..." and an error saying insert ";" to complete LocalVariableDeclerationStatement. I have looked at the following AsyncTask tutorials: http://android-developers.blogspot.com/2009/05/painless-threading.html http://developer.android.com/reference/android/os/AsyncTask.html
and I have looked at other questions including: Error "Asynctask" And nobody seems to have encountered simmilar errors. Any help would be greatly appreciated.