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 
expected.

Any advice would be appreciated.

Thanks,
Keith

-- 



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:

 http://ross.posterous.com/2008/08/19/iphone-touch-events-in-javascript/ 

-- 


Sponsored Links


Other Threads

1. how to know whether a resource is compressed or not?

we can let aapt not compress the resource via command -0. which api
can be used to check the resource is compress or not?

thanks a lot

-- 

2. how to modify the dataRoam Setting of device

i want to block all the data connection when phone is in roaming . how
to chang the data Roam Setting ? who can help me? thanks .

-- 

3. CheckedTextView and android:checkMark property

4. wifi works on motoblur

5. Is there a list of standard Intent specifications?

6. viewflipper deck?

7. Inter-activity communication