Name of the picture APPCameraDemo for delete lazarus / 43-Android ---------------------------------------------------------------------- juank1971 · 2020-09-27 21:48 I would like to know how I can delete a photo after being shot by the camera in the example AppCameraDemo.  the procedure jcamera1.FullPathToBitmapFile returns the path /storage/emulated/0/DCIM/photo1.jpg and I can't delete it because the real name is saved in the DCIM folder is 20200927_174507.jpg ---------------------------------------------------------------------- juank1971 · 2020-09-27 22:33 really  the file photo1.jpg is created in the DCIM folder but another file with the same photo is also created in DCIM / CAMERA with another name 20200927_4565.jpg And i need delete all ---------------------------------------------------------------------- juank1971 · 2020-09-27 23:25 or is it possible not to save the photo on disk, only save it in memory and I save it to the database on the rest server ??? ---------------------------------------------------------------------- jmpessoa · 2020-10-02 17:42 QuoteAnd i need delete all Ok. I will try some solution... Quoteonly save it in memory and I save it to the database on the rest server ... You can try convert the image  to base64 using jBitmap  and send it to the server.... ---------------------------------------------------------------------- juank1971 · 2020-10-03 14:24 Thanks yes i convert the image to base64 and send to the server this worked fine the problem is the photo in the phone When i take the picture the component camera save the picture to disck I need control the photos for delete I deleted the picture of the jcamera1.FullPathToBitmapFile. Fine bat the camera save other picture in dcim folther with another name ---------------------------------------------------------------------- jmpessoa · 2020-10-04 05:03 Quotebut another file with the same photo is also created in DCIM / CAMERA ... [warning: just an attempt!] Please,  go to "Controls.java" in LAMW folder "....\android_wizard\smartdesigner\java" and  try comment the line  2961 //galleryAddPic(newfile); so, maybe you can prevent two saved images... ---------------------------------------------------------------------- juank1971 · 2020-10-04 10:51 you are the best in this you know the heart of java and the heart of pascal thank you very much I will bring you later I will tell you