0

Alright, i had enough. I have seen more than 50 question and answers about JSON and i still cant understand. Please solve this for me with all the codes, without any errors please.

Lets say i have a php script with a variable "$tablename" and another variable "$feedback". According to the above variables tell me how to use JSON in my android app, to put string data to "tablename" and get the string data "feedback" from php. Make the codes understandable and please don't make any errors.!

1
  • check this link The Question is my problem. please solve :( Commented Apr 16, 2014 at 11:33

1 Answer 1

1

Duplicated: How to send a JSON object over Request with Android?

Consider using Gson to parse the request and the response: http://kylewbanks.com/blog/Tutorial-Android-Parsing-JSON-with-GSON

Sign up to request clarification or add additional context in comments.

6 Comments

I got an idea how to do it. But its not working for me when i test it. Please Show me a detailed code from scratch how to do this. really confusing. Don't be lazy please! Its a favor!
Please, post your code to review what is going wrong
This is what i want link
i tested the answer given in that link! But still there is problem!
First of all, the script you are talking contains SQLInjection (fix it). In the other side, have you test that the Post is working correctly outside the Android App? Post your code, or we cannot help you
|

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.