Q:

How to make "uses-library" optional in android

I have built an android app which use Google Map feature. I want my app installed on phones which does not install Google Map, in that case, I would disable the map feature.
There is a "uses-library" tag in manifest file, what can I do with that?

A:

@CommonsWare: I think you are refering to android:required and not to android:enabled
Something like this:
    <uses-library
        android:name="com.google.android.maps"
        android:required="false" />

