yashsingh1/xdaforums huggingface dataset:
[Xposed Framework Modules] tkgktyk:
**** THIS PROJECT IS NO LONGER MAINTAINED ****

Niwatori changes the display position of apps. The target device is a smartphone that has about 5-inch display because the purpose is one-handed operation.

Thanks to rovo89, I can use this on Lollipop!

[YOUTUBE]6N2GNIoOQ1E[/YOUTUBE]

Niwatori provides three one-handed modes:

- Movable Screen

- Slide Down

- Small Screen.

They work temporary, NOT permanent.

**

Niwatori was my local version of Flying Android. I released Niwatori since Xposed framework supports Android 5.0 Lollipop.

Differences:

- Abolished FA Toggle, pin, flying dialog and notification shortcut features.

- Control the window only from shortcuts.

- Move the status bar and the dialogs in the same way as the apps.

**

Compatibility

NIWATORI CONFLICTS WITH OTHER MULTIWINDOW AND ONE-HANDED SYSTEM.

I test on Nexus 4 with Stock ROM. Niwatori should work on Nexus devices running Stock. And I support CyanogenMod if Niwatori works with small special code for CM.

Usage

Create shortcut for one-handed mode by Niwatori on sub-launcher , such as Pie control.

[MY USAGE 1] Navigation Bar and Gravity Box

Use shortcuts:

Movable Screen

Pin

[MY USAGE 2] LMT Launcher's Pie

Use shortcuts:

Small Screen

Swap Left/Right

Expand notifications with extra action (Small Screen)

Testing (v0.4.5)

[DEV] Nexus 4, Android 5.1.1

Nexus 9. Android 6.0.0

Download

Xposed Module Repository

Google Play for Premium Settings

Translation

Volunteers are welcome to translate text (strings) to your language.

Download strings and edit two files:

- strings.xml

- strings_activity_settings.xml

And send them to me Note that text encoding of android is UTF-8.

If possible, place them in your language folder. ('values-ja' for Japanese, 'values-ru' for Russian, etc.)

Troubleshooting

Turn on "Log Actions" in niwatori's settings and call a shortcut for one-handed mode. Then Xposed framework logs as follow.

04-21 08:25:47.553 24125-24125/? I/Xposed﹕ jp.tkgktyk.xposed.niwatori.intent.action.SMALL_SCREEN
04-21 08:25:47.556 24125-24125/? I/Xposed﹕ NFW(ModActivity$20#onReceive): jp.tkgktyk.xposed.niwatori consumed: jp.tkgktyk.xposed.niwatori.intent.action.SMALL_SCREEN

The first line is shortcut (action) name, above case is Small Screen, and the second line logged who consumed the action by package name, above is niwatori settings. If the consumer isn't expected package, add the package into blacklist in niwatori settings.
[Xposed Framework Modules] GalaxyS4_Lollipop:
Well

How do I use it ?
[Xposed Framework Modules] Demonbane_x:
Good Job!

It seems to be the first module which has updated to adapt for new Xposed on Lollipop!

But i'm new to FlyingAndroid/Niwatori. My Device has no virtual navigation buttons and can't call the app as you shown on Youtube. is it now possible to call the app and scale the screen out by setting some kind of triggers???

Thanks in advance!
[Xposed Framework Modules] GalaxyS4_Lollipop:
I got it, finnaly. You can add a gesture to every setting. But I see no use to it fi I can't put 2 window in the same screen.
[Xposed Framework Modules] tkgktyk:
[MENTION=6349282]GalaxyS4_Lollipop[/MENTION];
[MENTION=5078827]Demonbane_x[/MENTION];

Trigger for Niwatori is shortcut. The "shortcut" is the same as ordinary shortcuts of any apps. So you can fire "shortcut" from home app, launcher app, GravityBox's action (works on lollipop?) , etc.

This mod moves the display position of foreground app, but not show multiple apps. In the screenshots, I only show one app (Niwatori UI) and expanded statusbar.
[Xposed Framework Modules] exodius48:
This module not working on MIUI 6.
[Xposed Framework Modules] GalaxyS4_Lollipop:
sugestion

I like the idea of making floating apps, but if you can't put two apps in one window , I don't know for what to use it.

You are a good developer , I hope you will make an app like XHaloFloatingWindow for lollipop in future.
[Xposed Framework Modules] Jimmy34742:
doesn't fly the window

I associate the "toggle" NFW action with a gesture via GMD Gesture Control. When I execute the gesture, it doesn't fly the window. Instead, it opens the Niwatori settings app.

I should add that most of the time it does nothing at all. I know I'm executing the gesture correctly because I get the correct haptic feedback. I'm using the paid app.
[Xposed Framework Modules] ubuntujason:
Seems promising, gonna try it out :)
[Xposed Framework Modules] georgelogan:
Amazing app!

