Maps has been around since 1.0.  However it is not part of the platform, it
is a separate extension library that Google supplies to vendors who want to
include it (which is why you need uses-library in your manifest).  In the
original documentation it was documented more closely with the platform, and
that was changed around 1.5 or 1.6.

On Mon, Jan 18, 2010 at 9:31 AM, MarcoAndroid <[email protected]> wrote:

> Hello,
>
> Can anybody clarify what is and isn't supported in which version of
> the SDK regarding the Google API add-on regarding Maps?
>
> When I look here
> http://code.google.com/intl/nl-NL/android/add-ons/google-apis/reference/index.html
> Maps is only available since level 4 (1.6).
>
> But in the hello MapView it says it's available for 1.5 and higher:
> http://dev.android.com/guide/tutorials/views/hello-mapview.html
>
> Here
> http://groups.google.com/group/android-developers/browse_thread/thread/5a7a001909d7bd5b/e6f47fd5dc3e6518
> people have been trying it on 1.5. Did they fail because it's just not
> possible on 1.5?
> And from reading this
>
> http://groups.google.com/group/android-developers/browse_thread/thread/7ce1902505bba25a/f915dcb6d1ee6f19
> it *seems* it might be possible, though there is a bug/issue with a
> certain use case.
> And looking here http://www.anddev.org/viewtopic.php?p=24902
> it seems to be there in 1.5. But what are the differences then? Was it
> included in pre 1.5 SDK, after that not anymore and only part of the
> device if available?
>
> And, what exactly happens re: an app that uses Maps (thus has <uses-
> library android:name="com.google.android.maps" /> in the Manifest)?
> Will the app install but the Maps won't work (probably some exception
> will occur when trying to use a MapView)?
> Or will the app not be installable for any devices with SDK < 1.6
> (assuming 1.6 is the minimal level)?
> Here
> http://code.google.com/intl/nl-NL/android/add-ons/google-apis/maps-overview.html#useslibrary
> it says "It also ensures that the Android system will not install your
> application on a device unless the required library is available".
> So I can't check in the code whether the class(es) can be loaded to
> see if it's available?
>
> If 1.5 and >= 1.6 have *different* Maps implementations, how would you
> build an app supporting that?
>
> I also understood that you're not allowed to include maps.jar with
> your app right?
>
> Tip1: if you don't need to integrate maps in your app: I guess via an
> Intent you can of course start Google Maps as an external app
> Tip2: or try http://code.google.com/p/osmdroid/ I haven't tried it
> (yet, depending on the answers here :).
>
> Regards,
> Marco
>
> --
> 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]<android-developers%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
[email protected]

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.
-- 
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

Reply via email to