[android-developers] Re: Maps API and legacy

2010-09-29 Thread arnouf
I found a solution calling Intent. Is it legal ?
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http://
maps.google.com/maps?
f=dhl=ensaddr=43.593051,43.593051daddr=43.593052,7.004667ie=UTF80om=0));


On Sep 29, 5:27 pm, arnouf arnaud.far...@gmail.com wrote:
 Hi all,

 I found this post

 This 
 postinghttp://stackoverflow.com/questions/2023669/j2me-android-blackberry-dr...
 suggests that you must not use the Map Service with any applications
 for route guidance, including but not limited to turn-by-turn route
 guidance that is synchronized to the position of a user's sensor-
 enabled device

 so if I understand we can use maps API to retrieve a route between two
 points (and kml file provided by the URL) and draw on a mapview the
 way. Is it right ?

 Thanks for your answer

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Maps API and legacy

2010-09-29 Thread Morrison Chang
I think that the code for the Intent is legal, its just a URI.
And you don't need a Google Maps API key to use it.
All the code does is either launches the Google Maps App or the
Browser which go to the Google Maps site. As either would launch new
apps I would think its okay with the realization that at any point
Google can change its mind about the URI format or disable it.


On Sep 29, 12:27 pm, arnouf arnaud.far...@gmail.com wrote:
 I found a solution calling Intent. Is it legal ?
 startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(http://
 maps.google.com/maps?
 f=dhl=ensaddr=43.593051,43.593051daddr=43.593052,7.004667ie=UTF80om=0 
 ));

 On Sep 29, 5:27 pm, arnouf arnaud.far...@gmail.com wrote:



  Hi all,

  I found this post

  This 
  postinghttp://stackoverflow.com/questions/2023669/j2me-android-blackberry-dr...
  suggests that you must not use the Map Service with any applications
  for route guidance, including but not limited to turn-by-turn route
  guidance that is synchronized to the position of a user's sensor-
  enabled device

  so if I understand we can use maps API to retrieve a route between two
  points (and kml file provided by the URL) and draw on a mapview the
  way. Is it right ?

  Thanks for your answer

-- 
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en