URGENT JSONParser error

  • Replies:1
Yo Myung Yoon
  • 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
James Watson
  • Forum posts: 1,584

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.

Download size < 0.15 MB. But also accurate enough, ad-free & free.
The minimalist app available on Play Store: https://goo.gl/ws42fN
Blog: https://okblackcafe.blogspot.com Your 5-star is appreciated.

Reply