Hi,
I'm trying to use the intent "android.media.action.IMAGE_CAPTURE" to
take pictures without using the library AdvancedCamera.
The used code is:
============================================
URI_File = "file:/" & File.Combine(File.DirRootExternal & "/MY_DATA/TEMP", "my_photo.jpg") 'Create path + file of the my photo
Log(URI_File) '---> file://mnt/sdcard/MY_DATA/TEMP/my_photo.jpg
ObjectIntent.Initialize("android.media.action.IMAGE_CAPTURE","")
ObjectIntent.PutExtra("output", URI_File) 'Set Output
StartActivity(ObjectIntent) 'Start CAMERA
============================================
Everything works perfectly, but unfortunately it does not save any files.
Where am I wrong? Have you got an example for me?
Thanks a lot
Vincenzo
------------------------------------------------------------------------------------------------------
Italian:
Sto cercando di utilizzare l'intent "android.media.action.IMAGE_CAPTURE" per
scattare delle foto senza utilizzare la libreria AdvancedCamera.
Il codice utilizzato è questo:
============================================
URI_File = "file:/" & File.Combine(File.DirRootExternal & "/MY_DATA/TEMP", "my_photo.jpg") 'Create path + file of the my photo
Log(URI_File) '---> file://mnt/sdcard/MY_DATA/TEMP/my_photo.jpg
ObjectIntent.Initialize("android.media.action.IMAGE_CAPTURE","")
ObjectIntent.PutExtra("output", URI_File) 'Set Output
StartActivity(ObjectIntent) 'Start CAMERA
============================================
Funziona tutto perfettamente ma purtroppo non salva nessun file.
Dove sto sbagliando? Avete un esempio da darmi?
Grazie 1000
Vincenzo
I'm trying to use the intent "android.media.action.IMAGE_CAPTURE" to
take pictures without using the library AdvancedCamera.
The used code is:
============================================
URI_File = "file:/" & File.Combine(File.DirRootExternal & "/MY_DATA/TEMP", "my_photo.jpg") 'Create path + file of the my photo
Log(URI_File) '---> file://mnt/sdcard/MY_DATA/TEMP/my_photo.jpg
ObjectIntent.Initialize("android.media.action.IMAGE_CAPTURE","")
ObjectIntent.PutExtra("output", URI_File) 'Set Output
StartActivity(ObjectIntent) 'Start CAMERA
============================================
Everything works perfectly, but unfortunately it does not save any files.
Where am I wrong? Have you got an example for me?
Thanks a lot
Vincenzo
------------------------------------------------------------------------------------------------------
Italian:
Sto cercando di utilizzare l'intent "android.media.action.IMAGE_CAPTURE" per
scattare delle foto senza utilizzare la libreria AdvancedCamera.
Il codice utilizzato è questo:
============================================
URI_File = "file:/" & File.Combine(File.DirRootExternal & "/MY_DATA/TEMP", "my_photo.jpg") 'Create path + file of the my photo
Log(URI_File) '---> file://mnt/sdcard/MY_DATA/TEMP/my_photo.jpg
ObjectIntent.Initialize("android.media.action.IMAGE_CAPTURE","")
ObjectIntent.PutExtra("output", URI_File) 'Set Output
StartActivity(ObjectIntent) 'Start CAMERA
============================================
Funziona tutto perfettamente ma purtroppo non salva nessun file.
Dove sto sbagliando? Avete un esempio da darmi?
Grazie 1000
Vincenzo