Drag and drop in a web application?

by Keith Hughitt » Fri, 11 Feb 2011 02:58:50 GMT

Sponsored Links
 Anyone know how it can be supported for web pages in Android browser?

Typically it is pretty straight-forward to support using a combination of 
the mouseDown, mouseMove, and mouseUp events. The default behavior in the 
Android web browser, however, is to drag the document itself. It looks like 
it should be possible, however, since Google maps drag behavior functions as 

Any advice would be appreciated.



Re: Drag and drop in a web application?

by Keith Hughitt » Fri, 11 Feb 2011 22:04:45 GMT

 Okay I found a solution which maps touch events to mouse events and seems to 
do the trick. In case anyone is interested, here is the link:



Sponsored Links

Other Threads

1. Cannot run JetCreator

When I try the command "python jetcreator.py" I get an error:

python: can't open file 'jetcreator.py': [Errno 2] No such file or

The JETCreator User Manual at 
says to "unzip or copy all the files in the JET Creator application
directory to a folder on your hard drive." I copied the entire
JetCreator folder to C:, but it doesn't help.

What am I doing wrong?


2. Determining and Setting Camera Resolution

Is there a way to force the camera to take a photo of lower resolution
than the list offered under the Camera Options?

Is there also a way to get a list of supported resolutions, and set
the resolution to a particular resolution?

I'm using Android 2.1 onwards.

Thank you.


3. Android Developer / SDK

4. Android Market

5. How to get notification of sms thread creation / deletion?

6. Apn Setting Insert Problem

7. Authenticate Non-AppEngine Webservice using Google Account