resources Questions

3

Solved

I would like to know if i can, somehow, create a drawable resource (png for example) called 787.png. Because Eclipse wont let me compile the project unless i modify it. Thanks in advance.
Player asked 17/8, 2011 at 17:23

17

Solved

I'm new to moodle environment and I'm having this error: Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated b...
Lanilaniard asked 22/1, 2015 at 14:5

5

Microsoft Visual C++ Express does not include the built-in resource editor that comes with the professional versions. Are there any good, free, alternatives out there that let you visually edit tho...
Heavyset asked 19/12, 2008 at 19:15

5

Solved

I want to open a file from the folder res/raw/. I am absolutely sure that the file exists. To open the file I have tried File ddd = new File("res/raw/example.png"); The command ddd.exists(); ...
Charactery asked 9/4, 2013 at 21:24

3

Solved

I have a project in android. I want to test it in junit. In the resources, insinide strings.xml I have a string array called labels_array. How can I access (get) this string array from a test metho...
Honorine asked 21/10, 2019 at 19:41

5

Solved

I try all this day to resolve this error. I don't understand why my logcat prints: 05-06 21:45:59.559: ERROR/ConversationList(9023): We have chats... 05-06 21:45:59.609: ERROR/ConversationList(902...
Twentyfour asked 6/5, 2011 at 20:5

1

I created an empty project and added an RC file to the project via the Project Manager. This will add the following line in my DPR file: {$R 'VersionInfo.res' 'VersionInfo.rc'} The project compil...
Skiagraph asked 4/4, 2024 at 12:22

11

Solved

I use latest Android Studio 0.8.4 (for OS X), in "res" directory I create new "database" directory and put there all files what I need and when I try to compile I receive this error. Error:Content...
Ophicleide asked 5/8, 2014 at 18:8

35

Solved

After recently upgrading my android studio, I am not able to build my project anymore. Every time I execute a build, I am struck with the following error: error: resource drawable/splash_screen (...
Glooming asked 22/4, 2018 at 11:53

5

While I am trying to do hibernate configuration I put hibernate dtd in hibernate.cfg.xml file and it is showing an error that downloading from external resources is disabled. Can you please help me...

36

Solved

Is it possible to change the language of an app programmatically while still using Android resources? If not, is it possible to request a resource in an specific language? I would like to let the...
Cribriform asked 24/5, 2010 at 20:17

4

Solved

Reading about Java 9's Cleaner class, I found this example in the same page: public class CleaningExample implements AutoCloseable { // A cleaner, preferably one shared within a library private ...
Ingenuous asked 27/3, 2018 at 10:15

2

Solved

I am trying to embed a PNG graphic into a DLL and load it into an Image control as a BitmapImage. However, WPF keeps throwing an exception saying that the resource cannot be found. First, some min...
Hangup asked 9/1, 2014 at 14:17

1

For convenience, I have had to move my README file (in this case README.htm) to my own directory and symlink it from .github folder as README.md in order it's recognized by Github. Well, even thoug...
Hortenciahortensa asked 10/2, 2024 at 13:59

18

Solved

I am trying to get a path to a Resource but I have had no luck. This works (both in IDE and with the JAR) but this way I can't get a path to a file, only the file contents: ClassLoader classLoa...
Rriocard asked 2/6, 2009 at 20:32

5

Solved

I am using Docker to run some containerized apps. I am interested in measuring how much resources they consume (as far as regarding CPU and Memory usage). Is there any way to measure the resources...
Cythera asked 23/9, 2013 at 9:38

3

Solved

I have a WPF window and am using the MVVM pattern. I set the view model as a resource for the window as follows... <Window ...other stuff removed for clarity... xmlns:mvvm="clr-namespace:Visi...
Chandler asked 13/4, 2011 at 15:28

28

Solved

I'm loading a text file from within a package in a compiled JAR of my Java project. The relevant directory structure is as follows: /src/initialization/Lifepaths.txt My code loads a file by call...
Straightjacket asked 15/5, 2013 at 16:37

18

Solved

I am looking for a way to get a list of all resource names from a given classpath directory, something like a method List<String> getResourceNames (String directoryName). For example, given ...
Epigoni asked 13/10, 2010 at 11:29

2

logging my app my Logcat says: WARN: ... has unresolved theme attributes! Consider using Resources.getDrawable(int, Theme) or Context.getDrawable(int). the code which produces the warning: if (...
Moultrie asked 8/3, 2015 at 21:49

15

Solved

I need to pass a resource ID to a method in one of my classes. It needs to use both the id that the reference points to and also it needs the string. How should I best achieve this? For example: ...
Kessiah asked 13/12, 2010 at 9:55

4

Solved

In android I'm using WebView to display a part of a webpage which I fetched from the internet using HttpClient from Apache. To only have the part I want from the html, I use Jsoup. String htmlStrin...
Intended asked 28/9, 2011 at 14:56

5

Solved

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure resource ''. This request has been blocked; the content must be served over HTTPS.
Lull asked 30/5, 2021 at 19:50

6

Solved

I am building a RESTful protocol for Dynamic Carpooling applications, for my Computer Science thesis. In the Protocol I also have to formally specify the HTTP status code for each operation. I've...
Stackhouse asked 23/8, 2010 at 12:24

6

Solved

Is it possible to wrap a whole Stylesheet in a string and apply it to a certain node? Usage case would be to add specific (non changeble) behavior for PseudoClass. I know I can use pane.getStyleshe...
Formulaic asked 11/7, 2014 at 18:48

© 2022 - 2025 — McMap. All rights reserved.