Hi All,
I have developed an application to get the coordinates from the GPS.
I am getting the coordinates in an interval of 3 minutes using timer.
I am not seting the
provider.setLocationListener(this, -1, 0, 0);
while start of the GPS and also not doing
provider.setLocationListener(null, -1, 0, 0);
while stopping the GPS.
And it's working fine for the first time.
But after stopping the GPS when I am again going to start the GPS then I am getting the
java.lang.InterruptedException
at com.sun.kvem.location.GPSLocationProvider.getLocationImpl
at com.sun.kvem.location.LocationProviderImpl.getLocationNoCheck
at com.sun.kvem.location.LocationProviderImpl.getLocation
So please guide me how to resolve this issue...
Thanks & Regards,
Ajit

Reply With Quote

