public void saveImage()
	{
		try
		{
			FileOutputStream fos;
			byte[] bis = currentImage;
			if(bis == null || bis.length <= 1)
				return;

			if(USBGen.getWriteableString().equals(""))
				fos = new FileOutputStream("tempPic.jpg");
			else
				fos = new FileOutputStream(USBGen.getWriteableString()+"tempPic.jpg");

			int read = 0;
			while (read < bis.length)
			{
				fos.write(bis[read]);
				read++;
			}
			fos.close();
		}
		catch (IOException ieo)
		{
			ieo.printStackTrace();
		}
	}