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

  • Home
  • SEARCH
  • 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 7836461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T14:10:23+00:00 2026-06-02T14:10:23+00:00

When installing the SDK i read something about 97% of phones support Android 2.1

  • 0

When installing the SDK i read something about 97% of phones support Android 2.1
My question is should i, when opening a new project choose to compile it to Android 2.1?
Will apps written for 2.1 work in newer version?
Will the opposite work? if i develop to 4.0.3, will it work in older?

Thanks,
Eric

  • 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-06-02T14:10:25+00:00Added an answer on June 2, 2026 at 2:10 pm

    My question is should i, when opening a new project choose to compile it to Android 2.1?

    What you specify as your build target (“choose to compile it to”) has no direct effect on what versions of Android can run your application.

    Will apps written for 2.1 work in newer version?

    For any reasonable interpretation of the word “for”, yes.

    if i develop to 4.0.3, will it work in older?

    As with Agarwal’s answer, this depends on what you mean by “to”.

    For example, suppose that you want to use CalendarContract. This class was added in API Level 14 (a.k.a., Android 4.0). So long as you only use CalendarContract on Android 4.0+ devices, you will be fine. If, however, you try to use CalendarContract on an older device, you will crash, because that class will not exist in the firmware.

    Hence, you can conditionally use newer APIs, so long as you ensure that you only use those newer APIs on devices running a newer version of Android. Typically, this is done via a version guard block, something like:

    if (Build.VERSION.SDK_INT>=Build.VERSION_CODES.HONEYCOMB) {
      // do something that requires API Level 11+ here
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any best practices/recommendations on the installation folder for the Android SDK? Following http://developer.android.com/sdk/installing.html on
I'm installing the Android SDK on Mac OS X. Following the instructions on the
After installing Android SDK tools revision 14 and fixed build.xml I cant build native
Do I need to install the Android SDK before installing Eclipse? Or must I
I installed android eclipse galileo, and also downloaded android SDK. while installing AD`, I
I have two problems with android SDK.The first is that after installing sdk manager
After downloading/installing Android SDK, it put the files/folders here: C:\Program Files (x86)\Android\android-sdk if I
I just set up eclipse to start android development according to this http://developer.android.com/sdk/installing.html .
I'm installing the Android SDK on a fresh installation of Fedora 14 (Linux). I
I started android developmental by installing android sdk and eclipse and then ADT plug

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.