android tutorial

Drag-Drop for Android GridView (V4)

This demo application is a simple example that shows how to support dragging and dropping on a GridView.  For more information about this, read the blog article at blahti.wordpress.com.

     

Source code for this demo app is attached below. Be sure to do a clean build in Eclipse after you import the project. The project was built with Android 4.2 (API  level 17). It runs on API levels 11 and up.

(Note: The best place to download the zip is on this page. Click the download icon below to download. In some browsers (Chrome), if you click the zip file name first, you will find yourself on a page where the download links do not work. )