| Reply | « Previous Thread | Next Thread » |
|
I am trying to add a log file of bluetooth transfers
I have tried to integrate a file logging example and the btobexchange example but I believe I have not been able to because a session is needed for every activity. I have been searching for an example that has two sessions I would use one to perform the bluetooth communication and the other session to write into a log file. Could you help me with an example that does something and writes into a log file Thank you Adrian RFs fs; CleanupClosePushL(fs); User::LeaveIfError( fs.Connect() ); fs.ShareProtected(); TInt error( KErrNone ); RFile temp; User::LeaveIfError( temp.Open( fs, path, EFileShareReadersOnly | EFileRead ) ); CleanupClosePushL(temp); CMessageData* messageData = CMessageData::NewL(); CleanupStack::PushL(messageData); messageData->AppendAttachmentHandleL(temp); TRAPD(err, iSendUi->ShowQueryAndSendL(messageData, capabs) ); if( err ) // an error has been found during transmission { iAppView->LogL(KSenduiError, err); } |
| sdadrianalvarez |
| View Public Profile |
| Find all posts by sdadrianalvarez |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| send log file via ftp (file already in use) | hubefonseca | Symbian Networking & Messaging | 1 | 2007-05-11 23:20 |
| Send file throwgh Bluetooth in Motorola PUAG! | Pepper_91 | Mobile Java Networking & Messaging & Security | 0 | 2007-04-18 12:53 |
| Recieving Corrupted File over bluetooth using SPP | danishsk | Mobile Java General | 1 | 2007-04-16 21:00 |
| 求助关于SDK平台变化后系统头文件出错的问题 | cxg1103 | Symbian | 3 | 2007-03-07 04:36 |
| Printing character buffer contents in log file on symbian 3rd edition device. | Priya_m | General Symbian C++ | 0 | 2007-02-17 09:12 |