sending file over IR
does anyone ever tried to send a file over IR. i mean send it from the apps.
let say the path of the file is already defined c:\folder\file.abc
thanks in advance,
Last edited by Rx-lee; 2004-10-07 at 11:27.
Nokia Developer Expert
have you checked CSendAppUi already ?
is CSendAppUi can be used to send a file over Ir? i read that and looks like it is used for sending message.
dont we have to use socket or somthin like that?
Actually, it is quite easy... Look a little bit at these methods (especially at TSendingCapabilities)
iSendUI->DisplaySendMenuItemL(*aMenuPane, iFirstCommandID, TSendingCapabilities (0, 100000, 0));
if ( aResourceId == R_SENDUI_MENU )
iSendUI->CreateAndSendMessageL(aCommand, NULL, arrayOfFiles);
With some tampering you can put "Send as" item to your menu and it will automatically pop-up sending dialogs, etc...
If you give me a week I'm about to write a short example how to use this stuff...:-)
bout the example u are goin to make, i think its not necessary coz i've change the implementation by sending it using bluetooth.
but its still okay if u still want to post ur codes, coz maybe anyone will need it someday.
thanks a lot
Actually, the stuff I have in my mind will do all sending that is possible from the phone. It is based on MTM stuff.