I haven't done this directly myself, but if investigating the home
screen might help you, then you can do that from the source.

I believe that "Launcher" is the home screen package, and it uses a
DragLayer/DragController/etc setup that is therein:

http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=commit;h=c8f00b61c600927ab404c84686d4472e9b527976

http://android.git.kernel.org/?p=platform/packages/apps/Launcher.git;a=blob;f=src/com/android/launcher/Launcher.java;


On Feb 5, 9:10 am, Shadakshari Hiremath <shad...@gmail.com> wrote:
> Hello Android,
>
> I want to get drag event(s) when user holds finger on screen and drags
> it in any direction. The event need to repeatedly provide new touch
> position until finger is released in the form of callbacks. This is
> not related to dragging objects.
>
> I could see this drag feature working on home screen of the phone to
> move the home screen left and right. But couldn't figure out how it
> works. Please provide information on which class and methods to be
> referred for this
>
> Regards,
> Shaddu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to