Well I need to do a long task so I did a ProgressDialog to report such a task, however the spinner that should be appearing seems hidden or something.
protected void onPreExecute (){
progress.setProgressStyle(ProgressDialog.STYLE_SPINNER);
progress = ProgressDialog.show(Login.this, "Aguarde...",
"Logando...");
super.onPreExecute();
}
I've already put the code in onCreate () but it still does not work, any ideas whatsoever?