Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,806,072 Members 47,069 Now Online
XDA Developers Android and Mobile Development Forum

[APP][4.0+] MultiWindowSidebar v1.3 - Samsung-like MultiWindow Sidebar

Tip us?
 
zst123
Old
(Last edited by zst123; 6th June 2014 at 09:18 AM.)
#1  
Recognized Developer - OP
Thanks Meter 2,923
Posts: 437
Join Date: Aug 2013
Location: Singapore

 
DONATE TO ME
Default [APP][4.0+] MultiWindowSidebar v1.3 - Samsung-like MultiWindow Sidebar

MultiWindow Sidebar

This app is a sidebar app that mimics the Samsung MultiWindow FlashBar.
This app supports all devices, Android 4.0 and above, although it is made specially to complement XMultiWindow & XHaloFloatingWindow Xposed Modules.
If you use XMultiWindow or XHaloFloatingWindow modes, you can launch a split view app by dragging the icon out of the sidebar to the top or bottom.

Instructions
After Installing, please do this initial setup
• Choose the apps to appear in the sidebar with Select Apps
• Choose the method to launch apps using App Launch Mode
• (Optional) Enable Start on Boot
• Start the sidebar using Toggle Service

To Launch Apps, there are 2 modes.
• Tap an app to open it
• Drag an app to the respective location on the screen
You can customize what apps (PA Halo, XHaloFloatingWindow, XMultiWindow or Normally) to open when tapping or dragging


• You can remap the keys with XButtonActions or GravityBox to call the "Toggle MultiWindowSidebar" icon.
Remap the long press back button to have a Samsung-style experience

• To show and hide the sidebar, you can call also these intents using gesture apps or remapping your device's keys.
 
Quote:
To Start:
com.zst.app.multiwindowsidebar.START

To Stop:
com.zst.app.multiwindowsidebar.STOP

To start is the sidebar is running and stop if the sidebar is not running:
com.zst.app.multiwindowsidebar.TOGGLE

Screenshots
(In the attachments)

Source Code
This module is open-source, licensed under GPLv3. The source can be found here

• Developers: You may contribute by sending pull-requests or opening an issue with coding tips.
• Translators: You may contribute your translations by sending pull-requests or posting the file in this thread. The file to translate can be found here

Special Thanks
@EatHeat for his Floating Example
@LovewuChin for some codes I took from him
Samsung for MultiWindow Flashbar (Took the image resources from Galaxy Note 3)
@jazzespresso for the launcher icons
If I have missed out anyone that should be thanked, feel free to PM me and I will add it in
Attached Thumbnails
Click image for larger version

Name:	device-2014-06-05-235851.png
Views:	7049
Size:	93.0 KB
ID:	2783376   Click image for larger version

Name:	device-2014-06-05-121345.png
Views:	6023
Size:	61.4 KB
ID:	2783377   Click image for larger version

Name:	device-2014-06-05-121312.png
Views:	4238
Size:	74.2 KB
ID:	2783378   Click image for larger version

Name:	device-2014-06-05-120915.jpg
Views:	4512
Size:	33.3 KB
ID:	2783379   Click image for larger version

Name:	device-2014-06-05-120903.jpg
Views:	4061
Size:	32.9 KB
ID:	2783381  

Click image for larger version

Name:	device-2014-06-05-120858.jpg
Views:	3867
Size:	33.1 KB
ID:	2783382   Click image for larger version

Name:	device-2014-06-05-120800.jpg
Views:	4321
Size:	55.4 KB
ID:	2783383   Click image for larger version

Name:	device-2014-06-05-114636.jpg
Views:	4998
Size:	34.2 KB
ID:	2783384  
The Following 130 Users Say Thank You to zst123 For This Useful Post: [ Click to Expand ]
 
zst123
Old
(Last edited by zst123; 6th June 2014 at 09:13 AM.)
#2  
Recognized Developer - OP
Thanks Meter 2,923
Posts: 437
Join Date: Aug 2013
Location: Singapore

 
DONATE TO ME
Newest Changelog

Version 1.3 (06 June 2014 / 1610 / GMT+8)
• Add Galaxy S4 theme
• Add Galaxy S5 theme (Thanks xPr0metheus for helping)
• Add long press tab to drag sidebar to another side
• Allow sidebar position to be changed without restarting service
• Allow sidebar theme to be changed without restarting service
• Increase sensitivity of click tab to close sidebar function
• Decrease move sensitivity of tab (hidden sidebar)
• Fix FC when stopping the service while the sidebar is open
• Fix XMultiWindow Mode detecting landscape as portrait
• Remove duplicated "Main" and "Appearance" headers in the settings
• Cleanup Code
• Add Russian Translation by @megakaban
• Update French Translation by @Micks29

