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(;
Contextual code suggestions in your IDE  Get Codota for Java