how to drag and drop in android?

my android version is 2.2

I want to make ui like easyband (youtube video)

so, how to drag and drop imageView or button between other layout?

and I want know insert imageView or button array of items to use drag and drop

plz help me

Answers


Your answer would be Android drag and drop framework.

However, I guess you are just at the beginning to solve your problem, try to ask more specific questions (like I have tried this method and it's giving me this error) instead of looking for a whole answer


Try creating a GridView that allows you to drop views from one area to another. Here is Bill Lahti's code and examples of the similar Drag and Drop effect on lower API's.

http://blahti.wordpress.com/2011/02/10/moving-views-part-3/

http://blahti.wordpress.com/2012/03/03/improved-drag-drop-for-gridview/

Also, explore his content and hopefully you will find what you need.


Need Your Help

Javascript physics get current mouse X coordinate

javascript mouse physics coordinate

I've been asked (as a school exercise) to search information on the net about Physics library, or somehow find a way to create Arkanoid game and put it inside a website homepage.

(x86) Assembler Optimization

optimization assembly code-generation

I'm building a compiler/assembler/linker in Java for the x86-32 (IA32) processor targeting Windows.