Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

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.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 978349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T04:02:43+00:00 2026-05-16T04:02:43+00:00

I am currently developing an android application uses Google map API. I am wondering

  • 0

I am currently developing an android application uses Google map API.

I am wondering do all android devices support map API, becuase this api is an optinal api and it is an add-on to the platform.

I am worried that my application won’t be able to run on that device.

What I need to know is programatically detect wether the device support map API, and catch the exception and do something else.

Because, using map capability is only one of features of my application, I would like to let those devices that don’t support map api can still download and run my application with out effecting other features of my app.

Any comment or suggestions are welcome

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T04:02:44+00:00Added an answer on May 16, 2026 at 4:02 am

    Thanks for all your guys help! all of your suggestion are useful to me!!

    I wrote a simple application that is able to deployed on None-Google-Map API emulator, and detect presence of Google API problematically.

    What I did was I specifying <uses-library android:name="com.google.android.maps" android:required="false" />

    (but android “required” attribute only works for 2.1 and doesn’t work for 1.6. I will need to find out why. cos when I had look at the documentation, it says that this attributed supported by 1.6)

    Thus, I am able to deploy the application on to emulator.

    Secondly, I created a map activity which is called HelloMaps
    In my main activity

    try{
         mapActivity = new Intent(TestApp.this, HelloMaps.class); 
         startActivityForResult(mapActivity, 0); 
    }catch(NoClassDefFoundError e){
    (Toast.makeText(TestApp.this, "Google Map API not found", Toast.LENGTH_LONG)).show(); 
    }
    

    This will catch the exception and tell me that the device couldn’t run map activity.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 497k
  • Answers 497k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Easily fixed. You need the event object from the iframe's… May 16, 2026 at 11:51 am
  • Editorial Team
    Editorial Team added an answer Instead of .val() use .text(), like this: $(".ui-datepicker-month").live("click", function ()… May 16, 2026 at 11:51 am
  • Editorial Team
    Editorial Team added an answer There can be at least four different identities involved at… May 16, 2026 at 11:51 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

I'm currently developing an Android application that fetches images using http requests. It would
I am currently developing my first Android application by reading Dev Documentation at Android
I'm currently developing an application to manage my pictures on an Android phone. I
I am currently developing an application that receives GPS data gathered using and android
I am currently developing an application which has a maps feature. My map is
The app I'm currently developing depends on a third party application (OIFileManager). My question
I'm currently developing a web application for a particular niche. The point is that
I'm currently developing a Safari extension that uses an injected script to further inject
With an application I'm currently developing I've come across the need to serialize some
I'm developing an app for Android 2.1 upwards. I want to enable my users

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.