How to detect an android device whether it supports google maps API -


I'm currently developing an Android application using the Google Map API.

I support all the Android devices map API, because this API is an optical API and it is an add-on on the platform.

I'm worried that my application will not be able to run on that device.

I should know that the Device Support Map API is programmatically detected, and by catching the exception and doing something else.

Because, the use of map capability is just one of the features of my application, I can not download the maps APIs to those devices and still download other features of my app Run your application effectively with running.

Any comment or suggestion is welcome

I use the following solutions Have described

   Use-Library Android: name = "com.google.android.maps" Android: Required = "Wrong" /> In the second reply:  
  click the public Zero map (see see) {try / check if Google Maps is supported on a given device. ForName ("com.google.android.maps.MapActivity"); This.start activity (new intent (this, MyMapActivity.class)); } Hold (exception e) {e.printStackTrace (); UIUtils.showAlert (this, R.string.google_maps_not_found); }}  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -