×

Discussion Board

Results 1 to 6 of 6
  1. #1
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    130

    sending file over IR

    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.

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166
    have you checked CSendAppUi already ?

    yucca

  3. #3
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    130
    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

  4. #4
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    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...:-)

  5. #5
    Regular Contributor
    Join Date
    Feb 2004
    Posts
    130
    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

  6. #6
    Super Contributor
    Join Date
    Apr 2003
    Location
    Czech Republic
    Posts
    915
    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
  •  
×