Connecting PHP Server and Android?

Posted by user3439988 on Stack Overflow See other posts from Stack Overflow or by user3439988
Published on 2014-08-25T10:01:16Z Indexed on 2014/08/25 10:20 UTC
Read the original article Hit count: 160

Filed under:
|
|
|

I am trying to create a simple test application to transfer data back and forth between my server and Android device.

The following are the things I aim for:

  1. Ability to upload data and files to the server.

  2. To be able to view my files on the server.

  3. To be able to download the files from the server to my android device.

  4. Ability of the server to send me updates on the files or notifications to my phone.

I need a safe and secure way to do these things.

I have tried these:

  1. HTTPPost requests onto the server and echoing the output accordingly and capturing the HTTPresponse and parsing it.

  2. For files I have tried using MultipartEntity, but I think that has been deprecated.

© Stack Overflow or respective owner

Related posts about php

Related posts about android