By Goran Siric on 11/30/2011 9:14 AM

Here you will find instructions how to:

- connect to your local web server (localhost) from Android application.
- request web page using http GET method 
- send data to a web page using QueryString parameters
- request web page and send data to it using http POST method 

Search Blog

If you found this useful,
you can buy me a coffe :)
By me a coffe through PayPal :)

Featured articles

Android "DataEntry ListView" Design Pattern

Have you realized the importance of ListView control in developing android applications ?

GIMP script for creating Android icons at once

Script for creating Android icons for different screen resolutions at once. Icons can be saved using standard Android icons naming conventions and saved in appropriate folders.

Creating Android button with image and text using relative layout

Source code with examples how to use relative layout to create nice buttons with text and images in Android

Android application and the Internet

Tutorial about connecting to the web pages on the Internet from Android application, using both POST and GET web requests.

Recent Entries

Comments about Parking SMS Scheduler
Comments about cities and parking zones
Android "DataEntry ListView" Design Pattern
Android application and the Internet
Keep my DNN site alive
Android default icons

Recent Comments

Re: Creating Android button with image and text using relative layout
Hi sudhakar,
can you explain a little bit more what exactly you need.
Re: Creating Android button with image and text using relative layout
Hi, nice example i had one doubt, how to show image in a button with text show in a same button , can u help me i am fresher in android ,
and i need 8 image button in home how it done .
Re: GIMP script for creating Android icons at once
Wow, thanks! I tried to hack your original script to add it in there but I don't know anything about script-fu and it ended up horribly.
Just a couple of notes: the ouya name and location matters so I changed it to:

(set! newName (string-append folder "/drawable-xhdpi/ouya_icon.png"))
(set! rawName "ouya_icon.png")
and this for banner (the name here is just a personal preference)
(set! newName (string-append folder "/drawable-xhdpi/banner.png"))
(set! rawName "banner.png")
Thanks again!
Re: GIMP script for creating Android icons at once
Dear Wildy,ouya and banner icons are completly different icons then standard android icons, and many of standard options don't apply to them, so I decided to write new script for you:

www.izvornikod.com/download/script-fu-save-ouya-and-tv-banner-icons.rar

Installation procedure is the same as for the first script.
Re: GIMP script for creating Android icons at once
ouya_icon and banner both are 1.777777777777778 aspect ratio. I usually start with a 720p or 1080p bitmap maybe it would be possible to check for the correct aspect ratio before offering that option? Or before converting the bitmaps?
Thanks for the other fix though, it'll also save me a bit of manual renaming.