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.
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(); ...
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...
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...
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 (...
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...
Zitella asked 8/10, 2023 at 2:32
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...
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...
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...
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 ...
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 (...
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
1 Next >
© 2022 - 2025 — McMap. All rights reserved.