Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Sep 2011

    XML data saving problem

    Hi there,

    If reverse GeoCode API is used, then one of the outputs is in XML format and when I m saving that data in a file using following code:

    RFileWriteStream outputFileStream(file);
    outputFileStream << aBodyData;

    the data is not getting saved properly..Some wierd characters like }Á are getting added in the beginning itself and hence my XML file is not proper..

    Can somebody guide how to resolve that??..


  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Oslo, Norway

    Re: XML data saving problem

    That is the length and type field of the descriptor (aBodyData).
    If you do not want to save the object, only the content, use RWriteStream::WriteL.
    If aBodyData is a 8-bit descriptor you could simply use RFile::Write.

  3. #3
    Registered User
    Join Date
    Sep 2011

    Re: XML data saving problem

    Thanks wizard..that solved the problem!!..

Similar Threads

  1. Saving of data
    By zhenhan82 in forum [Archived] Flash Lite on Nokia Devices
    Replies: 6
    Last Post: 2010-04-13, 06:25
  2. Saving data to device
    By sim0nha in forum Symbian
    Replies: 2
    Last Post: 2009-07-20, 21:30
  3. Saving data
    By poodk in forum Symbian
    Replies: 9
    Last Post: 2008-10-06, 16:55
  4. Data saving Problem
    By andy_watson00 in forum Symbian
    Replies: 3
    Last Post: 2007-02-12, 21:11
  5. Crashing App by saving data in RMS
    By mildagenius in forum Mobile Java General
    Replies: 2
    Last Post: 2003-12-12, 00:17

Posting Permissions

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