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 4083358
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:18:10+00:00 2026-05-20T18:18:10+00:00

i want to app to sd,i know in sdk2.2 ,we can install by using

  • 0

i want to app to sd,i know in sdk2.2 ,we can install by using xml,but i want to install app to sd in sdk 2.1. at present i only know check version use the code:

public static int getSDKVersionNumber() {
     int sdkVersion;
 try {
 sdkVersion = Integer.valueOf(android.os.Build.VERSION.SDK);
 } catch (NumberFormatException e) {
 sdkVersion = 0;
 }
 return sdkVersion;
 }

my question:how to install app to sd ,at sdk2.1 and sdk 2.2.
thank you.

  • 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-20T18:18:11+00:00Added an answer on May 20, 2026 at 6:18 pm

    I believe this resource may help you the most. Install locations should be done through the AndroidManifest.xml file and I believe it was introduced with Android 2.2 (froyo) meaning older phone (2.1 and below) cannot install apps to the SD card.

    Resource says:

    The ability for your application to
    install on the external storage is a
    feature available only on devices
    running API Level 8 (Android 2.2) or
    greater

    Bitt Fault, with his app SDWatch is able to show the user the app setting page. I’m not sure if I’m reading it completely right, but you may able to do it with this code snippet from NotificationClicked.java

    Intent oi = new Intent(Intent.ACTION_VIEW);
    oi.setClassName("com.android.settings", "com.android.settings.InstalledAppDetails");
    oi.putExtra("pkg", pkg);
    oi.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
    context.startActivity(oi);
    

    I’m having a little trouble figuring out what the String pkg is exactly though.

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

Sidebar

Related Questions

I am developing an iOS app using iOS 4.2 SDK, but I want the
I want to use push notification in my app.i want to know that do
I want to know if this web app are using long polling or anything
I want to implement a feature in my app but I don't know the
I'm using Google App Engine python. I want to know what browser the user
I am working on map view app.I want know that how we can identify
i want to know that why do we add an app.config file in c#
This is my first app with CI and I want to know whether $_POST
I'm developing a REST google app engine application. I want to know if it's
How can I check for GPS support in-App to add a feature for those

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.