DDMS + GPX track: Bug in time?

by Ludwig » Sat, 20 Sep 2008 01:26:51 GMT


Sponsored Links
 I am using DDMS to play a GPX file. The lat/long data arrives fine in
my application, but not the time.

I notice two things: first of all the time displayed in DDMS for the
start/end times of the GPX track is wrong, out by one month.

The first point in my track is in the GPX file like this:
 <trkpt lat="22.5774600" lon="-83.9237000">
        <ele>63.0000000</ele>
        <time>2008-04-07T14:15:27Z</time>
      </trkpt>

This was in April 2008, but DDMS displays May. I assume they count
months from 0, so 04 is May. I am not quite sure what the GPX
specification is but I think DDMS is wrong.

The second observation is that the time arriving in the location data
is the current time, not the time in the GPX file. This is probably
'right' in the sense that it is supposed to emulate real-time GPS
data, so I do not want to quibble with this, but it would be nice to
be able to use the time as it was in the GPX file (for testing
purposes it is easier to have a fixed time in the data).

Ludwig

--~--~---------~--~----~------------~-------~--~----~



Other Threads

1. android.telephony

I understand that android.telephony.PhoneStateIntentReceiver has been
retired.

How can I get the 3 neighbor's cell id and signal strength?

Thanks!

run99ner_ff

--~--~---------~--~----~------------~-------~--~----~

2. Dialog Survival Over Configuration Change



Why do you say that? Opening or closing the keyboard counts as a
configuration change, so it's something that can happen at any time.


Unless you take measures to avoid it, a configuration change will
cause your activity to be destroyed and recreated with the new
configuration. It goes through the normal activity lifecycle when
doing this, so to the current activity is paused, stopped and
destroyed, and the new activity is created, started and resumed.

--~--~---------~--~----~------------~-------~--~----~

3. What is wrong with this layout

4. Looking for a way to build resolution independent layout xml?

5. citys in india

6. How to mount the microSD disk programmatically?

7. Error happened when I run make