Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User surmitt's Avatar
    Join Date
    Sep 2011
    Posts
    10
    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);
    CleanupClosePushL(outputFileStream);
    outputFileStream << aBodyData;
    CleanupStack::PopAndDestroy(2);

    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??..

    Thanks

  2. #2
    Nokia Developer Moderator wizard_hu_'s Avatar
    Join Date
    Feb 2006
    Location
    Mallorca, Holiday
    Posts
    27,683
    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 surmitt's Avatar
    Join Date
    Sep 2011
    Posts
    10
    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 Web Runtime
    Replies: 2
    Last Post: 2009-07-20, 21:30
  3. Saving data
    By poodk in forum Symbian C++
    Replies: 9
    Last Post: 2008-10-06, 16:55
  4. Data saving Problem
    By andy_watson00 in forum Symbian C++
    Replies: 3
    Last Post: 2007-02-12, 20:11
  5. Crashing App by saving data in RMS
    By mildagenius in forum Mobile Java General
    Replies: 2
    Last Post: 2003-12-11, 23: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
  •  
Nokia Developer aims to help you create apps and publish them so you can connect with users around the world.

京ICP备05048969号  © Copyright Nokia 2013 All rights reserved