[PIE] Swipe between Apps in custom roms like default ZUI

craftandbuild

Senior Member
May 14, 2015
56
26
18
An Android app to mimic the stock ZUI swipe left/right (navigate in app history) behaviour for Custom ROMs with android PIE.
This fork of the original app by in.abhi9 fixes the app on the Z2 Pro with android PIE.

How to Use

  1. Flash the RecentSwipo_PIE_2.0.zip attached to this post (this installs it as a system app)
  2. Open settings and set swipe actions to application -> activity -> Recent Swipo -> in.abhi9.recentswipo.SwipeLeftActivity/SwipeRightActivity accordingly.

For AEX 6.2 and in case these options are missing for you (like left swipe on aex) you can do the following:

  1. Use a root explorer like fx explorer, to manually add the lines "key 249 MENU" (right swipe) and "key 254 SEARCH" (left swipe) to /vendor/usr/keylayout/fpc1020tp.kl, if a line for the number does not already exist. I also attached my file for reference. You can also use different actions, if you want.
  2. Then download a key remapping app from the playstore and map these keys to the swipe left and swipe right activity. I use the app https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper, because it can automatically detect the pressed button and allows two remaps in the free version.
  3. Reboot the phone and Enjoy.

This works well with the following other actions:
Tap home: Back
Tap home long: recents menu
Press home: home
Press home long: close app / menu / ...​

Tested Device
I only tested this on AEX 6.2 (Android 9) on the z2 pro, as this is what I use.​

Found a Bug?
Report a github issue and don't forget to attach a logcat.​

Changelog
v2.0
  • fix for pie
  • new animation
  • loop around added as option
  • icon
v0.1
  • Initial release

XDA:DevDB Information
RecentSwipo, Device Specific App for the Lenovo Zuk Z2 Pro

Contributors
craftandbuild, in.abhi9
Source Code: https://github.com/zuim/recent-swipo


Version Information
Status: Stable
Current Stable Version: 2.0
Stable Release Date: 2019-01-25

Created 2019-01-25
Last Updated 2019-01-25
 

Attachments

Last edited:

forzalaquila

Senior Member
Feb 9, 2015
108
19
0
Thanks very much for this zip,I was waiting for it like water in desert! Good job!
Can you post, please,your vendor/usr/keylayout/fpc1020tp.kl file?
Thanks again


Inviato dal mio ZUK Z2131 utilizzando Tapatalk
 

Bruneba

Senior Member
Dec 26, 2017
169
50
0
zukfans.eu
Thank you! That is what I was looking for, used the original file but didnt work on Pie :)

---------- Post added at 01:43 PM ---------- Previous post was at 01:14 PM ----------

An easy way to set left and right swipes between apps is flashing your app, then go to /vendor/usr/keylayout/ and edit the file fpc1020tp.kl I use ES file explorer.
(*Or just replace the one I attached*)

key 158 BACK VIRTUAL
key 249 APP_SWITCH
key 183 HOME VIRTUAL
key 254 APP_SWITCH

Reboot and go to phone settings, extensions, system, buttons and set buttons:

Tap
Longpress action:
Select application- activities- recent swipe - in.abhi9.recentswipo.SwipeRightActivity

Right swipe
Single tap action:
Select application - activities- recent swipe - in.abhi9.recentswipo.SwipeLeftActivity
 

Attachments

Last edited:

forzalaquila

Senior Member
Feb 9, 2015
108
19
0
I added my fpc1020tp.kl to the downloads section.

Have fun!
I my friend, I'm on aex 6.2 and your software work very well with button mapper app.
Can be setup every action!!!!
The only thing that can be improved is this: when you swipe after long time it doesn't work and you have a toast message that say"service is started....".
After this all start to work very well. Have a nice day

Inviato dal mio ZUK Z2131 utilizzando Tapatalk
 

sugarshiro

New member
Feb 20, 2019
1
0
0
AEX 6.3 won't show “activity Recent Swipo > in.abhi9.recentswipo.SwipeLeftActivity/SwipeRightActivity” in extensions->System->Buttons
Am I getting something wrong?
Thx for developing such a great application! Hope I can get it work on my phone. ( sry for my poor English )
 

skishoreraju

Member
Sep 14, 2014
37
0
6
First of all thanks a lot to dev.

It is working flawlessly on pie ROM.

Several times I went back to stock zui because of this swipe between apps, but now I am very happy no need to go back to zui.
 

craftandbuild

