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.

inside custom component

Native Development

Reply
Forums Advisor I
Posts: 501
Registered: ‎03-01-2013
My Device: BlackBerry Z10

Re: Camera image send to server

I can either send or capture the image?

How to perform both the function at once?

Developer
Posts: 101
Registered: ‎05-31-2013
My Device: q10
My Carrier: reliance

Re: Camera image send to server

Developer
Posts: 101
Registered: ‎05-31-2013
My Device: q10
My Carrier: reliance

Re: Camera image send to server

Developer
Posts: 19
Registered: ‎03-28-2013
My Device: www
My Carrier: www

Re: Camera image send to server

I think you can read the file directly, and use Network transport to the server. Are I understand wrong? 

QString fileName =accounts/1000/appdata/com.example.textCamera.testDev__textCamerab4f1fb43/shared/camera";
QFile file( fileName );

if (!file.open(QIODevice::WriteOnly | QIODevice::Text) ){
//it failed to open the file for writing
}