Skip to content Skip to sidebar Skip to footer

How To Update Arrays In Res/values/array.xml By Code?

I can use Resources res=this.getResources(); arr1=res.getStringArray(R.array.one); to get the array and changed some of its values, Then how can I save the new values b

Solution 1:

You cannot "save the new values". Resources are read-only at runtime.


Post a Comment for "How To Update Arrays In Res/values/array.xml By Code?"