How i can save a txt file or an image form mobile platform to android device on a specific location (folder).
This is what i am trying with an image and it doesn`t work.
| Code |
|---|
&AtClient
Procedure GetPicture(Command)
PictureData = Undefined;
#If MobileAppClient Then
PictureData = MultimediaTools.MakePhoto();
#EndIf
If PictureData <> Undefined Then
Try
BinaryD = PictureData.GetBinaryData();
BinaryD.Write("/sdcard/1C/testImage.jpg");
Except
DoMessageBox("Image cannot be saved!", 3, "Error");
EndTry;
EndIf;
EndProcedure
|
Edited: - Aug 03, 2015 05:00 AM

