I'm currently using a Samsung Galaxy Tab P1000, and I'm stuck in a problem that I don't know for sure if happens in all smartphones. When synchronizing the GPS, everytime I get the location.getTime(); it returns the actual date plus 1 day. Am I doing something wrong or is this a bug?
Here is the code:
@Override
public void onLocationChanged(Location location) {
setRealTime(location.getTime());
...
data = new Date();
data.setTime(getRealTime());
}
And then for example, it today is 15:31 01/16 it shows 15:31 01/17
The Problem is exclusively in the Samsung Galaxy Tab P1000...
any ideas?