Files
rk35xx-android14/development/samples/browseable/DragAndDropAcrossApps/_index.jd
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

19 lines
625 B
Plaintext

page.tags="DragAndDropAcrossApps-new"
sample.group=ui
@jd:body
<p>
This sample demonstrates how data can be moved between views within an
app or between different apps via drag and drop.
This sample contains two separate Android applications: DragSource and
DropTarget. DragSource contains images and text that can be dropped into the DropTarget
app. Images are shared between the two apps through a URI for which the receiving app
must request permission first, before it can be used.
It also demonstrates the use of the DragStartHelper from the v13 support library to easily
handle drag and drop events.
</p>