Hello good, sorry for my English, I'm making a simple app which takes care of downloading an image using URLLoader
Everything works properly.
local out = io.open("|D|image" .. Estension, "wb")
out:write(event.data)
out:close()
MiTextura = Texture.new("|D|image" .. Estension)
b = Bitmap.new (MiTextura)
The image loads properly and looks perfect. But I did a work to download the image to Mobile (ANDROID)
local out = io.open("/sdcard/Download/newImage.jpg", "wb")
out:write(ImageData)
out:close()
The implementation works well. But then when I go to Galeria no picture, now comes the most curious.
The picture is in the gallery when you restart the phone (android) is something very rare.
Any normal app, you save images, these images appear when the gallery.
If I go to the file browser if you see but watch. Only appears if I search from the mobile. If I connect the phone to the computer and look for the image in the sdcard / Download / nothing appears directory.
I hope you can help me. Thank you.
Comments
Likes: Danhanfry
Fragmenter - animated loop machine and IKONOMIKON - the memory game
https://github.com/gideros/giderosplugins/blob/master/Media
Likes: Danhanfry
Really thank you very much, I've gotten is with the Media plugin. Really thanks