URGENT JSONParser error

  • Replies:1
  • OpenNot stickiedUnanswered
  • Forum posts: 2

Feb 20, 2017, 2:33:09 AM via Website

Hi i am new in developing an android application. I found this code on the internet that connects an android app to a database and i implemented it in a project. however the app returns an error

this is the error log
image

This is the php code
image
image

this is the JSONParser.java
image
image

Can somebody please help me i need to pass this for my class soon

Reply
  • Forum posts: 1,117

Feb 20, 2017, 10:28:10 AM via Website

Your json string contained a html tags and/or lines and so on. It couldn't be parsed.

Try to remove all echo statements or relative statements in your backend file. It maybe will work.

What a minimalist app on Google Play - https://goo.gl/ws42fN
Download size < 0.07 MB. Blog - https://okblackcafe.blogspot.com

Reply