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
Developer
Posts: 1,006
Registered: ‎05-22-2009
My Device: Not Specified

Doubts regarding network Connections

Hi,I am basically  a native java programmer,So i was trying to make the network connections and get the XML data.I am unaware of QT /C++ API's that can be used for this process.

 

 I tried the simple process of retreiving image from web,and still  i am trying to get it worked.Only Some sections of Qt are used in Blackberry 10 apis  right.

 

 

Can anyone suggest the way for looking for basic network connections ,and is there any relevent developer article for it?

 

Regards

Rakesh Shankar.P

Developer
Posts: 1,006
Registered: ‎05-22-2009
My Device: Not Specified

Re: Doubts regarding network Connections

What alternative that can be used in BB 10 like System.Out.Println in java?

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Doubts regarding network Connections

Hi,

 

For system printouts you can use:

 

#include <QDebug>

qDebug() << "Message";

 

 

Retired
Posts: 329
Registered: ‎05-07-2012
My Device: BB Alpha
My Carrier: N/A

Re: Doubts regarding network Connections

Hi,

 

Are you using BB10 Native or BB10 Cascades?

 

When you say retrieve an image from the web, what exactly do you mean? Are you connecting to a webserver?

 

You can refer to this thread to get you started in the right direction:

http://supportforums.blackberry.com/t5/Cascades-Development/How-to-Post-Image-from-Device-to-Server/...

 

Martin