I am creating a Geocoder object, for example.
Geocoder geoCoder = new Geocoder(getBaseContext(), Locale.getDefault());
here i got this error in eclipse. i.e.
The method getBaseContext() is undefined for the type MyMapOverlay
getBaseContext () is the default method in the android.content.ContextWrapper class.
what is the problem here .. any idea ???
source share