151 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
122
views
Converting two property values from byte to string in a result array in powershell
I see a lot of questions and answer regarding converting a byte array into string however my case is quite different and I cannot for the life of me find a way to do what I need.
I generate a result ...
0
votes
0
answers
77
views
How to extract portion of an xmltype column
This is a snapshot of the xml in question
XML Layout
The column I need lies between and , but this lies inside an xmltype column called Flexfiltervalue.
How do I write the sql to extract that value ...
0
votes
1
answer
144
views
How to store an sql result in a variable to be used [closed]
Good day all,
I am working on a java project, in netbeans.
I have a class called dbcon, which has a bunch of methods and a constructor that connects to a Mysql database.
One such method is a login ...
0
votes
0
answers
26
views
getString function inside a Service is returning the wrong string
In an Android app, a getString function running inside the onDestroy function of a service is returning the wrong string.
Code:
override fun onDestroy() {
if (Build.VERSION.SDK_INT >= Build....
0
votes
1
answer
801
views
Resources and getString() returns wrong translation of text
Inside my Fragment I fetch a string which returns French translation but I want it to return English translation. What I noticed so far:
binding.textView = resources.getString(R.string.displayText) // ...
-2
votes
4
answers
2k
views
Undefined symbols for architecture arm for
I am new to C++, and trying to use get_string, but I am not sure what I writing wrong that is creating an error.
The code I have is the following:
#include <stdio.h>
#include <cs50.h>
int ...
1
vote
1
answer
429
views
I am receiving the following error: expected identifier or '('
The error is referencing the following line of code:
tenant[i].name = get_string("Enter the residents name: ");
and has an arrow pointing at the period . between tenant[i] and name. I am ...
-3
votes
1
answer
586
views
how to fill array of strings using user input
I am trying to take string user input from the user using c code and then add it to array of strings so that I could have a variable its first component be a word so if the variable called X then X[1] ...
0
votes
1
answer
820
views
How do I store a String for later use in Kotlin?
I am trying to store the String from the Hours and Number for use in a new activity. I have found ways of doing it with intent but do not want the strings sent through to the next activity. Is there ...
1
vote
2
answers
104
views
Is there a way to use getString inside a util?
I succeeded in getString using getSystem.
But I want to know how to use local string.
If you know the answer to this problem, can you help me?
Thanks in advance for those of you who know the answer.
...
-1
votes
2
answers
161
views
intent.putExtra getting too long and not convenient
I am new using Kotlin and have implemented a recyvclerview list and now I'm using putExtra() and getStringExtra() intents to open in the same activities to avoid creating too many activities. So far ...
0
votes
1
answer
2k
views
Kotlin getString() exepects an Int? Why?
I'm going through https://developer.android.com/codelabs/basic-android-kotlin-training-project-lemonade. Here, while trying to make "else" do nothing, I've stumbled upon "Type mismatch&...
-1
votes
1
answer
1k
views
Android SharedPreferences check for empty or null
In my android application I am saving the last order did in Sharedpreference. When the user check for last order I am calling Sharedprefernce and showing it. That is working perfectly. But if nothing ...
0
votes
2
answers
131
views
The method 'getString' was called on null. Receiver: null Tried calling: getString("name")
I am having a error The method 'getString' was called on null.
Receiver: null
Tried calling: getString("name")
I already instantiated
firebaseFirestore = FirebaseFirestore.instance;
...
-2
votes
2
answers
317
views
cursor.getString can't equal with string variable [duplicate]
I intend to compare cursor.getString(1) == pName, but the code always does the comparison improperly. I was doing anything that came into my mind, but could not make it work. The code is like this :
...