×

Discussion Board

Results 1 to 4 of 4
  1. #1
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Singapore
    Posts
    89

    How to send my image file?

    Hi, everyone,
    I tried to modify the MMSExample, which I downloaded from forum Nokia. My intension is to send an existing image inside the images folder of my Nokia 7650. In my code, I just replaced

    TFileName attachmentFile( _L ("c:\\system\\apps\\MMSExample\\mmsexample.jpg") );
    iMmsMtm->CreateAttachment2L( attachmentID, attachmentFile );

    with

    TFileName attachmentFile( _L("C:\Nokia\\images\\myImage.jpg") );
    iMmsMtm->CreateAttachment2L( attachmentID, attachmentFile );

    However, it doesn't work at all. The application installed to the Nokia 7650 still sends out the original 'mmsexamle.jpg'. Why? And how could I send out my own image files inside the phone?

    Thanks a lot.

  2. #2
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Singapore
    Posts
    89

    system error

    Hi,
    I installed the application again to the Nokia 7650. This time when I select to send, it shows 'system error 28'. I think it maybe because I didn't give the correct directory?
    By the way, how could I locate an existing image file inside the phone?
    In the Nokia 7650 main main, there is an icon 'Image', and what's its directory within the phone? How could I insert an existing image from it into the MMS message?

    Thanks.

  3. #3
    Registered User
    Join Date
    Feb 2004
    Posts
    3
    May be the reason is very simple.
    Look at your path carefully:

    _L("C:\Nokia\\images\\myImage.jpg")
    ^^

    After "c:" you have one slash instead of two.

  4. #4
    Regular Contributor
    Join Date
    Jun 2003
    Location
    Singapore
    Posts
    89

    Thank you. But...

    Ya, it works. Really thank you a lot.
    But I wonder why the image not appear on phone screen before being sent?
    How to code to make the image be displayed on screen?
    Thanks.

Posting Permissions

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