Creating a simple android app with php json backend
I want to create an android app which reads a simple text file on a server. A php script should read the file encode it in JSON so that the android app can decode the JSON and write what is in the text file on the app. The php side isn't hard but how do i read the JSON correctly using the proper threading probably with async task or worker thread for the network connection. A simple illustration of the android code will help put me on the right path. 
Creating a simple android app with php json backend
===

I want to create an android app which reads a simple text file on a server. A php script should read the file encode it in JSON so that the android app can decode the JSON and write what is in the text file on the app. The php side isn't hard but how do i read the JSON correctly using the proper threading probably with async task or worker thread for the network connection. A simple illustration of the android code will help put me on the right path. 