I am working on a PHP program that will check your email with the server, and if true, then change the time field to what is in the time text box. I have one program that works, but when I run it with JSON in my Android app, it gives me an html error. I am not sure how to have this one work with JSON.
I'd like to know how to add an AsyncTask (successfully) to the following code. I've already implemented the AsyncTask (to the best of my knowledge - using info I've found on the net) however it keeps crashing and I'm not sure exactly why...
I have one page timeline like Facebook (there are EditText and Button), it has 2 async task. The first one is used to send parameter to remote server, the second one to load data json from URL. Actually first time, programm will load JSON on the listview with async, then if I wanna update status after click Button then it will insert to table on the remote server. Both of them are successfully.
Im trying to write a login service in the android by sending JSON to the web service i have in PHP after its processed in the web service JSON is returned back. My problem is sending JSON and then reading JSON in the android app.