Progress bar In android, progress bar can be used to tell the user the task takes longer time to finish. Progress bar displays a bar which represent how far the operations has progressed. Progress bar can be made indeterminate. In indeterminate mode, progress bar shows a cyclic animation without indication progress. In this tutorial, I’ll show how to display a progress bar package com.example; import android.app.Activity; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.widget.ProgressBar; import android.widget.TextView; public class ProgressbarExamplActivity extends Activity { private ProgressBar bar ; private TextView txt ; protected boolean isRunning ; /** Called when the activity is first created. */ @Override public void ...
If you are a beginner , then this blog will help you to dive into the basics.