Hi,
Can anyone help?
I’m having real problems saving a snapshot of my display window to the DCIM folder on the Samsung Galaxy 2 tablet I’m working on…
It hasn’t got an SD card in but I’ve found the path to the gallery file: //storage//sdcard0/DCIM/Camera/myImage.jpg
I’ve looked through all the relevant forum posts I could find and followed the suggestions on the most relevant one – here…
I’ve set ‘WRITE_EXTERNAL_STORAGE’ in the Android sketch permissions… and tried out every variation of rolher’s and ak_eric’s suggestion of: save("//sdcard//DCIM/Camera/myImage.png") that seemed sensible…
I thought at first that it might be ‘doubling’ of the 2nd forward slash but no good and I’ve seen the same format elsewhere so can’t be a typo…
I’ve tried using the ‘sdcard0’ that my device says and including ‘storage’ at the root, to try to mirror the path it reports…
The sketch is still running ok but, hard as I look, I just can’t find any saved image on my device….
Anybody any ideas? Any advice gratefully received...
Sorry if I’ve missed something obvious….
Cheers
Tom
"An error occurred while running “android create avd”: The default Android emulator could not be set up. Make sure that the Android SDK is installed properly, and that the Android and Google APIs are installed for level 10. (Between you and me, occasionally, this error is a red herring, and your sketch may be launching shortly.)"
The console then says that it "Could not create a virtual device for the emulator".