brownemint / Ti-Android-CameraView

MIT License
23 stars 15 forks source link

blob picture #20

Closed Moulay92 closed 7 years ago

Moulay92 commented 7 years ago

Please, how can I upload picture in server, I dont know how to convert it to blob just from path. please i need answer.

brownemint commented 7 years ago

You have the path, so just open it as a file: var file = Ti.Filesystem.getFile(<path>);

Then use the Network HTTPClient to upload it. This is all in the Appcelerator Documentation