I'm using `seekbar` in android. I have made an array in the `string.xml` I want that when i move the seek bar the value of array should be printed on the textview as long as i move the seek bar the value on text view shoul be changed. 

Here is my code - 

**Java File**

```
public class SliderActivity extends Activity 
{
    SeekBar seekbar;
    TextView txt1,txt2;
    String item[];
    int count=0;
    File file;

    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_PROGRESS);
        setContentView(R.layout.main);
        item=getResources().getStringArray(R.array.myArray);
        seekbar=(SeekBar)findViewById(R.id.seekBar1);
        txt1=(TextView)findViewById(R.id.textView1);
        txt2=(TextView)findViewById(R.id.textView2);
        seekbar.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener()
        {
            public void onStopTrackingTouch(SeekBar bar)
            {
                txt2.setText("seekbar has been stop");
            }
            public void onStartTrackingTouch(SeekBar bar)
            {
                txt2.setText("seekbar has started");
            }
            public void onProgressChanged(SeekBar bar,int paramInt, boolean paramBoolean)
            {
                txt1.setText("");
            }
        });
    }
}

```