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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 18, 20262026-06-18T16:46:05+00:00 2026-06-18T16:46:05+00:00

Working in min API 15, I’m trying to find how I can drag and

  • 0

Working in min API 15, I’m trying to find how I can drag and drop one item element out of a ListView list onto a TextView above it (just to copy the text into it).

I’m trying to follow this example:

http://techdroid.kbeanie.com/2011/10/drag-and-drop-honeycombics.html

Namely these two parts…

http://code.google.com/p/myandroidwidgets/source/browse/trunk/HCDragDrop/src/com/beanie/hcsample/dragdrop/MyDragShadowBuilder.java

http://code.google.com/p/myandroidwidgets/source/browse/trunk/HCDragDrop/src/com/beanie/hcsample/dragdrop/HCDragDropActivity.java

However, I can’t figure out how to fix this error

The import android.view.View.DragShadowBuilder cannot be resolved

Or if I remove the import then DragShadowBuilder gives me

DragShadowBuilder cannot be resolved to a type

I changed my minSDK And target SDK both to ’15’. Should I not have access to these classes now? How can I resolve this error?

edit: I’ve fixed that problem- properties, android, set target. Clean, refresh. Ok.

But now I’m getting

btn_default_pressed cannot be resolved or is not a field

on
mShadow = v.getResources().getDrawable(R.drawable.btn_default_pressed);

  • 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-18T16:46:07+00:00Added an answer on June 18, 2026 at 4:46 pm

    Looks like that class came in API 11. So probably you have one of a couple problems.

    1. You have set the SDK target in your manifest, but you haven’t updated your actual SDK. If this is the case, go to the SDK Manager and get the necessary updates.

    2. You project is still linked to a API 10 or lower jar. If this is the case go into, Project > Properties > Android and pick the correct library.

    Project > Clean and restarting Eclipse can’t hurt either.

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

Sidebar

Related Questions

Working with an undisclosed API, I found a function that can set the number
I struggle with working with Internet Explorer. Issue one: I have used min-height:100% and
I have jQuery mobile working with google maps so that I can display one,
I've been trying out Angular JS for the past couple of days and one
I am working on a web API for the insurance industry and trying to
unset(min($arr)) is not working in php min($arr) do gives the minimum and unset($arr[1]) also
I am working on jquery slider to take min and max price and I
I'm working on an application where I list the installed applications with the package
I'm trying to create a simple AJAX uploader (as i know you can't actually
I'm trying to use the min_element for array of structures, but I simply can't

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.