@Override
  public void onClick(View v) {
    switch (v.getId()) {
      case R.id.back:
        prevId.pop();
        prevPath.pop();
        String present_path = prevPath.elementAt(prevPath.size() - 1);

        if (present_path.equalsIgnoreCase("HOME")) back.setEnabled(false);
        else back.setEnabled(true);
        int present_id = prevId.elementAt(prevId.size() - 1);
        Log.i("id", "" + present_id);
        Log.i("path", present_path);

        ArrayList<SearchResults> Results = getData(String.valueOf(present_id));
        adapt = new MyCustomBaseAdapter(SkydriveFolderList.this, Results);

        lv.setAdapter(adapt);
        adapt.notifyDataSetChanged();

        path.setText(present_path);

        break;
      case R.id.search:

        // getResult(et.getText().toString());

        break;
    }
    // TODO Auto-generated method stub

  }
 private void getResult(String parameter) {
   DBController dbc = new DBController(this);
   skydrive = new ArrayList<SearchResults>();
   skydrive = dbc.getSearchDataFromSkydrive(parameter);
   adapt = new MyCustomBaseAdapter(SkydriveFolderList.this, skydrive);
   adapt.notifyDataSetChanged();
   lv.setAdapter(adapt);
 }