tags:

views:

50

answers:

1

Hello,I am trying to import the code from this tutorial http://www.anddev.org/bbc_download.php?p=777&item=7

into my eclipse,the tutorial is oldand I have trouble importing the packages that it referes.

Are those packages deprecated? or I have to manually download and install them into my projects classhpath? if so can someone give me a link on where to find them? thanks in advances maxsap.

A: 

I see just postMethod has changed

use ::

import org.apache.http.client.methods.HttpPost;
Jorgesys
Hi Jorgesys, first I have posted a wrong URL the correct one is this:http://www.anddev.org/poor_mans_gps_-_celltowerid_-_location_area_code_-lookup-t257.htmlalso forgot to mention that I am using google api version 2.1The import statements (org.apache.commons.httpclient.*) doesnt work for me.thanks maxsap.
maxsap
you have to use now org.apache.http.client.methods.*
Jorgesys
I have imported rg.apache.http.client.methods.* with no luck, still the Http classes that are used in the example arent recognized.
maxsap