above function copy from ur data->data database to sdcard. InputStream myInput = new FileInputStream(new ...
stackoverflow.com