strife's devLog

android-wallpaperAndroid: How to Send Request (POST) to the Server (Full Application)


Like I said before I am new to Android and I don’t hide it but I’ve started to like it so far. And now I’d like to show you an application which enables sending data to the servers remotely. Before I give you the code, just look at the screens how it looks.

But if you don’t care how it works just download the application from here:

It should be compatibile with 2.3.3 API.


Here you can easly send your data to server, just like that. But first of all you have to change settings by clicking on proper link.


That how looks settings page

View after clicking on the button

How it works?

There is too many files to show, for that reason I decided to explain only few features.

How to make a progress bar?

It’s simple, in your Activity class you’ve got to create a class which will extends of AsyncTask it should look like that:

And then if you’ve got already that construction you can simply run it. In my example it looks:

As you see I execute this class using .execute method.

PHP Script which saves data

Note: File android.txt has to have proper chmod (777).

How to manage pages?

The feature which will be able to do that you can find in Manifest file. I’ve noticed it is a very important file, something similar to file which defines how to run application, I guess. In my case I wanted to get some pages (Main and Help/Configuration). So then my Manifest file looks:

What exactly I mean by “Pages”, you can find out by clicking link below:


16 ResponsesLeave one →

  1. Rolandas

     /  June 18, 2013

    Applicattion for Source code not work. Eclipse write : “Corresponding method handler ‘public void HelpActivity(android.view.View)’ not found” . So HelpActivity in source code not found :((( Please help me…

  2. Licryle

     /  November 8, 2015

    Hey there,

    Since I’ve been looking all over the web for an up to date (HttpClient & HttpPost are deprecated), I’ve ended up coding my own small library! Hoepfully that can help someone:


  3. In my opinion, if all web owners and bloggers
    made excellent content material as you did, the net can be much more useful than ever before.

  4. Greetings from Florida! I’m bored to tears at work so I decided to check out your blog on my iphone during lunch
    break. I love the knowledge you present here and can’t
    wait to take a look when I get home.

  5. I must say you’ve done a fantastic job with this.

  6. I am really enjoying thedesign of your weblog. I have read some good stuff here.

  7. Wow! Finally I got a weblog from where I be able to really get helpful data concerning my study and knowledge.

  8. Hello admin, i must say you have hi quality posts here.
    Your website should go viral. You need initial
    traffic only. How to get it? Search for: Mertiso’s tips go viral

  9. WilliamNaf

     /  January 27, 2020

    Siemano, może ktoś polecić kolagen z tołpygi?Potrzebuję takiego do smarowania na ciało, ze względów sportowych.

  10. Njgrckxwic

     /  June 23, 2021

Leave a Reply to บาคาร่าออนไลน์