waasilzamri / apps-for-android

Automatically exported from code.google.com/p/apps-for-android
Apache License 2.0
0 stars 0 forks source link

SHOW_RADAR should use geo URI. #22

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago

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

GoogleCodeExporter commented 9 years ago
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