Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track is not displayed when launched by other app #424

Open
GoogleCodeExporter opened this issue Feb 6, 2016 · 0 comments
Open

Track is not displayed when launched by other app #424

GoogleCodeExporter opened this issue Feb 6, 2016 · 0 comments

Comments

@GoogleCodeExporter
Copy link

For my car-tracking app i was using MyTracks for geo-related things. Now after 
G. has effectively closed sourced this app, i decided to migrate to Open GPS 
Tracker (i even tried integrating before, but now i was obviously more 
motivated). So far all went smooth, except for one thing:

When launching Open GPS Tracker map is displayed with my selected track in the 
title, but there's no actual path dipslayed, i.e. map remains empty.

The code i'm using is roughly this (borrowed mostly from MetaTracker):

    Intent intent = new Intent();
    intent.setData(
        Uri.withAppendedPath(
            Uri.parse("content://nl.sogeti.android.gpstracker/tracks/"),
            Long.toString(trackId)
        )
    );
    intent.setClassName(
        "nl.sogeti.android.gpstracker",
        "nl.sogeti.android.gpstracker.viewer.LoggerMap");
    startActivity(intent);

(Full source: 
https://code.google.com/p/wheelly/source/browse/WheellyApp/src/com/wheelly/app/T
rackInput.java?name=features%2F20140620-Multivehicle#138)

Why the path isn't displayed?

(Another side-question: how is it possible that activity specified in intent 
doesn't actually exist in application? Is it because market version is behind 
latest sources?)

Original issue reported on code.google.com by [email protected] on 6 Nov 2014 at 12:00

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant