Monthly Archives: March 2010

Android Series: GET, POST and Multipart POST requests

Today I will describe shortly how to execute http GET and POST request on Android platform. The code is very simple and straightforward, for post request with attachement, you would have to add apache-mime4j-0.6.jar and httpmime-4.0.1.jar to your build path. HTTP GET try {         HttpClient client = new DefaultHttpClient();     […]

Read More →

Android Series: Using GPS data

In this tutorial i will show you how to quickly get the gps data using your android device version 1.6+. All you have to do is to implement one interface and acquire LocationMangager from the adnroid system service. public class LocationExampleAct extends Activity implements LocationListener{     private double latitude;     private double longitude; […]

Read More →