Ver la Versión Completa : Copy file
rebotea
07-06-2015, 10:13:56
Hola es possivel to copyfile pas SD/
Quanto te adicionas una foto a tua Aplicacion delphi no se adiciona lo original a tu pasta SD/DCIM como lo forçar?
Gracias
ML
nlsgarcia
07-06-2015, 15:51:47
rebotea,
...Copy file...
:confused:
I ask:
1- What is your native language?
2- Could you detail your question in English or Spanish preferably?
3- That version of Windows and how many bits (x32/x64) use your application?
4- In which version of Delphi is developed your application?
I hope to be useful :)
Nelson.
ecfisa
07-06-2015, 18:31:59
Ola rebotea.
Ver se qualquer um desses sites é útil pra você:
Sending Android Intents from Delphi (Part 1) (http://www.danieleteti.it/sending-android-intents-from-delphi-part-1/)
Sending Android Intents from Delphi (Part 2) (http://www.danieleteti.it/sending-android-intents-from-delphi-part-2/)
Delphi XE5 - deploying and accessing local files on iOS and Android (http://blogs.embarcadero.com/davidi/2013/11/23/43005)
Escribir un gestor de archivos para Android, # 1 (http://translate.google.com.ar/translate?hl=es-419&sl=ru&u=http://delphifmandroid.blogspot.com/2014/01/android-1.html&prev=search)
Escribir un gestor de archivos para Android, # 2 (http://translate.google.com.ar/translate?hl=es-419&sl=ru&u=http://delphifmandroid.blogspot.com/2014/02/android-2.html&prev=search)
4 y 5: (Pra visualizar o código off translator)
Saludos :)
rebotea
09-06-2015, 22:18:54
My native language is Portuguese
what i was asking is
how to copyfile in Android with XE8
CopyFile(PChar(fileSource), PChar(fileDest), true) ;
Why the when i take a foto and the normal path is sdcard/ the foto will be saved ind the equipemente path ?
is there a way to force it?
imgCameraImage.Bitmap.Assign(Image);
imgCameraImage.Bitmap.SaveToFile( Localdb.Text + nomefoto ); // here is OK
ecfisa
09-06-2015, 23:09:30
Ola rebotea.
Examina esses dois links:
System.IOUtils.TPath.GetDocumentsPath (http://docwiki.embarcadero.com/Libraries/XE5/en/System.IOUtils.TPath.GetDocumentsPath)
Context.GetFilesDir (http://developer.android.com/reference/android/content/Context.html#getFilesDir%28%29)
E também se você servir estes:
How to save a file on android ? (http://stackoverflow.com/questions/18857936/how-to-save-a-file-on-android-firemonkey)
DELPHI XE5 Android - SAVE / LOAD file from SDCard (http://stackoverflow.com/questions/20584256/delphi-xe5-android-save-load-file-from-sdcard)
Delphi XE5 Android problems locating file (http://stackoverflow.com/questions/24363063/delphi-xe5-android-problems-locating-file)
How to use/save files on a Android device (http://codeverge.com/embarcadero.delphi.firemonkey/how-to-use-save-files-on-a-andr/1056825)
Android saving file to internal storage (http://codeverge.com/embarcadero.delphi.firemonkey/android-saving-file-to-internal/1060055)
Delphi XE7 Android save TBitmap to jpg file (http://newscentral.exsees.com/item/66c53a6c8546c60bb176661ab7445057-db8bb43e113206bb51b9e0dc27e7c6aa)
Espero que sirva, adeus :)
vBulletin v3.6.8, Derechos ©2000-2024, Jelsoft Enterprises Ltd.