Older Changelog
 


Version 1.2 (25 May 2014 / 1145 / GMT+8)
• Add New Launcher Icons (by @jazzespresso)
• Add persisting of tab last location on the screen
• Add new swipe preference layout
• Add Tab Transparency option when sidebar is hidden
• Add Tap / Drag Launch Modes
——— Separate the launch modes for tapping an icon and dragging an icon.
• Add XHFW/XMW Sides Tap/Drag Option
——— Add option for XHFW tap to launch at the top/bottom/left/right
——— Add option for XMW tap to launch at the top/bottom
——— Add option for XHFW drag to be in landscape for tablets.
• Make Sidebar go above status bar
• Move Toggle Service to an action bar button.
• Update French Translation by @Micks29
• Update Turkish Translation by @o-w-a (Barış Cem Baykara)

Thanks a ton for translating this app


Version 1.1 (15 May 2014 / 1710 / GMT+8)
• Fix sidebar not refreshing when Label Size is changed
• Fix Memory Leak in App Chooser Dialog
• Use Context instead of Activity in AppListAdapter's constructor
• Try not to get the sidebar killed by the system
• Optimize code to reduce some memory usage
• Make the Group App Icons layered like Samsung's
• Add option to change App Labels Color
• Add option to change number of columns
• Add Inverted Sidebar Theme (Thanks to @foreverloco)
• Add Open/Close Intents added (see OP)
• Add "Toggle MultiWindowSidebar" launcher icon
(You can use XButtonActions or GravityBox to remap device keys to trigger this when long pressing back button to have a Samsung-style experience)
• Add swipe and click tab to close sidebar
• Add option to Keep Service In Background by using a notification
(If you do not want a notification, use App Settings Xposed Module and enable "Keep in memory" for this app)
• Add Korean Translation by @BL4CKB0X
• Add French Translation by @Micks29
• Add German Translation by @Maxr1998
• Add Simplified Chinese Translation by @NimitzDEV
• Add Traditional Chinese Translation by @waihung0626
• Add Brazilian Portuguese Translation by @meatboy371
• Add Turkish Translation by @cembaykara (Barış Cem Baykara)

-------------------------------------------------------------------

Version 1.0 (24 April 2014 / 1645 / GMT+8)
• First Version

-------------------------------------------------------------------


Downloads
Latest Download: in the attachments
Older Downloads: My Google Drive

(If you would like to mirror this, I'm okay with that as long as you link back to the original thread so users can download the latest version.)
Attached Files
File Type: apk MultiWindowSidebar_v1.3_060614.apk - [Click for QR Code] (471.5 KB, 18795 views)
The Following 63 Users Say Thank You to zst123 For This Useful Post: [ Click to Expand ]
 
pemell
Old
#3  
pemell's Avatar
Senior Member
Thanks Meter 392
Posts: 990
Join Date: Jan 2012
Location: Gothenburg

 
DONATE TO ME
@zst123

Wow, this is what I've been waiting for. Huge thanks mate! Will try it and see how it works.
__________________________________________________

Team SlimRoms

Follow me:
__________________________________________________
The Following User Says Thank You to pemell For This Useful Post: [ Click to Expand ]
 
nightstorm8x
Old
#4  
nightstorm8x's Avatar
Senior Member
Thanks Meter 377
Posts: 944
Join Date: Oct 2012
Location: Hà Nội

 
DONATE TO ME
Pls added option to removed icon app from appdraw. Beautyfull app, like this thanks dev
 
pemell
Old
#5  
pemell's Avatar
Senior Member
Thanks Meter 392
Posts: 990
Join Date: Jan 2012
Location: Gothenburg

 
DONATE TO ME
@zst123 where do you want us to give the feedback? Here or in the XHaloFloatingWindow (If we uses it in contention with this app)?
__________________________________________________

Team SlimRoms

Follow me:
__________________________________________________
 
pemell
Old
#6  
pemell's Avatar
Senior Member
Thanks Meter 392
Posts: 990
Join Date: Jan 2012
Location: Gothenburg

 
DONATE TO ME
Quote:
Originally Posted by pemell View Post
@zst123 where do you want us to give the feedback? Here or in the XHaloFloatingWindow (If we uses it in contention with this app)?
Anyway here is my first report: working very buggy together with XHaloFloatingWindow.

See the YouTube video:

https://www.youtube.com/watch?v=iPZvlxS_dRM

You can see my setup in the screenshot below.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2014-04-24-12-08-44.png
Views:	3182
Size:	123.2 KB
ID:	2705739  
__________________________________________________

Team SlimRoms

Follow me:
__________________________________________________
The Following User Says Thank You to pemell For This Useful Post: [ Click to Expand ]
 
Farshid-Iran
Old
#7  
Farshid-Iran's Avatar
Member
Thanks Meter 5
Posts: 80
Join Date: Dec 2013
Location: Gilan/Lahijan
hi
.
pls add long press to kill app(force stop) and removed form list...
.
.
.
.
and add recent app in side bar...

thanks for app
 
zst123
Old
#8  
Recognized Developer - OP
Thanks Meter 2,923
Posts: 437
Join Date: Aug 2013
Location: Singapore

 
DONATE TO ME
Quote:
Originally Posted by pemell View Post
Anyway here is my first report: working very buggy together with XHaloFloatingWindow.

See the YouTube video:

https://www.youtube.com/watch?v=iPZvlxS_dRM

You can see my setup in the screenshot below.
There are 2 bugs.
1) Chrome opening in center and not the top: This is XHaloFloatingWindow bug. I have already come up with a fix. It will be in the next version.
2) Only 1 app shows at a time: This is the Kitkat homescreen visibility bug. You can fix it by using this Xposed module