One problem I saw that came up was that I was no longer able to perform the second pull-down of the notification bar from the middle of the screen; instead, I now have to reach my thumb upwards far more.

I think the module changes the trigger area. Can you check this out? It would make life easier!

And by second pull-down, I mean the method to get from notifications to toggles (bt, wifi, etc.)
[Xposed Framework Modules] tkgktyk:
Sorry, I cannot test on MIUI.

XHaloFloatingWindow is one of the best modules. I cannot make such app.

But I cannot use halo window efficiently because my phone doesn't have enough display size for multi window. On the other hand, I don't reach thumb at the top of the screen. I need to pull down the screen.

Please check these points:

If you fire the "toggle" action from the other launcher (e.g. home app), does the "toggle" work fine?

Close Niwatori settings app before you use its actions.

If you need a refund, please tell me your order number by email or private message on XDA.

EDITED: I tried GMD Gesture Control, however it says "no supported device". (because of lollipop?)

Thanks. I checked it out and It's a bug certainly. I want to fix it.
[Xposed Framework Modules] bonny_k-9:
Can do split screen for two applications on the Samsung firmware?
[Xposed Framework Modules] Jimmy34742:
Right, GMD currently doesn't work on Lollipop.

I tried closing Niwatori settings before using its actions, but it still doesn't work.

I put the NFW actions widget on my home screen (selecting "toggle"), but when I press the widget, nothing happens.

Thanks, but I won't bother with the refund: I'm glad to throw you the support, and I'll keep re-testing the app every time you update. I hope you can try some things to make it work on my S4.
[Xposed Framework Modules] tkgktyk:
Sorry, I don't know Samsung's split screen. I have only old Samsung's device.

[MENTION=4155835]Jimmy34742[/MENTION];

Thank you for your cooperation.

I found a fatal error in the settings. Depending on the combination of settings, it is not possible to change the window mode and move the app.