Senior Member
May 14, 2015
56
26
18
AEX 6.3 won't show “activity Recent Swipo > in.abhi9.recentswipo.SwipeLeftActivity/SwipeRightActivity” in extensions->System->Buttons
Am I getting something wrong?
Thx for developing such a great application! Hope I can get it work on my phone. ( sry for my poor English )
In the popup you have to select "Select App" and then "Activity" (should be the second item). The list that opens should have the "RecentSwipo" App.
 
  • Like
Reactions: sugarshiro

loganlee

New member
Oct 6, 2018
1
0
0
An Android app to mimic the stock ZUI swipe left/right (navigate in app history) behaviour for Custom ROMs with android PIE.
This fork of the original app by in.abhi9 fixes the app on the Z2 Pro with android PIE.

How to Use

  1. Flash the RecentSwipo_PIE_2.0.zip attached to this post (this installs it as a system app)
  2. Open settings and set swipe actions to application -> activity -> Recent Swipo -> in.abhi9.recentswipo.SwipeLeftActivity/SwipeRightActivity accordingly.

For AEX 6.2 and in case these options are missing for you (like left swipe on aex) you can do the following:

  1. Use a root explorer like fx explorer, to manually add the lines "key 249 MENU" (right swipe) and "key 254 SEARCH" (left swipe) to /vendor/usr/keylayout/fpc1020tp.kl, if a line for the number does not already exist. I also attached my file for reference. You can also use different actions, if you want.



  1. Thanks dev , Great app and finally I have my u-touch action back!

    I am using AEX v6.3 Android 9 on ZUK Z2(plus). There is only swipe right in settings, works fine though your app.
    It is a little tricky though cuz the remapping app you mentioned can‘t use swipe right/swipe left action.
    But there is always a way.

    1. I used your app,
    2. change the fpc1020tp.kl file.
    3. I used another app Download: this is a Chinese version of button remapping App,
    git:https://github.com/hfutxqd/ClickClick
    • use "Function" at middle bottom
    • -> pressing "+"on top right
    • ->"Luanch a application"
    • ->find Recent Swipo
    • ->change "Function Code" "
      Code:
      in.abhi9.recentswipo.MainActivity
      " into "
      Code:
       in.abhi9.recentswipo.SwipeRightActivity
      "or "
      Code:
      in.abhi9.recentswipo.SwipeLeftActivity
      " .You can also change function name and introduction if you like.
    • ->"Add"(you can hit Run it to test)Then you can see your new function shows in the list.
    • ->"Profile"
    • ->"+"
    • ->"Add regular button mapping"
    • ->swipe left/right
    • ->choose the action you want
 

LBA97

Senior Member
Aug 24, 2014
198
128
63
Hi, thanks for making this really cool mod. I just wanted to ask whether it was possible to keep the service active in the background. When I want to swipe it runs the service and I have to swipe twice then. Thanks in advance!
 
  • Like
Reactions: forzalaquila

forzalaquila

Senior Member
Feb 9, 2015
108
19
0
Hi, thanks for making this really cool mod. I just wanted to ask whether it was possible to keep the service active in the background. When I want to swipe it runs the service and I have to swipe twice then. Thanks in advance!
Same for me

Inviato dal mio Z2 Plus utilizzando Tapatalk
 

kayborek

New member
Oct 24, 2017
2
0
0
Hello,
Recently tried to flash this app via TWRP, but ended up with the never-ending AEX loading screen after the phone rebooted.
Tried it several times, cleaned dalvik and cache, but it hasn't helped., I am just not able this from TWRP level.
Do you know any other ways to make the left and right swipe working again?
It's the only thing that annoys me while using the newest AEX right now.

Best regards
 

forzalaquila

Senior Member
Feb 9, 2015
108
19
0
Hello,

Recently tried to flash this app via TWRP, but ended up with the never-ending AEX loading screen after the phone rebooted.

Tried it several times, cleaned dalvik and cache, but it hasn't helped., I am just not able this from TWRP level.

Do you know any other ways to make the left and right swipe working again?

It's the only thing that annoys me while using the newest AEX right now.



Best regards
Extract the apk file and directory from zip and copy to /system/priv-app.
Check permission and reboot.
Thats'all.....

Inviato dal mio ZUK Z2131 utilizzando Tapatalk
 

craftandbuild

Senior Member
May 14, 2015
56
26
18
Extract the apk file and directory from zip and copy to /system/priv-app.
Check permission and reboot.
Thats'all.....

Inviato dal mio ZUK Z2131 utilizzando Tapatalk
Exactly, this is all the zip does. I don't know, what the cause for not booting could be. It works on the newest aex for me. When aex with android 10 is released I'll probably try to make it stay active in the background