Welcome!

Welcome to the Official BlackBerry Support Community Forums. This is your resource to discuss support topics with your peers, and learn from each other. New to the forum? Please visit the ‘Getting Started’ link below.
inside custom component

Native Development

Reply
Contributor
mahdouch950
Posts: 12
Registered: ‎01-21-2013
My Carrier: BB10

upload picture on the server

blease , i'm looking well how to upload image on my server using bb10 (QML) and i havent find a solution , i don't know how can i convert my picture to (Base64) for exemple to put it in the server "stringImage = Base64.encode(mom.image);" .

please it's urgent, I have an oral friday and i haven't fin a solution to post my picture on my server :'(

Please use plain text.
Developer
oliver_kranz
Posts: 180
Registered: ‎09-18-2009
My Carrier: O2

Re: upload picture on the server

Data can be sent to a server by sending a post request with QNetworkAccessManager.

 

https://developer.blackberry.com/cascades/documentation/device_comm/networking/index.html

Please use plain text.