On Sat, May 1, 2010 at 4:28 PM, Lars Nielsen Lind <[email protected]
> wrote:

> Is it in anyway possible to write to, during runtime programmatically, the
> XML files placed in the /res directory - and if - how do we do that?
>

Nope. All /res/ content is read-only.


> Is it possible - programmatically - to create and delete the entries in the
> preferences - thereby omitting the XML file?
>

Sure. You have a PreferenceActivity, I presume? In onCreate() you should be
able to create and all the preferences your heart desires.

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to