On Nov 20, 2009, at 7:11 AM, furby wrote:
> I know that isn't exactly right - I can start the map application
> using an intent like this :
>
> final Intent myIntent = new Intent(android.content.Intent.ACTION_VIEW,
> Uri.parse("geo:0,0?q=http://code.google.com/apis/kml/documentation/
> KML_Samples.kml"));
> startActivity(myIntent);
>
> And it loads that KML into the app and shows it...
I suspect the Maps app just doesn't understand the ZIP compression. If you
already have KML working fine you could probably just download the KMZ yourself
to a temporary space, uncompress ('deflate' is not a difficult method to
implement, after all, and valid KMZ will only use the deflate method), then
pass the resulting uncompressed KML file to Maps?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en