Discussion Board

Results 1 to 4 of 4
  1. #1
    Registered User
    Join Date
    Aug 2006

    Question send text file to message

    hi all symbian developer....
    i have a problem about how to send text file to message......
    ex: i have a text file (A1.txt) and in the i use "Send->via text message"
    and all the contain in A1 show in write message..
    , do you know the code to deal with my question...? i really hairless about that... please help me!!!!

  2. #2
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: send text file to message

    You could you RFile ro read the file into a buffer, then you could use CSendAppUI to send it as a SMS (you would set the text as a body).


  3. #3
    Registered User
    Join Date
    Aug 2006

    Question Re: send text file to message

    thank Symbianyucca for your reply....but CSendAppUI can send as only ASCII . i want to send UNICODE, but i dont want to use mtm. i want to load a file into the buffer and send it to Original Text Message and then use Original message to send. i try to use CreateAndSendMessageL but it request (WriteDeviceData ReadDeviceData) but i want to use selfsign. Do you have any idea?.

    i try to use
    void CFindItemTestAppContainer::SendKey1()
    const TUid KPhoneUidWmlBrowser1 = { 0x100058C5}; //message id
    TUid id1( KPhoneUidWmlBrowser1 );
    TApaTaskList taskList1( CEikonEnv::Static()->WsSession() );
    TApaTask task1 = taskList1.FindApp( id1 );

    TKeyEvent keyEvent;
    keyEvent.iCode = 1E00;
    keyEvent.iModifiers = 0;
    keyEvent.iRepeats = 0;

    in s60 v6,7,8 work perfect but in v9 nothing happen....
    and i try to use WsEvent and still the same...
    please help me....

  4. #4
    Nokia Developer Champion
    Join Date
    Oct 2006
    Bangalore, India

    Re: send text file to message

    you require the capability and cannot simply self sign this kind of application !
    Amit Kankani
    Nokia Developer Champion

Similar Threads

  1. Possible to send file via SMS?
    By ivanxqz in forum General Messaging
    Replies: 4
    Last Post: 2009-12-13, 22:28
  2. read string from text file problem
    By sim.sim in forum Symbian
    Replies: 9
    Last Post: 2006-05-24, 07:41
  3. 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
  4. problem with 8310 to send a Service loading push message
    By Nokia_Archive in forum General Messaging
    Replies: 2
    Last Post: 2002-10-10, 08:38
  5. reading text file from a jar file -> file not found!
    By iecomdev in forum Mobile Java General
    Replies: 1
    Last Post: 2002-09-30, 12:27

Posting Permissions

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