# How do I access the "Recent Apps" menu on Android? Drag only goes from point A to point B

**URL:** <https://forums.eggplantsoftware.com/t/how-do-i-access-the-recent-apps-menu-on-android-drag-only-goes-from-point-a-to-point-b/7962>\
**Category:** Uncategorized\
**Created:** [September 12, 2022, 10:05pm UTC](https://forums.eggplantsoftware.com/t/how-do-i-access-the-recent-apps-menu-on-android-drag-only-goes-from-point-a-to-point-b/7962 "2022-09-12T22:05:03Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Elliot](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/e/858c86/32.png) [@Elliot](https://forums.eggplantsoftware.com/u/Elliot)\
**Post date:** [September 12, 2022, 10:05pm UTC](https://forums.eggplantsoftware.com/t/how-do-i-access-the-recent-apps-menu-on-android-drag-only-goes-from-point-a-to-point-b/7962/1 "2022-09-12T22:05:03Z")

</div>

On Pixel in specific. I’ve tried all sorts of different functions, but in every case (drag, press, mousebuttondown, etc) all the commands between the start and end are not carried out on the device.

For example:

```auto
Set screenW to (item 1 of RemoteScreenSize())
Set screenH to (item 2 of RemoteScreenSize())

MoveTo [screenW*0.5, screenH*0.9]
MouseButtonDown 1
MoveToEach [screenW*0.5, screenH*0.5], [screenW*0.8, screenH*0.5]
MouseButtonUp 1

```

Doesn’t cause the finger to drag to multiple places. It acts like this instead:

```auto
Set screenW to (item 1 of RemoteScreenSize())
Set screenH to (item 2 of RemoteScreenSize())

MoveTo [screenW*0.5, screenH*0.9]
MouseButtonDown 1
MoveTo [screenW*0.8, screenH*0.5]
MouseButtonUp 1

```

and

```auto
Drag [screenW*0.5, screenH*0.9]
MoveTo [screenW*0.5, screenH*0.5]
wait 1 second
Drop

```

Doesn’t wait, which is necessary to view recent apps. Instead, it acts like this:

```auto
Drag [screenW*0.5, screenH*0.9]
MoveTo [screenW*0.5, screenH*0.5]
Drop

```

I noticed that the mouse movement seems to still be working as intended, because setting MouseMoveSpeed to 1 causes a huge delay before the drag command is carried out on the mobile device quickly (moving only from drag point to drop point).

Is there a way to drag then hold? Or is there an alternate way to access the “Recent Apps” menu on a Pixel device?

---

<div class="post-metadata">

**Author:** ![DaveHester](https://forums.eggplantsoftware.com/user_avatar/forums.eggplantsoftware.com/davehester/32/104_2.png) [@DaveHester](https://forums.eggplantsoftware.com/u/DaveHester)\
**Post date:** [September 15, 2022, 12:13pm UTC](https://forums.eggplantsoftware.com/t/how-do-i-access-the-recent-apps-menu-on-android-drag-only-goes-from-point-a-to-point-b/7962/2 "2022-09-15T12:13:48Z")

</div>

You might want to try this:

```auto
put ADBCallRemote("shell input keyevent KEYCODE_APP_SWITCH") -- Sends keyevent KEYCODE_APP_SWITCH to the device

```

I don’t currently have access to a Pixel, but if this fails to work for you, I will see if I can get a crack at a Pixel.

Hope this helps,  
Dave

---

<div class="post-metadata">

**Author:** ![Elliot](https://forums.eggplantsoftware.com/letter_avatar_proxy/v4/letter/e/858c86/32.png) [@Elliot](https://forums.eggplantsoftware.com/u/Elliot)\
**Post date:** [September 16, 2022, 2:58pm UTC](https://forums.eggplantsoftware.com/t/how-do-i-access-the-recent-apps-menu-on-android-drag-only-goes-from-point-a-to-point-b/7962/3 "2022-09-16T14:58:04Z")

</div>

It works like an absolute _charm_. Thank you! I guess I should dive into adb shell keywords.
