I have capturing images from webcam and storing them in a folder. The path of folder and name of image is provided i.e. hard coded into code. Now I don't want to hard code the name of image, I want to create it dynamically. I am giving the path as
String string_ip="F:\\gatepass\\Gatepass\\Images\\rose.jpg";
Here I want to create name rose.jpg as dynamically, and also I want to give name as user name (user name is fetched from database) But I am unable to do that, Please help me.