Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
We are facing problem while getting gender through graph api. We are able to get gender few of account but few account not able to get the gender. We have provided the gender request but not able to understand the problem how to give permission to get the gender
From Now "gender" is removed from response.
See at Facebook Developer
As a result, the following fields that belonged to public_profile are
deprecated:
gender
age_range
context
cover
currency
devices
link
locale
timezone
updated_time
verified
Related
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 days ago.
Improve this question
I am doing post request and hitting the request in swagger but it is showing null in request body as well as in response body . Please enter image description hereassist me
Please refer images enter image description here
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 4 years ago.
Improve this question
I worked on how to input data into java derby database, but once I save my data into database and needs previewing my data always come up with null e.g nullFemale or nullMale. While I need only Female and Male to be displayed, how to solve this please........
enter image description here
My code is
my code
GENDER is null. Then you modify it using
GENDER += male.getText() + "";
So you concatenate null with the actual gender.
Just don't do that. Just use
GENDER = male.getText()
There is no reason to use concatenation. And GENDER shouldn't even be an instance variable. it should be a local variable.
Notes:
Post your code as text in the question. Blind people can't read your images. I can't copy-paste code from your images. People behind firewalls can't read your images. Next time, I'll simply vote to close your question, since it doesn't respect the rules.
Respect the Java naming conventions. ALL_CAPS is for constants (static final variables). Not for variables.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 5 years ago.
Improve this question
I have a some trouble about my own simple android project. I save data pair (key-value), and I dont want to save same data. ( for example: I save the data "Car"- "Blue" once. and then application can not permisson save again same the data.) I wrote already update method but I couldnt use for search & control data repetition. How can I solve ?
Make the combination of the two columns a Primary Key
You can also use if else block along with SELECT statement to validate inputs.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 6 years ago.
Improve this question
So there will be a text field that I disable using the textField.setEnabled(false) method. However later on in the code I want to enable this text field back again. textField.setEnabled(true) does not work at this moment.
How should I address this problem?
Try to create a Jtextfield like instance variables
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
Illegal character in query at index 127: http://192.168.1.7:8080/service-0.0.1-SNAPSHOT/report/genReport/generateReport?reportname=REPORT&doctype=PDF¶m={"StartDate":"20140604","EndDate":"20140630","Range":"10"}
can any one help me to get out of this error
You should urlencode the JSON
{"StartDate":"20140604","EndDate":"20140630","Range":"10"}
to
%7B%22StartDate%22%3A%2220140604%22%2C%22EndDate%22%3A%2220140630%22%2C%22Range%22%3A%2210%22%7D
The URL will then be
http://192.168.1.7:8080/service-0.0.1-SNAPSHOT/report/genReport/generateReport?reportname=REPORT&doctype=PDF¶m=%7B%22StartDate%22%3A%2220140604%22%2C%22EndDate%22%3A%2220140630%22%2C%22Range%22%3A%2210%22%7D
You are trying to send a JSON object via your Get Request.
You should try POST method.
For HTTP Client & Post Method, Check this link