Is it possible to use Google Maps Android library in my app in a way, that the app can be installed even on phones without Google Maps? On phones without Google Maps, the maps feature would be disabled.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
There is an undocumented
android:required="false"flag you can put on the<uses-library>element. I am hopeful that they will document this in a future release. With that set tofalse, you would need to use reflection to see if Google Maps is loaded (e.g., try to find theMapViewclass) — if not, disable whatever would lead the user to a map.