Code example for SeekBar

Methods: getId

	//Change the viewable start or end time via the progress bar 
	public void onProgressChanged(SeekBar seekBar, int progress, boolean fromTouch) { 
        if(seekBar.getId() == mSeekBar.getId()){
        	start_position = progress;
        }else if (seekBar.getId() == mSeekBar2.getId()){
        	end_position = progress;
	// Return selected data from file browser 
    public void onActivityResult(int requestCode,int resultCode,Intent data) 
		super.onActivityResult(requestCode, resultCode, data);
		if(data != null){
			String file = data.getStringExtra("file"); //Find selected file
			EditText file_Path = (EditText) findViewById(;
			String file_Name = file.substring(file.lastIndexOf("/")+1);