Drag and drop image in Android 2.2
Hi here I am giving the link and submitting this post and finding a solution to your question. where i post all my activity code for everyone. so i think it will help you good luck.
How do I implement drag and drop in Android 2.2?
and also find another solution how to do it. Then use this link
http://code.google.com/p/rxwen-blog-stuff/source/browse/#svn/trunk/android/drag
And further
source to share
I am guessing that you will need to listen for the user's touch on the screen, identify the object that is being selected using x / y coordinates, and then when the user releases the click, determine where they were released. If it has changed, then figure out where the new location is and pass the object that was originally clicked to the other view and remove it from the old one by placing it in position by clicking on the new view.
Have a look at OnClickListener for more information on how this works in Android Developer Guides
source to share