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

Regular Contributor
Posts: 94
Registered: ‎12-02-2011
My Device: non-Blackberry user
My Carrier: none


I would like to be able to push or pull data from a desktop application to the phone.  I would like to do this syncing over a USB connection. With the phone in developers mode QNetworkInterface::allInterfaces(); reports a usb interface called "ecm0".  Can I assume that whenever I have a USB connection that this interface is available.  If not does Cascade offfer a way to start the interface.  I could try doing QProcess("ifconfig ecm0 up").


Has anyone else tried to do syncing between a PC and the device.  Any suggestions appreciated.



Aside:  I tried to let the user  do an "Import" of data from a email attachment that was saved onto the device.  But the phone's email tool was unable to save an attachment where it was a csv, or an xls file.  This was though my gmail account.  Is this a bug, should one not be able to save an email attachment ?