Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,729,619 Members 46,573 Now Online
XDA Developers Android and Mobile Development Forum

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

Tip us?
 
LovewuChin
Old
(Last edited by LovewuChin; 13th February 2014 at 02:36 PM.) Reason: update version
#1  
LovewuChin's Avatar
Member - OP
Thanks Meter 252
Posts: 48
Join Date: Feb 2014
Post [APP][Xposed] XMultiWindow 1.6.0-- Like Omni's Splite View[UPDATE140213]

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:	37870
Size:	162.6 KB
ID:	2568411Click image for larger version

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

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

File:
1.6.0:
XMultiWindow.apk
The Following 223 Users Say Thank You to LovewuChin For This Useful Post: [ Click to Expand ]
 
Vuska
Old
#2  
Vuska's Avatar
Senior Member
Thanks Meter 61
Posts: 404
Join Date: Jul 2010
No download link ? No picture preview ?

Sent from Bandung
 

Android Phone : Samsung Galaxy Note II White
ROM :
Kernel : AGNi Kernel v.4.1

Android Phone : Samsung Galaxy S-III Pebble Blue
ROM : Version 6.2 ML4
Kernel : Boeffla kernel 5.2 Stable
The Following 2 Users Say Thank You to Vuska For This Useful Post: [ Click to Expand ]
 
LovewuChin
Old
#3  
LovewuChin's Avatar
Member - OP
Thanks Meter 252
Posts: 48
Join Date: Feb 2014
Quote:
Originally Posted by Vuska View Post
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: [ Click to Expand ]
 
MR.Samo
Old
#4  
Senior Member
Thanks Meter 172
Posts: 359
Join Date: Jan 2012
Take your time my friend cuz this is something we wait for it for ever.

Thank u so much
 
LovewuChin
Old
#5  
LovewuChin's Avatar
Member - OP
Thanks Meter 252
Posts: 48
Join Date: Feb 2014
Quote:
Originally Posted by MR.Samo View Post
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: [ Click to Expand ]
 
zst123
Old
#6  
Recognized Developer
Thanks Meter 2846
Posts: 436
Join Date: Aug 2013
Location: Singapore

 
DONATE TO ME
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).
Want Samsung-like MultiWindow on any ROM?
Try my XHaloFloatingWindow Xposed Module.


Nokia 2650 (2005/2006) → Nokia 6280 (2007/2008) → Nokia 6300 (2009/2010) → Nokia 5800 (2010/2011) →
Samsung Galaxy Ace (2012/2013/2014) → Chinese Samsung Galaxy S3 MT6575 Clone (2013) (charging port broke)

Current: Samsung Galaxy Ace with CM11 RC6
The Following 6 Users Say Thank You to zst123 For This Useful Post: [ Click to Expand ]
 
happiness4u
Old
(Last edited by happiness4u; 9th February 2014 at 10:48 AM.) Reason: fixed
#7  
happiness4u's Avatar
Senior Member
Thanks Meter 13
Posts: 112
Join Date: Sep 2013
Location: xbin/busybox
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.
 
LovewuChin
Old
#8  
LovewuChin's Avatar
Member - OP
Thanks Meter 252
Posts: 48
Join Date: Feb 2014
Quote:
Originally Posted by happiness4u View Post
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: [ Click to Expand ]
 
LovewuChin
Old
#9  
LovewuChin's Avatar
Member - OP
Thanks Meter 252
Posts: 48
Join Date: Feb 2014
Quote:
Originally Posted by zst123 View Post
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: [ Click to Expand ]
 
zst123
Old
#10  
Recognized Developer
Thanks Meter 2846
Posts: 436
Join Date: Aug 2013
Location: Singapore

 
DONATE TO ME
Quote:
Originally Posted by LovewuChin View Post
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?)
Want Samsung-like MultiWindow on any ROM?
Try my XHaloFloatingWindow Xposed Module.


Nokia 2650 (2005/2006) → Nokia 6280 (2007/2008) → Nokia 6300 (2009/2010) → Nokia 5800 (2010/2011) →
Samsung Galaxy Ace (2012/2013/2014) → Chinese Samsung Galaxy S3 MT6575 Clone (2013) (charging port broke)

Current: Samsung Galaxy Ace with CM11 RC6

The Following User Says Thank You to zst123 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes