public class MainActivity extends Activity {
private SeekBar seekBar;
private static final int MAX_PROGRESS =100;
private int current_progress=10;
private static final int PRO=1;
private Handler handler;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
seekBar = (SeekBar) this.findViewById(R.id.seekBar1);
seekBar.setMax(MAX_PROGRESS);
/* new Thread(new Runnable() {
@Override
public void run() {
while(true){
try {
Thread.sleep(600);
current_progress+=10;
seekBar.setProgress(current_progress);
} catch (Interrupte