Discussion Board
-
sending file over IR
2004-10-07, 10:23
#1
Regular Contributor
hi there,
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
need help...
thanks in advance,
Rx-lee
Last edited by Rx-lee; 2004-10-07 at 10:27.
-
Nokia Developer Expert
have you checked CSendAppUi already ?
yucca
-
Regular Contributor
hi yucca,
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?
thx
Rx-lee
-
Super Contributor
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->DisplaySendCascadeMenuL(*aMenuPane);
}
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...:-)
-
Regular Contributor
hi,
thx sopta...
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
Rx-lee
-
Super Contributor
Actually, the stuff I have in my mind will do all sending that is possible from the phone. It is based on MTM stuff.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules