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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T14:45:59+00:00 2026-05-27T14:45:59+00:00

I am currently working on an application that lists all the images (thumbnails) on

  • 0

I am currently working on an application that lists all the images (thumbnails) on the device’s sdcard. Here is a code snippet:

final String[] imageColumns = {MediaStore.Images.Media.DATA};
imageCursor = getContentResolver().query(MediaStore.Images.Media.EXTERNAL_CONTENT_URI, imageColumns, null, null, null);
imageColumnIndex = imageCursor.getColumnIndex(MediaStore.Images.Media._ID);
Bitmap bm = MediaStore.Images.Thumbnails.getThumbnail(getApplication().getContentResolver(),
            imageCursor.getInt(imageColumnIndex),MediaStore.Images.Thumbnails.MICRO_KIND, null);

The issue I am seeing is that the image displayed is not the thumbnail of the big image. Moreover, if I make the call to MINI_KIND instead, I am getting the right thumbnail. I am currently testing this on a HTC Aria. Since the application needs to support 2.1 (API level 7), I cannot take use of the ThumbnailUtil class.

Any advice would be beneficial?

  • 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-27T14:45:59+00:00Added an answer on May 27, 2026 at 2:45 pm

    It seems like the thumbnail database where MINI_KIND is getting the images from was corrupted in the database. Deleting the files from the SD Card seems to resolve the issue.

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

Sidebar

Related Questions

A database application that I'm currently working on, stores all sorts of settings in
Am currently working on an application that requires users to submit posts and comments
We are currently working on an application that will use a WCF service. The
I'm currently working in an application that has to navigate a webpage and recollect
I am currently working on an application that has different permissions/users for the local
I'm currently working on an application that allows people to schedule Shows for an
I am currently working on an application that allows reverse geocoding using silverlight +
I am currently working on an application that uses a TableViewer in several places
In an application that I am currently working on, a requirement is to bring
I am currently working on an web application that uses ASP.NET 2.0 framework. I

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.