public String createRandomFile(String location){
  Random randomGenerator=new Random();
  SimpleDateFormat dateFormat=new SimpleDateFormat("yyyyMMddHHmmssS");
  Date date=new Date();
  final String filePath=location + dateFormat.format(date) + randomGenerator.nextInt(10);
  Log.i(TAG,">>>>>>>>>>>>>>>>createRandomFile  Location= " + location + "\t FilePath = "+ filePath);
  return filePath;
}

public String createRandomFile ( String location ) { Random randomGenerator = new Random ( ) ; SimpleDateFormat dateFormat = new SimpleDateFormat ( "yyyyMMddHHmmssS" ) ; Date date = new Date ( ) ; final String filePath = location + dateFormat . format ( date ) + randomGenerator . nextInt ( 10 ) ; Log . i ( TAG , ">>>>>>>>>>>>>>>>createRandomFile  Location= " + location + "\t FilePath = " + filePath ) ; return filePath ; }
this method creates a directory and filename
