HTTP Request class for Android (version 2)

Hi Everyone,

After some people pointed out the problems they had with version 2 of this class, I took it all out.  Please go to: http://moazzam-khan.com/?p=490 for version 2.1

Comments

4 responses to “HTTP Request class for Android (version 2)”

  1. pandeshwar Avatar
    pandeshwar

    Hi,
    I am new to android and my task is related to posting data on the server,i have a string and a url now i need to post that Please can u help me

  2. Moazzam Avatar
    Moazzam

    Hi Pandeshwar,

    You can use the class I wrote in one of my posts to send the data. There are example on how to use it too.

  3. Tony Avatar
    Tony

    Lots of code in here that is not valid for android. For example, you never initiate the variable fis. Also, your for loops are not valid

    for (int i=0; i 0) { << error (android 1.5sdk)

    You also never initiate buffer

    This code is way broken for me. Anyone else?

  4. Stu Avatar

    WordPress seems to have munged some of the code (some of the generic stuff), is it possible to put the file up for download somewhere?

Leave a Reply

Your email address will not be published. Required fields are marked *