private class DownloadFilesTask extends AsyncTask<String, Integer, Long> { protected Long doInBackground(String... urls) { ConnectViaLoginAndPass(); long i = 10; return i; } } public void ConnectViaLoginAndPass(){ //here I want to textBox.setText("some text for debug"); }
new DownloadFilesTask().execute("unneededurl");
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)