On 01/04/2011 02:18 AM, Kevron Rees wrote:
On Fri, 2010-12-17 at 16:49 +0800, bradleyyan wrote:
Dear Kevron,

I define a new FtpTransferWidget object widget, the code is as
follows:

  FtpTransferWidget *widget = new FtpTransferWidget(address());

And the address() function is as follows:

QString PairedItem::address()
{
         QVariantMap props = device->GetProperties();
         return props["Address"].toString();
}

The object device use the Bluez interface org.bluez.Device.

But the FTP transfering failed,I have checked the codes,finding the
value of function isConnected() is false.

I can not find the root cause of this problem.

Please help me to find out the root cause.

Thanks.


Bradley
Is any error code produced during the transfer?  It should also be noted
that the code in meegotouchcp-bluetooth is not a meego API and may
disappear at any point in the future.

AFAIK, MeeGo 1.2 will have Qt-mobility 1.2 which will include bluetooth
stuff.  meegotouchcp-bluetooth and bluetooth-qt (which is where all the
new code is being developed), is just a stop-gap until the qt-mobility
stuff stabilizes.

-Kevron



The test codes is also failed. The value of function isConnected() is false,and 
the function transferFile returned early, so the program is failed.

Thanks.

Bradley Yan

_______________________________________________
MeeGo-handset mailing list
[email protected]
http://lists.meego.com/listinfo/meego-handset

Reply via email to