Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7600515
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T22:55:43+00:00 2026-05-30T22:55:43+00:00

A decision to externalize some of the resources inside an Android app has been

  • 0

A decision to externalize some of the resources inside an Android app has been made, and it concerns some res/values arrays. They are along the lines of:

    <string-array name="idd0">
    <item>"000"</item>
    <item>"007"</item>
    <item>"005"</item>
</string-array>

<!-- 222 countries -->
<array name="idd">

    <item>"00"</item>
    <item>"00"</item>
    <item>@array/idd0</item>
    </array>

    etc

These xml files will be now fetched over the internet, so I am now trying to avoid reinventing the wheel and do the complex parsing on my own, but rather reuse the Resources class of the platform. I figured that an easy way to do this would be to save these xml files to the resource folder of the app and somehow dynamically obtain a resource Id to work with. Is this doable ? How else could I approach this ?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T22:55:45+00:00Added an answer on May 30, 2026 at 10:55 pm

    No, resources are fixed at compile time and your resources folder of your app is a read only part of your APK. There might be a way to create a new resource object and populate it, but even if it were possible, it’d be complicated (probably have to mess with class loaders), slow (reflection) and more work than it’s worth. There are plenty of XML parsing libraries out there, including ones built into Android. I’d recommend you research those to get you started.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

my team has made the decision recently to use Moq as our mocking framework
I heard that decision tables in relational database have been researched a lot in
I learned some time ago about Decision Trees and Decision tables. I feel that
i need some decision help today :-) interface A) an input field where the
I am trying to make decision how to design my app. I have about
I have made the decision to use monotouch to develop an application that browses
So matz made the decision to keep upcase and downcase limited to /[A-Z]/i in
it's a decision question. We are building a vocabulary app. There's a timer and
Recently I made the decision to port my existing asmx services to WCF. I
i have big decision tree with many Yes/No questions. i need implement some code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.