Quote:
Originally Posted by nightstorm8x View Post
Pls added option to removed icon app from appdraw. Beautyfull app, like this thanks dev
If we remove the icon, how do we open the settings?
Is there anyone who owns an Xperia P and is willing to test a ROM I compiled? PM me please

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 2 Users Say Thank You to zst123 For This Useful Post: [ Click to Expand ]
 
pemell
Old
#9  
pemell's Avatar
Senior Member
Thanks Meter 392
Posts: 990
Join Date: Jan 2012
Location: Gothenburg

 
DONATE TO ME
Quote:
Originally Posted by zst123 View Post
There are 2 bugs.
1) Chrome opening in center and not the top: This is XHaloFloatingWindow bug. I have already come up with a fix. It will be in the next version.
2) Only 1 app shows at a time: This is the Kitkat homescreen visibility bug. You can fix it by using this Xposed module


If we remove the icon, how do we open the settings?
Ok. I find some other issues too, maybe they are related and fixed with the chrome fix you're talking about.

Anyway, here's a video:

https://www.youtube.com/watch?v=crneyhTU0Dk
__________________________________________________

Team SlimRoms

Follow me:
__________________________________________________
The Following User Says Thank You to pemell For This Useful Post: [ Click to Expand ]
 
xPr0metheus
Old
(Last edited by xPr0metheus; 24th April 2014 at 02:06 PM.)
#10  
xPr0metheus's Avatar
Senior Member
Thanks Meter 316
Posts: 1,302
Join Date: Oct 2012
@zst123 aweeeesoooome!

Some requests:
- a swipe back gesture over the icon to hide the bar.
- bar always in fullscreen so that there is no movement when entering fullscreen apps:


- a hide feature

Here a screenshot of multiwindow power


Sent from my SM-G900P using Tapatalk

---------- Post added at 03:02 PM ---------- Previous post was at 02:22 PM ----------

Video with bugs:
http://youtu.be/CCKnZzqr-KA
Additionally to the the already mentioned bugs I found some more:

- mw splitbar overlapping original Samsung mw icon, the new mw icon and both sidebars
- splitbar doesn't show the arrow
- when I open the gallery (doesn't find another app with that behavior yet) the other window turns black
- it's not possible to open two instances of one app although the app supports that (for example s browser)
Sent from my SM-G900P using Tapatalk
Laa shay'a waqui'n moutlaq bale kouloun moumkine.
(Nothing is true, everything is permitted)


Subscribe to my channel on YouTube: https://www.youtube.com/user/LazyPoet91
Like me on Facebook: https://www.facebook.com/LazyPoet1991
Follow me on Twitter: https://twitter.com/LazyPoet91


Samsung SM-N9005 Galaxy Note 3

 
Samsung GT-N8020 Note 10.1 LTE
Samsung GT-I9505 Galaxy S4
Samsung GT-I9300 Galaxy S3
Samsung GT-I9100 Galaxy S2

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

Advanced Search
Display Modes