Top "Resources" questions

Assets (like memory, disk space, CPU power or alike) necessary for effective operation or physical files (like images, configuration files or other) to provide some externalized enrichment to an application.

Android: How do I get string from resources using its name?

I would like to have 2 languages for the UI and separate string values for them in my resource file res\…

android string resources
Change app language programmatically in Android

Is it possible to change the language of an app programmatically while still using Android resources? If not, is it …

android localization resources
getResourceAsStream returns null

I'm loading a text file from within a package in a compiled JAR of my Java project. The relevant directory …

java file-io resources
Resource leak: 'in' is never closed

Why does Eclipse give me the warming "Resource leak: 'in' is never closed" in the following code? public void readShapeData() { …

java eclipse input resources memory-leaks
Reading a resource file from within jar

I would like to read a resource from within my jar like so: File file; file = new File(getClass().getResource("/…

java file jar resources embedded-resource
android.view.InflateException: Binary XML file line #12: Error inflating class <unknown>

I am receiving many errors of kind displayed in the subj. These errors seems to be occasional and I cannot …

android xml resources android-inflate
Android OnClickListener - identify a button

I have the activity: public class Mtest extends Activity { Button b1; Button b2; public void onCreate(Bundle savedInstanceState) { ... b1 = (Button) …

android events resources listener
How to get a path to a resource in a Java JAR file

I am trying to get a path to a Resource but I have had no luck. This works (both in …

java resources path
How to create and use resources in .NET

How do I create a resource that I can reference and use in various parts of my program easily? My …

c# visual-studio resources icons