protected void onActivityResult(int requestCode, int resultCode, Intent data) {
        super.onActivityResult(requestCode, resultCode, data);
        switch (requestCode){
            case 1:
                if (requestCode == 1){
                    Bundle bd = data.getExtras();
                    String returndata = bd.getString("Extr");
                    Toast.makeText(this,  returndata, Toast.LENGTH_SHORT).show();
                }
                break;
            default:
        }
    }