Please disable "Reset automatically" option basically. It is useful only when to fire actions from recents button.
[Xposed Framework Modules] vanisleguy1976:
Have a look here for an effective way to get split screen on any device. Make sure you read the entire OP (It's 4 posts long)

http://xdaforums.com/showthread.php?t=2419287
[Xposed Framework Modules] bonny_k-9:
I saw this application. It does not work correctly (logically) and is no longer updated.
[Xposed Framework Modules] Jimmy34742:
I have "reset automatically" switched off, but it still doesn't work. If I don't back out of Niwatori's before going to another app, then the shortcut will re-enter Niwator at the same point. But if I exit Niwatori by backing out of it, then my shortcut just does nothing.
[Xposed Framework Modules] vanisleguy1976:
You're mistaken on both points! It does work quite well, and it has been updated for lollipop. I've been using it since lollipop Xposed was released (even before it was 'officially' supported, it worked on version 2.38... It's now been updated to version 2.41)
[Xposed Framework Modules] bonny_k-9:
I would ask to add double-click on a recent. In CM12 like as long press is already taken - switch between the last two applications.

The ability to run the application down to the user is in the Donut version?
[Xposed Framework Modules] bonny_k-9:
I said that logic does not suit me. A developer does not do anything to add / edit functions.
[Xposed Framework Modules] parthabhatta:
Working great on nexus 5x MM. Customized launch by long pressing menu button through GRAVITY xposed module.

Fantastic work. Thinking of buying pro version for supporting dev.
[Xposed Framework Modules] vasbul:
Conflict with VPN

This module is interfering with VPN. Can you fix it? Android 4.2. Thank you.
[Xposed Framework Modules] jerryshaw12:
this module is great, but i found bug if i enable small screen in chrome and another browser, the web content get cutted, and is that possible to make outter side use wallpaper and get blurred like miui?
[Xposed Framework Modules] thecoolkid:
Hi, could you maybe support double tapping menu for special action/small screen? That would be awesome for menu/recents hardware key of oneplus one ;)
[Xposed Framework Modules] :
Im having the same issue but you didn't provide enough info for anyone to understand the issue.

When Niwatori is enabled in exposed the vpn discoonect/info doesnt appear anymore. So if you connect to a VPN and then press on the VPN connection again a new window should pop up with disconnect button and some usage info but with Niwatori enabled that window never shows. So you basically cannot disconnect.
[Xposed Framework Modules] roee88:
Only working on some apps. For example, doesn't work on chrome or google messenger. Nexus 6P 6.0.1 PureNexus. Does it suppose to work system wide?

EDIT: Other than that, it's a fantastic module! Slide down functionality attached to back button long press makes phone usage so much easier. Thanks.
[Xposed Framework Modules] gnadenlos:
Chrome works without problems on my Nexus 6P. Both modes.
[Xposed Framework Modules] ioneng:
It took me half an hour to disable all my xposed module then enable each one to find out that Niwatori is the culprit for all my vpn problem. Dev please fix this if you can.
[Xposed Framework Modules] phaze3131:
So how exactly do I get these 3 modes, or for that matter, 1 of them activated so that I can try to manipulate my screen.

Alot of options, but no clear option on how to actually do anything to get started.

I have been trying the very last option which is extra action on recents and I try all of them, but my recent button just always functions as it normally does, nothing changes.
[Xposed Framework Modules] :
My one request would be to make the slide down a little bigger/taller. A+job dev!
[Xposed Framework Modules] Sunsparc:
I have a Nexus 6P with Marshmallow 6.0.1 and I can't get this to work. I'm rooted and installed the Xposed module, activated and rebooted, yet it's not working. If I put a widget on the homescreen or use GravityBox to set a nav bar action, neither works. It just sits there after clicking or activating the nav bar action.
[Xposed Framework Modules] henry_gale:
Could you consider making this an assistant app? So that we could activate Niwatori by long pressing home. Thanks!
[Xposed Framework Modules] MaZaGnGy:
+1

same
[Xposed Framework Modules] lucfig:
It is working fine with my nexus 6p.

I'm using Pure Nexus with Kylo kernel.

EDIT: [MENTION=5692104]tkgktyk[/MENTION] what the setting "Extra Action on Recents" is supposed to do? I think it is not working for me.

Enviado de meu Nexus 6P usando Tapatalk
[Xposed Framework Modules] lucfig:
After rebooting it is now working! This is awesome!

Is it possible to add an option to open the notification drawer when I swipe down in the outside area? Or another easy way to trigger the notification drawer.

Enviado de meu Nexus 6P usando Tapatalk
[Xposed Framework Modules] bonny_k-9:
Hello. Switching the provisions of the window left/ right only works at switched off the application? It looks like it is so. If it again to close, it do more impossible. Solve this. It is necessary probably do to startup device application included. Or do the launch of the application in the code that changes the system.
[Xposed Framework Modules] hassansaleem98:
Hi. Can anyone tell me how to make a VPN work with Niwatori (the xposed module)? I searched on xda and others have this issue as well. I checked my modules one by one and Niwatori stops VPNs. Is there any way to make VPNs work? Otherwise Niwatori is perfect. Except for the notification bar not being included in that...
[Xposed Framework Modules] hassansaleem98:
I use GravityBox and I've assigned short cuts. You can hold any of your navigation keys and set that to drop down the notification drawer or quick settings (or anything for that matter). You can also allow a menu key if you have an on screen navigation bar... No functions in Niwatori but hope that helps...
[Xposed Framework Modules] bonny_k-9:
I repeat request to double- touch out of the field of work when turned off the application. If you can not pass this function system, then make to in the double- touch is an application has entered, and already subsequent pressing the work.

---------- Post added at 10:25 AM ---------- Previous post was at 10:22 AM ----------

And no. Double-click works, but you need to start the application at the system once booted, it is not executed.
[Xposed Framework Modules] AllanFrench:
Only works with certain apps

Great app works well when it does, but won't work with chrome, play store or quickpic. My most used apps, its possible this is just some setting on my end but can't find. Please fix or let me know how to fix, would rate this five stars if it worked system wide.. Samsung GS3 4.4.4
[Xposed Framework Modules] tapa_t:
For some of you having problem with VPN, my experience might help;

(using Xperia Z3 compact on 5.1.1 mostly stock. May or may not work for everyone.)

It seems that Niwatori only interferes with the dialog OS is giving you for consent when you try to connect to a VPN.

For some reason, blacklisting VPNdialog in Niwatori doesn't work as it's supposed to. This is causing the problem of not being able to connect.

Luckily on 5.1.1, the dialog only appears when you are connecting to VPN for the first time for each app. Second time and after, it just connects without asking.

So, you can disable Niwatori, reboot, connect to VPN, whichever you are using, get past the dialog, shut it down, re-enable Niwatori, then reboot.

Niwatori should work, and VPN also connects without a hiccup.

May not work for all apps out there. Worked for OpenVPN connect and OpenVPN for Android.

If your system/app continues asking for consent the second time and after, you may consider using another xposed module 'xposed vpndialog', which automatically gives your consent when you connect to VPN. I used to use it, but don't remember it working with Niwatori, though.

There might be other modules/apps that completely bypass the VPN dialog. If there is one, that should be all you need.
[Xposed Framework Modules] bonny_k-9:
Not working Chrome Beta (+not working alternative mode)
[Xposed Framework Modules] bonny_k-9:
Not work in my Nexus 6p
[Xposed Framework Modules] patster98:
Hi im using a op3 and cant find any way to setup the shorcuts... How can u do this?
[Xposed Framework Modules] Lordinal82:
Looks promising, I'll try later.
[Xposed Framework Modules] XDAample:
is this mod discountinued?
[Xposed Framework Modules] tkgktyk:
Hi, I'm sorry I didn't log in xda for a long time. I come back to announce.

I don't use Xposed for some reason now, so this project is no longer maintained. But don't worry, I uploaded the source code at https://github.com/tkgktyk/Niwatori/tree/v0.4.

Thank you for your supports.
[Xposed Framework Modules] aillez:
Kinda sad but Thanks for effort. I still use this module every single day on My Note3

[emoji1] [emoji1] [emoji1]

Sent from my SM-N9005 CM13 ROM
[Xposed Framework Modules] guangyu.zhou:
Thanks for the nice sharing from tkgktyk! I've forked and updated the project to make it compatible with Nougat. I will post another thread to make this fantastic mod alive. Stay tune.
[Xposed Framework Modules] aillez:
Oh... that's great. Will walt for it. :)
[Xposed Framework Modules] @srmahunt:
Hi, will you change the gesture to activate the screen mode. Normally many apps use right screen edge as fast scroll so it activates accidentally. I tried using xposed edge and assigning custom gesture to start a screen mode activity but the mod crashes.
[Xposed Framework Modules] tkgktyk:
I added double-click, but GravityBox[LP] works very well to assign key actions. I recommend to use other app to fire actions.

Now the test category in my settings is only for few merit;

- Send broadcast directly (not via extra Activity) for actions.

- Reset automatically when an activity moves to background.

I'm sorry, but I don't understand your last sentence. What is the Donut version?
[Xposed Framework Modules] bonny_k-9:
Sorry, I wrote a typo. Donate. Premium vr.

---------- Post added at 08:28 PM ---------- Previous post was at 08:10 PM ----------

Long press, now is intercepted.

I put on double tap. Long press - to clear.

Long press now does so to run recent. And before that, as I said, to switch between the last two applications. Something can be done about it?

I can throw a file string to be translated into the language rus?

I also noticed a graphic, a bug that appeared in the latest version. When you open a recent application recently rolled down while twitches (jumps) panel with the name. Video - dropbox.com/s/2a1wp7jbitkoewr/screen-recording_20150223-203553.mp4
[Xposed Framework Modules] tkgktyk:
Locked settings are follows.

Initial position: customize the position when the window state is changed. (ex. start position of "Pin") screen attached.

Animation: smooth or fast movement.

Notify flying: draw green boundary or not.

I checked out the source code of CM12 and modified recents button's behavior. Probably, default double-tap action works well at v0.1.8.

Translation is very very welcome. I attached original file named 'strings_v0.1.7.zip' to this reply and 1st post of this thread. Please translate two files; strings.xml and strings_activity_settings.xml, and send me them. If possible, place edited files in your language folder. In this case, 'values-ru'. Note that text encoding of android is UTF-8.

For graphic issue, thank you for uploading the video, the animation is always smooth on my phone except for immediately after power-on. Are some busy jobs running on background on your phone?
[Xposed Framework Modules] bonny_k-9:
values-ru

---------- Post added at 08:34 PM ---------- Previous post was at 08:30 PM ----------

I do not understand ...

Here is a video when the power module(off module). Video - dropbox.com/s/8lu7l11z18np65x/screen-recording_20150224-203639.mp4

Do you think there is a graphical bug?
[Xposed Framework Modules] kylepsp:
Force closing on my moto x running stock lollipop
[Xposed Framework Modules] bgiesing:
[MENTION=5692104]tkgktyk[/MENTION] Doesn't work at all on BlissPop on my Moto G. Any ideas?
[Xposed Framework Modules] tkgktyk:
Thank you for translation. In next release, your strings are applied as attached image.

For the recent dialog's graphic, I saw it (twitches (jumps)) only when cpu is busy. but usually animate smoothly regardless of on/off module. Of cause module uses cpu to modify behavior, so I'll try to reduce processing.

What apps are closed? Niwatori's UI or other apps?

If Niwatori's UI crashes, use Google play version and send crash report to me please.

If other apps, send logs of Xposed framework to me please.
[Xposed Framework Modules] bgiesing:
For me, it isn't crashing, it just isn't doing anything!
[Xposed Framework Modules] tkgktyk:
Niwatori's UI works normally on your phone?

If Niwatori doesn't work as module, check log of Xposed framework and send it to me please.
[Xposed Framework Modules] bgiesing:
It doesn't show anything mentioning the app other than the initial loading. https://docs.google.com/file/d/0B3DhUCRnvErzU3BJZF93VGZ1NHM/edit?usp=docslist_api
[Xposed Framework Modules] tkgktyk:
Thank you for log. But as you say, there are no info:(

I'm going to add logs that show "working well" into next version. Please wait a couple of days.
[Xposed Framework Modules] bgiesing:
I finally got it working with some caveats:

1. Built-in navbar shortcuts don't work

2. Using BlissPop's navbar shortcuts also don't work

3. Using Pie, Gesture Everywhere, or the home screen with the shortcut works.

4. Long-press to pin doesn't work

5. Flying the quick settings and notifications don't work.
[Xposed Framework Modules] tkgktyk:
[MENTION=4155835]Jimmy34742[/MENTION], [MENTION=3219848]bgiesing[/MENTION];

You are using CyanogenMod or CyanogenMod based ROM, aren't you?

I got a CM11 device and fixed following issues.

status bar doesn't fly

home screen doesn't fly.

There are a little differences from your issues, but I expect that good effects will result.

Now I check whether these fixes cause bad effects on devices running AOSP. I'd like to release it tomorrow.

For 1 and 2, I think that niwatori's navbar shortcuts conflict with BlissPop's one. Please disable test switch on niwatori and reboot.

For 4, double tap to pin instead of long-press.
[Xposed Framework Modules] bgiesing:
Can't wait to test!

BlissPop released an update that fixed the navbar shortcuts.

Thanks!
[Xposed Framework Modules] kylepsp:
Niwatori, sent a crash log just now
[Xposed Framework Modules] tkgktyk:
Thanks, I modified my mod for it in v0.1.8 (already released). It was a bug of "In-app Billing" in my mod.

[MENTION=3219848]bgiesing[/MENTION];

I released v0.1.8 tested on CM11. Could you test behavior of status bar?
[Xposed Framework Modules] bgiesing:
It works fine! Thanks!
[Xposed Framework Modules] Jimmy34742:
Still doesn't work on my S4 with CM11.
[Xposed Framework Modules] bonny_k-9:
By The Way. Some applications due to its specific implementation status of the line does not look nice when they are moved. For example, Google Calendar. Is it possible to implement so that the size of the status of the line applications trim?

It is also interesting to know whether it is possible to implement all applications background - black when moving applications?

I updated the translation files for the new version of ru and corrected.

Available in the same place - drive.google.com

I also want to ask why the file is not inserted text (string) in the About?

There is also the opportunity to check box to remove the application from the launcher? Of course there are, but would you want to do it ...
[Xposed Framework Modules] tkgktyk:
Cloud you send logs of Xposed to me? I want to see whether there are some errors or not.

For status of the line, I also think so (looks bad). but It shows touchable region of app. so I don't fit the boundary to app's contents.

The rest I will answer after 12 hours.

ADDED[2nd March 2015, 12:57 PM]

The background is interesting. I'll implement it if I crop images. But I don't know the benefits of the check box. The launcher is home app for example? I think that the feature, hiding specified app, is usually implemented in launcher app.

Thank you for translation and I'll update Russian text by yours in next release. The text in the About is almost messages from me to you. So I want to leave my words there.
[Xposed Framework Modules] slayorktc:
Breaks lock screen shortcuts for camera/phone

I have been loving the double tap to pull the screen down halfway. Really slick. Unfortunately, I have had to disable this module because it breaks my phone and camera shortcuts on the lockscreen. I have a nexus6 and after enabling this module, the touch locations for those two shortcuts move to the very top of the screen, which interferes with the notification pull down. Please fix this!
[Xposed Framework Modules] Jimmy34742:
OK, PM'ed you the link to my Xposed log.
[Xposed Framework Modules] tkgktyk:
Thank you for your feedback!

I didn't know this bug until you said so. I'll fix it.

Thanks, I got your logs. I reply the details about log by PM.
[Xposed Framework Modules] xbox_clive:
Same here. This is the only issue I have with this module.
[Xposed Framework Modules] bonny_k-9:
Not all have this function, especially the standard.