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

SHOW_RADAR should use geo URI. #22

Open
GoogleCodeExporter opened this issue May 17, 2015 · 4 comments
Open

SHOW_RADAR should use geo URI. #22

GoogleCodeExporter opened this issue May 17, 2015 · 4 comments

Comments

@GoogleCodeExporter
Copy link

Radar introduces the new
intent: http://www.openintents.org/en/node/46
Intent i = new Intent("com.google.android.radar.SHOW_RADAR");
i.putExtra("latitude", 37.422f);
i.putExtra("longitude", -122.084f);
startActivity(i);

Wouldn't it make more sense to use the geo: URI scheme here instead of
using
extras?http://www.openintents.org/en/node/62http://code.google.com/android/refer
ence/available-intents.html

Then the same content URI could be either used with VIEW to show a
map, or SHOW_RADAR to show the radar... (or even rename the action to
VIEW_RADAR to allow for various VIEW modes on geo data...?)

What do you think?

Friedger (question posted by Peli at
http://groups.google.com/group/android-developers/browse_frm/thread/78850bd5816a
2b40#)

www.openintents.org

Original issue reported on code.google.com by friedger@gmail.com on 29 Sep 2008 at 10:58

@GoogleCodeExporter
Copy link
Author

Original comment by nuj...@gmail.com on 30 Sep 2008 at 7:29

@GoogleCodeExporter
Copy link
Author

Original comment by morri...@gmail.com on 13 Nov 2008 at 10:18

  • Added labels: Application-Radar

@GoogleCodeExporter
Copy link
Author

Original comment by morri...@gmail.com on 13 Nov 2008 at 10:21

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Yea, yea! But I'm much more noob than that... how do I invoke the code above? I 
have sdk....

Do I save it as an apk and then run adb? That's how rudimentary I am...

Original comment by undefine...@gmail.com on 20 Nov 2008 at 5:29

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