0

I want to overwrite an XML File that is stored in Project's Resource folder.

How would I do that?

Bo Persson
  • 90,663
  • 31
  • 146
  • 203
Parag Chauhan
  • 35,760
  • 13
  • 86
  • 95
  • 1
    this should help you http://stackoverflow.com/questions/877428/better-approach-for-xml-creation-in-blackberry – amukhachov Aug 12 '11 at 07:26
  • 1
    Good link user705635, lots of useful information there. But to answer the original question, a resource is bundled in the COD file so I believe it is imutable. – Richard Aug 12 '11 at 12:40

1 Answers1

1

There is no way to change the file contents inside of your application cod file.

On the first run your application can create an external xml file using stored xml information stored in cod file. And after that change it when necessary.

  • Thanks Rafael But I want to Overwrite XML that already keep in resource folder .In my app xml keep in resource folder & when app start it check for updated xml if that xml updated than overwrite xml in resource folder – Parag Chauhan Aug 16 '11 at 13:08