Post Reply

Post [APP][Xposed] XMultiWindow 1.6.0-- Like Omni's Splite View[UPDATE140213]

OP LovewuChin

9th February 2014, 10:00 AM   |  #1  
LovewuChin's Avatar
OP Member
Thanks Meter: 266
 
48 posts
Join Date:Joined: Feb 2014
Here is a Xposed module, which port omni's splite view to other ROM.

Features:
*Support splite view and work with two workspace.
*Switch app into splite view in any situations.
*Could switch landscape and portrait.
*Support use SideBar to use.
*Sidebar Settings.

Note:
*Now,two workspace is perfect.
*MIUI user plaes allow floating window.

How to use(please install xposed before):
*FIRST,click the preference item to open the SideBar.
*THEN,you can slide from left to right and open SideBar window.
*AT LAST,you just set the SideBar window position and enjoy splite view.

Test:
*MIUI work fine.
*stock rom work fine.

Thanks to:
*@zst123(I based on his halo float window)

Change Log:
BETA-1.0.0:
*base usage.
*floting window control.

BETA-1.0.1:
*update display.
*support instruction.

BETA-1.0.2:
*fix landscape and portrait.

1.1.0
*fix sub activity'problem,close to perfect(all thanks to zst123)
*fix other devices' resolution.
*fix conflict with xhalo and omni and halo and samsung.(i change the flags that diffrent other).

1.5.0
*NEW:add SideBar and earily to use.
*clean code

1.6.0:
*NEW:Sidebar update and add Sidebar Settings
*code clean.

BUG List:
*some app not work(like fuubo and at present one)
**if exist two app,and one of them couldn't touch item.

Download page:
http://repo.xposed.info/module/com.l...d.xmultiwindow
Click image for larger version

Name:	MI_20140209_180253.png
Views:	45043
Size:	162.6 KB
ID:	2568411Click image for larger version

Name:	device-2014-02-08-143352.jpg
Views:	41818
Size:	112.2 KB
ID:	2568418Click image for larger version

Name:	MI_20140211_213509.jpg
Views:	31857
Size:	86.2 KB
ID:	2572868

File:
1.6.0:
XMultiWindow.apk
Last edited by LovewuChin; 13th February 2014 at 02:36 PM. Reason: update version
The Following 237 Users Say Thank You to LovewuChin For This Useful Post: [ View ]
9th February 2014, 10:25 AM   |  #2  
Vuska's Avatar
Senior Member
Thanks Meter: 62
 
415 posts
Join Date:Joined: Jul 2010
More
No download link ? No picture preview ?

Sent from Bandung
The Following 2 Users Say Thank You to Vuska For This Useful Post: [ View ]
9th February 2014, 10:27 AM   |  #3  
LovewuChin's Avatar
OP Member
Thanks Meter: 266
 
48 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by Vuska

No download link ? No picture preview ?

Sent from Bandung

I am newer and uploading now
The Following 8 Users Say Thank You to LovewuChin For This Useful Post: [ View ]
9th February 2014, 10:31 AM   |  #4  
Senior Member
Thanks Meter: 172
 
359 posts
Join Date:Joined: Jan 2012
Take your time my friend cuz this is something we wait for it for ever.

Thank u so much
9th February 2014, 10:34 AM   |  #5  
LovewuChin's Avatar
OP Member
Thanks Meter: 266
 
48 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by MR.Samo

Take your time my friend cuz this is something we wait for it for ever.

Thank u so much

but it also has some bugs and i coudn't solve it,i really hope some one can help me
The Following 4 Users Say Thank You to LovewuChin For This Useful Post: [ View ]
9th February 2014, 10:43 AM   |  #6  
Recognized Developer
Flag Singapore
Thanks Meter: 2,969
 
437 posts
Join Date:Joined: Aug 2013
Donate to Me
More
Great work dev! Haha. I knew someone will create this!
I think you should say that this uses the same 0x2000 flag as Halo and will conflict with ROMs with halo.
Request to use 0x1000 (so it will not conflict and we will have best of both).
The Following 6 Users Say Thank You to zst123 For This Useful Post: [ View ]
9th February 2014, 10:43 AM   |  #7  
happiness4u's Avatar
Senior Member
Flag xbin/busybox
Thanks Meter: 15
 
115 posts
Join Date:Joined: Sep 2013
More
Can you upload your file here? The browser can't parse the address posted man.

Edit: already downloaded from repo now. Gonna try it later. Thanks OP.
Last edited by happiness4u; 9th February 2014 at 10:48 AM. Reason: fixed
9th February 2014, 10:52 AM   |  #8  
LovewuChin's Avatar
OP Member
Thanks Meter: 266
 
48 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by happiness4u

Can you upload your file here? The browser can't parse the address posted man.

Edit: already downloaded from repo now. Gonna try it later. Thanks OP.

as you can see,i am a new and i could write links.
and i'll uplode file immediately.
The Following 2 Users Say Thank You to LovewuChin For This Useful Post: [ View ]
9th February 2014, 10:57 AM   |  #9  
LovewuChin's Avatar
OP Member
Thanks Meter: 266
 
48 posts
Join Date:Joined: Feb 2014
Quote:
Originally Posted by zst123

Great work dev! Haha. I knew someone will create this!
I think you should say that this uses the same 0x2000 flag as Halo and will conflict with ROMs with halo.
Request to use 0x1000 (so it will not conflict and we will have best of both).

i think i use a not good way to solve this problem because i use two flag with two view,and the two position will conflict,and the most problem is that the subactivity couldn't add to the pointing view,could you help me?
The Following 2 Users Say Thank You to LovewuChin For This Useful Post: [ View ]
9th February 2014, 11:08 AM   |  #10  
Recognized Developer
Flag Singapore
Thanks Meter: 2,969
 
437 posts
Join Date:Joined: Aug 2013
Donate to Me
More
Quote:
Originally Posted by LovewuChin

i think i use a not good way to solve this problem because i use two flag with two view,and the two position will conflict,and the most problem is that the subactivity couldn't add to the pointing view,could you help me?

In your ActivityRecord class hook, you can use these to check. Then use taskAffinity (I refer to my source code)

Code:
boolean top_window = (i.getFlags() & 0x2000) == 0x2000;
boolean bottom_window = (i.getFlags() & 0x1000) == 0x1000;
....
....

if ( (top_window || bottom_window) && taskAffinity ) {
						Field intentField = param.thisObject.getClass().getDeclaredField("intent");
						intentField.setAccessible(true);
						Intent newer = (Intent) intentField.get(param.thisObject);
						if (top_window) {
						newer.addFlags(0x2000);
						}
						if (bottom_window) {
						newer.addFlags(0x1000);
						}
						intentField.set(param.thisObject, newer);
						floatingWindow = true;
					}

You can try this and see if it works.

(On a side note, do you speak chinese?)

The Following User Says Thank You to zst123 For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Xposed Framework Modules by ThreadRank