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. WeView encoding problem in SDK 1.5

hi !!
  i'm try to change Apidemo WebView1.java to :

  final String mimeType = "text/html";
  final String encoding = "utf-8";
  WebView wv;

  wv = (WebView) findViewById(R.id.wv1);
  wv.loadData("<a href='x'></a>", mimeType, encoding);

But "" can't show .....

how can i setup encoding or need add other html code to content?

 Regards

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

2. Changing the content of a Tab at runtime

My company asked me to develop an Android application that mantains
as much as possible the look&feel of our existing iPhone application.
At the bottom of the screen I have 4 tabs reflecting different tasks.
For example one of those shows the list of the most popular products
(which I implemented in a ListView).

And now my problem: when the user selects one of those products I have
to show its details, but at the same time the 4 tabs have still to be
visible on the bottom of the screen.
Anyone has an idea on how to do it?

Can I change the content of the tab at runtime?
Or can I start a new activity that leaves the original tabs visible
and selectables?

Thanks in advance for the help.

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

3. Android, Google Accounts, and Google App Engine

4. Could I remove android LOGO when the system boot up ?

5. Urgent! can't update apps in market. No error message

6. How can i count number of files in a directory?

7. setContentView and destroying Events (handled automatically?)