This is my code
public void DownloadROM(View view) {
progressDialog = new ProgressDialog(ROMManager.this);
progressDialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
progressDialog.setMessage("Downloading ROM Repository\nPlease standby");
progressDialog.show();
gotoList(view);
Log.v("ROMManager", "Showing download List");
}
public void gotoList(final View view){
Thread background = new Thread(new Runnable(){
public void run() {
Intent i = new Intent(ROMManager.this, DownloadList.class);
startActivity(i);
}
});
background.start();
}
Problem is that when I call DownloadROM, the progress dialog appears, but the Spinner doesn't move, this is my last try, before was only 1 method Thanks.