×

Discussion Board

Results 1 to 7 of 7
  1. #1
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    104

    CSendUi cannot send JPEG on 3rd edition?

    Trying to send file with CSendUi on 3rd edition.... but no idea what went wrong... please help....

    I use the standard method of CSendUi and try to send a .jpg via bluetooth. But it returns "Unable to execute file for security reason (-46)". It can send on MMS. Is it related to capabilities?? The .jpg is just a JPEG I created myself with a Symbian program.

    Any idea??

    CMessageData* cmd = CMessageData::NewL();
    cmd->AppendAttachmentL (_L("c:\\data\\images\\abc.jpg"));

    sendui->ShowQueryAndSendL (cmd, TSendingCapabilities (0, 10000000, TSendingCapabilities::ESupportsAttachments ));

    It will show a sub menu with "MMS" and "Bluetooth" item. I choose MMS and it's normal and will show the MMS editor with the picture. But with I choose Bluetooth it shows:

    "Unable to execute file for security reason (-46)".

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,166

    Re: CSendUi cannot send JPEG on 3rd edition?

    have you checked the SDK docs for the required capabilities.

    yucca

  3. #3
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    104

    Re: CSendUi cannot send JPEG on 3rd edition?

    Oh Thanks~! It's the problem of capabilities (again)~ It works fine now.

  4. #4
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: CSendUi cannot send JPEG on 3rd edition?

    Can you post which capabilities are needed for Bluetooth, IR and MMS? It is hard to find out without actually trying them all.

    Thanks,
    Bernd

  5. #5
    Regular Contributor
    Join Date
    Jul 2004
    Posts
    104

    Re: CSendUi cannot send JPEG on 3rd edition?

    Should be LocalServices, took me a while to find out.

  6. #6
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: CSendUi cannot send JPEG on 3rd edition?

    Thanks. I added LocalServices and now the Bloototh connection starts but I always get the message that it was not possible to establish a connection. When I select MMS, I can see the file data in the MMS. So I'm sure that the selection of the file works fine. Any ideas what else might be wrong?

    The transfer works fine on the old S60 devices with the old SendAs mechanism.

    Best Regards,
    Bernd

  7. #7
    Regular Contributor
    Join Date
    Jan 2004
    Location
    Braunschweig, Germany
    Posts
    345

    Re: CSendUi cannot send JPEG on 3rd edition?

    I just found out that WriteUserData is required to send a file with BT. Without that the connection is established but then the file cannot be sent.

    Bernd

Similar Threads

  1. How to send SIP PUBLISH message in S60 3rd edition
    By murkyl in forum Symbian Networking & Messaging (Closed)
    Replies: 5
    Last Post: 2007-08-29, 10:29
  2. How to send SIP PUBLISH message in S60 3rd edition
    By murkyl in forum Symbian Networking & Messaging (Closed)
    Replies: 3
    Last Post: 2006-10-31, 15:00
  3. CSendUi cannot send JPEG on 3rd edition?
    By ppiggy in forum Symbian Signed Support, Application Packaging and Distribution and Security
    Replies: 0
    Last Post: 2006-03-30, 10:47
  4. TTime : TInt64& Int64() problem in S60 3rd edition
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 3
    Last Post: 2006-01-24, 13:07
  5. nokia 7210 modem via IR doesn't work !
    By oussamaaiadi in forum PC Suite API and PC Connectivity SDK
    Replies: 1
    Last Post: 2003-03-06, 10:46

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×