I'm new to location based programming. Basically, I need to get the location of the phone. but it doesn't have to be very accurate. Knowing which city the user in, is quit enough. or up to 5 KM in diameter accuracy.
Is there is a way for the phone to know this, assuming the phone is NOT equipped with a GPS? or Is there at least away for the phone to know (through Java/C++ API) the Cell id, and of course if I could get the longitude/latitude (even approximation) that will be awesome!