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. Importing a layout xml file from a remote server

Is this possible?  Can I import an android layout xml file from a
remote server, and use it within the application (without writing my
own parser)?  If not, is there an easy way to parse out a remote xml
file and create a layout on the fly?




2. Troid New Sight for Android

i was thinking for mutli - versions of GMobile and Android system, so
i started thinking with a millitary version, we can develop set of
applications that can be used for military purposes, i have lot of
idea to develop and produce such type of applications and i can share
it with all Android developers, i have new algorithms related to
security, encryption, decryption and etc..



4. Hello world problems

5. android & Smack

6. Newbie questions.

7. java SE and the emulator