update seekbar using edittext and decimal numbers

view story

http://stackoverflow.com – ok let me explain: i have a seekbar and a edittextbox, the seekbar only goes from 0 to 100, when the user used the seekbar and advance in the editbox it also show the progress, if the user input a number from 0 to 100 the seekbar automatically updates to the number in the edit textbox. here is the code: EditText num1; SeekBar Sb1; num1=(EditText)findViewById(R.id.hoja1E2); Sb1=(SeekBar) findViewById(R.id.seekBar1); Sb1.setOnSeekBarChangeListener(new OnSeekBarChangeListener() { @Override public void onStopTrackingTouch(SeekBar seekBar) { } @Overri (HowTos)