[MOD][XPOSED][ICS/JB/KK] XHaloFloatingWindow v2.40

Search This thread

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
uc


This is not the complete halo. This is only the popup window

How to Launch in Floating Mode?
The module includes these SystemUI mods for your convenience:
1) Long Press Notifications: Adds a "Open in Halo" option when long pressing a notification
2) Single Click Notifications: Open your notifications directly in halo mode by single clicking
3) StatusBar TaskBar: Pin Apps into the notification panel for "quick launching"
(They are made for AOSP ROMs, so I cannot guarantee it will work for manufacture ROMs or custom ROMs.)
You can use apps that are created to launch apps in halo mode. Examples include Portal, Floatifications, Bubble Launcher, MultiWindowSidebar

Can't get more than one window to open at the same time (side by side)?
Are you on Android 4.4.0 / Android 4.4.1 / Android 4.4.2 / Any OmniROM versions ?
You need this patch to fix the bug. The module will fail to work properly without it

(Why? Read the 4th Post under "ROMs with Issues")​

Source code
This module is open-source
The sources can be found here

Developers, please help in the development by sending pull requests or creating an issue with tips, bug reports.
Translators, feel free to translate and send pull requests too.
(Please do not send compiled APKs with translations. Send strings.xml please (and tell me the language it is in))
For Developers
Launching Apps in Floating Mode
(In both Paranoid Android's Halo & in this module) Apps can be launched in floating mode using
Code:
intent.setFlag(0x00002000);
It is known as FLAG_FLOATING_WINDOW in Paranoid Android sources.
Note also that it is the same integer used in OmniROM's MultiWindow.

As of v2.28
You can launch apps directly snapped to the top/bottom/left/right of the screen with these codes
Code:
public final static int [COLOR="blue"]SIDE_LEFT[/COLOR] = [COLOR="SeaGreen"]1[/COLOR];
public final static int [COLOR="blue"]SIDE_TOP[/COLOR] =[COLOR="SeaGreen"]2[/COLOR];
public final static int [COLOR="blue"]SIDE_RIGHT[/COLOR] = [COLOR="SeaGreen"]3[/COLOR];
public final static int [COLOR="Blue"]SIDE_BOTTOM[/COLOR] = [COLOR="SeaGreen"]4[/COLOR];

intent.setFlag(0x00002000);
intent.putExtra(“com.zst.xposed.halo.floatingwindow.EXTRA_SNAP_SIDE", [COLOR="DarkRed"]*side*[/COLOR] );
where *side* is the integer of the respective side as specified above. It is derived from AeroSnap.java
Thanks (in order of importance)
rovo89 for Xposed Framework
Tungstwenty for Xposed codes samples
ParanoidAndroid Team for HALO codes
gflam for Movable and Resizable codes.
MohammadAG for Tinted StatusBar codes
XpLoDWilD for Multi-Window codes
Colt's Blog for this article
Microsoft for Aero Snap idea.
Samsung for Multi-Window idea.
XxnewflarexX my real-life friend for inspiration
All who posted in this thread and giving me ideas

(If I have missed out any body, feel free to contact me and I'll add you in)

XDA:DevDB Information
XHaloFloatingWindow, Xposed for the Android General

Contributors
zst123, zst123
Xposed Package Name:

Version Information
Status: Stable
Current Stable Version: v2.40
Stable Release Date: 2014-07-21

Created 2013-10-09
Last Updated 2014-07-23
 

Attachments

  • g4rUu4D.jpg
    g4rUu4D.jpg
    37.4 KB · Views: 100,836
  • device-2014-01-19-230858.png
    device-2014-01-19-230858.png
    95 KB · Views: 73,000
  • device-2014-01-26-181453.png
    device-2014-01-26-181453.png
    142.9 KB · Views: 115,564
  • device-2014-04-26-114438.png
    device-2014-04-26-114438.png
    81.4 KB · Views: 52,242
  • device-2014-04-22-004843.png
    device-2014-04-22-004843.png
    32.4 KB · Views: 50,229
Last edited:

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
Requirements
1) Have Xposed Framework Installed
2) Ability to read the 4th post (especially the "ROMs with Issues" section). <-- Seriously, I'm not joking

Setup Instructions
1) Download and Install XHaloFloatingWindow
3) Enable XHaloFloatingWindow in Xposed Installer
4) Restart device
5) If you have a ROM with Halo already bundled in, disable Halo
6) Test the module by going to "Testing Area" and open Settings.

Usage Instructions
You will need a "helper" app to launch apps in floating mode.
I recommend MultiWindowSidebar for a Samsung Multiwindow Experience
There are more ways to use this module:
Floating Notifications/Floatifications Guide by -Cupper-
Another Guide by Exedion

Can't get more than one window to open at the same time (side by side)?
Are you on Android 4.4.0 / Android 4.4.1 / Android 4.4.2 / Any OmniROM versions ?
You need this patch to fix the bug. The module will fail to work properly without it

(Why? Read the 4th Post under "ROMs with Issues")​

=

Want Samsung-like MultiWindow?
Follow these settings:
• Enable Movable & Resizable
• Go to Moving Settings
• Disable Allow ActionBar To Move
• Go to Resizing Settings
• Enable Snap-in Windows
• Enable Split Bar
• Install MultiWindowSidebar
• Change Drag Launch Mode inside MultiWindowSidebar to XHaloFloatingWindow (Portrait)
Usage:
• Drag 2 apps from the MultiWindowSidebar to the top and bottom of the screen
• A Samsung-like Split Bar will appear.
• Enjoy!​
 
Last edited:

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
Latest Changelog:

2.40 Beta - 21 July 2014 - 1935 GMT+8
• Replace Internal APIs references with Reflection:
--> Completely replaced usage of internal API's with reflection!
--> Update misc project files to remove internal API references
--> Cleanup deprecated codes
• Delay retrieval of ActivityManager, WindowManager (may reduce SystemUI FCs)
• Migrate basic window management code to an IPC service
• Initialize Window Resizing Outline later into the system boot
• Fix FC when resizing windows that are started snapped
• Fix bug on Kitkat where Recent Apps screen stays open when using "open in halo"
• Made Statusbar Taskbar's priority from high to max
• Cleanup Snap-in Window code
• Don't allow module to be moved to the SD Card
• Tweak first-use text (not shown in the app yet)
• Update Chinese (China+Taiwan) Translation by Pocket Fan


Older Changelog:



v2.38 - 09 June 2014 - 0925 GMT+8
• Add new gravity chooser
• Add base code for First Use Screen (not ready yet)
• Change Main Preference to a sliding navigation
• Change ActionBar to dark + Replace action bar icons with white ones
• Made popup alpha and popup dim preference live update
• Code Refactoring:
--> Optimized Movable Window hooks
--> Fix mistake in blacklist and whitelist
--> Revert "Simplify hook for the Testing Area."



2.36 Beta - 06 June 2014 - 2230 GMT+8
• Fix Xposed 2.6 issues on ICS
• Fix IllegalArgumentException thrown by Tinted Titlebar
• Fix bug where keyboard sometimes remain open when closing a window with the titlebar
Code Refactoring:
--> Simplify hook for the Testing Area.
--> Rearrange main hook load codes
--> Major Optimization to original Halo codes (Should speed things up)



2.34 Beta - 29 May 2014 - 2150 GMT+8
• Fix Compatibility with Xposed 2.6
• Fix FC of apps list on Samsung devices
• Fix rounding off error for preferences using percentage
• Fix bug when multiple activities are open and the titlebar is hidden (by maximizing), the previous activity continues showing it.
• Fix possible NPE in ActionBarColorHook
• Fix MultiWindow popup buttons being always white
• Fix IllegalArgumentException log spam by Tinted TitleBar
• Fix MultiWindow outline not being shown above the nav bar using Immerse Me
• Add option to use old icons for titlebar
• Add Option to treat apps as single windows. (pressing close on the titlebar will close the entire app)
• Move out Titlebar Snap Window options to individual items
• Add Portuguese Translation by DouglasGomes123
• Cleanup code




2.32 Beta - 14 May 2014 - 2320 GMT+8
• Change OverlayView to inflate using the module's context
• Change the SplitBar to use DPI in build.prop instead of per app DPI
• Add Snapped Apps List. (Access from the SplitBar buttons)
• Add New Titlebar icons (by @BachMinuetInG)
• Add "Galaxy Note 3"-like multi window dragger menu
• Add Colorable White Touch Drawables for Split Bar (thanks @BachMinuetInG)
• Fix Activity starting out unsnapped if it was previously resized
• Fix resizing outline shows but doesn't disappear when using the corner to close the window
• Fix Force Close when resizing window with AeroSnap disabled
• Fix Windows sometimes syncing when it is not in halo mode
• (Partial) Fix for SplitBar showing on top MultiWindowSidebar
• Revert "(Attempted) Fix for TitleBar going under status bar for TouchWiz devices" (since it didn't work)
• Revert "(Attempted) Fix for closing apps on shows an animation black screen glitch" (since it didn't work)
• Update German Translation (thanks @Schokonuss)
• Update Chinese (China/Taiwan) Translations (Thanks @Pocket Fan)


2.30 Beta - 26 April 2014 - 1200 GMT+8
• Add New Design for Split Bar
---- Make the bar look like Samsung Galaxy Note 3's Multiwindow
• Add Split Bar Color Option
• Add option to hide StatusBar Taskbar icon
• Add option to hide Titlebar when snapped
• Add option to hide Titlebar when maximized
• Add Window Position Syncing for Dialogs
• Fix Split Bar's Focused App Indicator not switching after using "Swap Windows"
• Fix Split Bar disappearing when pressing back
• Fix Overlay View being (sometimes) added more than once.
• Fix "Drag To Move" Bar not dragging when "Allow ActionBar to Move" is disabled
• Fix some apps not starting snapped directly when it is set (seen when using MultiWindowSidebar)
• Fix resizing while snapped doesn't restore previous size
• (Attempted) Fix for Overlay View not taking up entire window <-- Tell me if this works
• (Attempted) Fix for TitleBar going under status bar for TouchWiz devices <-- Tell me if this works
• (Attempted) Fix for closing apps on shows an animation black screen glitch <-- Tell me if this works
• Code Cleanups:
---- Catch a NPE in ActionBarColorHook
---- Memory Optimizations to Overlay View
---- Remove Titlebar from overlay view if not in use.
---- Code Cleanup to Split Bar
---- Optimize checking of halo flag & movable preferences
• Update Russian Translations (Thanks @migel13)
• Update Chinese (China/Taiwan) Translations (Thanks @Pocket Fan)
• Update German Translation (thanks @Schokonuss)



2.28 Beta - 14 April 2014 - 2145 GMT+8
• Add method to start apps directly snapped to sides (See OP for more details, "How to Launch in Floating Mode; For Developers")
• Add "Snap Window" Options to TitleBar's 3-dot menu
• Add Snap-in Window (2 finger) Swiping to next app (Not enabled by default because it is a little buggy)
• Move Movable & Resizable and Testing Settings into new actionbar drop-downs
• Fix some App Chooser crashes
• Fix Window Overlay Views not showing for some apps.
• Fix Snap-in Windows snapping to the wrong side after disabling "Retain Window Position on Start"
• Fix Split Bar Options auto showing when moving bar.
• Fix bug in split bar mode where tapping titlebar causes app to re-snap itself
• Fix Split Bar Swap Windows not swapping apps properly when one app has an even number of activities open
• Fix some bugs in Single/Long Click Notification Options
• Fix duplicated split bars sometimes occurring
• Fix App Choosers not showing apps with same name but different package
• Update Chinese (China/Taiwan) Translations (Thanks @Pocket Fan)
• Update German Translation (thanks @Schokonuss)
• Small optimization to code: Make objects (inherited from the activity) to constants



2.26 Beta - 21 March 2014 - 1100 GMT+8
• Add Focused App Indicator for Split Bar (Arrow points to the focused app, like in Samsung's multiwindow)
• Add Swap Windows, Reset Positions Option to Split Bar
• Add Snap Windows Option in Drag To Move Bar
• Fix Split Bar not working properly in landscape.
• Fix Split Bar not taking up entire screen width
• Fix Mistake in Tinted Title Bar (that caused it to stop working)
• Fix StatusbarTaskbar reloading running apps even when screen is off
• Fix Split Bar still visible after minimizing apps using the Home button
• Fix for apps always showing Drag To Move bar bug (eg. Gmail) :
--- Add alternative method to find views with tag
--- Allow TitleBar OnClickListener to use tags to find view
--- Fix for Transparency Dialog crashing (in apps with always showing Drag To Move bar bug)
• Code Cleanup + Optimization :
--- Move Movable & Resizable overlay to another view class
--- Move Transparency Dialog into a new XML file
--- Optimize Tinted TitleBar Codes
--- Catch Exception in MultiWindowDragger
--- Optimize retrieving overlay view in onResume
--- Optimize some codes to reduce memory usage
• Add Chinese Traditional Translations (thanks to Pocket Fan)
• Update Chinese Simplified Translations (thanks to Pocket Fan)
• Update German Translation (thanks to @Schokonuss)



2.24 Beta - 17 March 2014 - 2330 GMT+8
• Add Snap-in Split Bar
(A feature similar to Samsung's Multiwindow split bar but integrated to snap-in windows in this module)
• Add Statusbar Taskbar
(Thanks @pijulius for the original idea and codes. Thanks @DHM47 for some codes.)
• Cleanup PackageNameAdapter codes & Optimize AppAdapter
[Should fix Blacklist/Whitelist Force Closing]
• Optimize (Whitelist, Blacklist) App Loading
• Revert "Fix position not saved after starting app." from v2.22
[Fixes another bug for apps that use a splash screen (and did not get
touched by the user) and open the main screen without user interaction]
• Fix VPN problems when Tinted Titlebar is enabled
• Fix Snap-in Windows snapping before the blue outline is shown
• Change Snap-in Window Default Value to true
(so new users won't need to turn it on manually)
• Add Chinese Simplified Translations (by Pocket Fan)
• Add German Translation (by Schokonuss)



2.22 Beta - 28 February 2014 - 1630 GMT+8
• Add Tint Window Corners (set enabled by default)
• Add Italian Translation (thanks to Raffaa)
• Add Russian Translations (thanks to migel13)
• Fix NPE in changeTitleBarColor
• Fix Titlebar not being tinted instantly when app starts
• Fix app position not saved after starting app. (Constant Window Position)
• Fix "Constant Window Position" not working fully on corner triangle/quadrant drag
• Fix for Kitkat (All apps opening in halo with "Force New Windows in Halo" enabled) Bug
• Fix "Restore App" Notification not removed when restoring without using notifications
• Reduce Preference Retrieving for Constant Window/Retain Start Position
• Changed default value of these to true: (so new users won't be so confused)
(1) Disable Auto Close, (2) TitleBar Enabled, (3) Border Enabled, (4) Border Color
• Fixed Dependency of this:
(1) Quadrant Dependency



2.20 Beta - 26 January 2014 - 2330 GMT+8
• Add Tinted TitleBar Option (based on Tinted StatusBar by @MohammadAG)
• Add Option to Force Apps in Recents
• Add another Whitelist / Blacklist Option
[Blacklist all apps & only allow whitelisted apps to be opened in halo]
• Add Customizable TitleBar Separator (Thanks to @pijulius)
• Add option to toggle if app shows a notification in statusbar when you minimize it (Thanks to @pijulius)
[the "Restore Application, This floating app has been minimized" notification]
• Change "Hide Entire App" to "Minimize App" for Corner Actions.
[since we already have the option to enable/disable "Minimize to Statusbar"]
• Fix unsnapping windows sometimes not going back to original size (Snap-in Windows)
• Fix tapping on buttons without moving window cause it to be unsnapped (Snap-in Windows)
• Fix Maximizing Window when snapped causes a FC (Snap-in Windows)
• Fix titlebar not able to move window when "Allow ActionBar To Move" is disabled
• Fix top of window border hidden under titlebar


2.18 Beta - 12 January 2014 - 2300 GMT+8
• Add Whitelist / Blacklist Options
1) Always open apps in halo except blacklisted apps
2) Never open apps in halo except whitelisted apps
• Removed Previous TW fixes because it had no effect
• (Another Possible) Fix for TouchWiz Devices closing window on touch outside with movable windows.
• Fix Outline Resizing not showing correct size on Android 4.3+
• Fix 1 pixel gap in snap-in windows
• Fix Bug where Snap-in Windows is enabled on triangle/quadrant regardless of settings
• Optimize Minimizing App with notification
• Improve Blacklisting Code (if whitelist worked for you, then blacklist bug should be fixed.)
• Small Cleanups in code (Remove duplicated code, text)


2.16 Beta - 01 January 2014 - 1320 GMT+8
• Add Snap-in Windows (similar to Aero Snap) >> Video
• Add Whitelisting
• Add Outline Resizing (set to default, you can switch back to live resizing in the settings.)
• Remove checking if parent activity is halo if itself is already halo (speeds up launching)
• Fix Bottom-left resizer moving Window to the right on first touch and when dragging out of the screen
• Fix Window not restoring old size after maximizing
• Fix crash with some apps that launch a floating window. (especially on kitkat)
• Partially Fix gmail bug. (Titlebar may/may not show properly still.)
• Fix QuickSettings Mods for Non-Cyanogenmod-Based ROMs
• (possible) Fix for touchwiz touch outside bug


2.14 Beta - 28 December 2013 - 0020 GMT+8
• Fix Bug with Quick Settings using if Long Press option's preference box.
• Fix Bug with triangle not resizing properly when window is maximized
• Fix Bug where Drag To Move bar will be overlapped by the statusbar when at the very top
• Optimize + Fix Bottom-Left resizing by disabling animation inserted by Android
• Optimize Bottom-Right Resizing
• Optimize App Focus Changing
• Add Auto-Resize and Auto Re-position on Rotate. (very buggy)
(Some apps refuse to take note of the rotation change)
• Add TitleBar for Dragging with Close, Maximize, Minimize.

Merry Christmas!
2.12 Beta - 25 December 2013 - 0240 GMT+8

• Add Maximize App Option for Quadrant/Triangle Single/Long Press
• Add ability to drag using triangle/quadrant to move
• Add ability to disable dragging the actionbar to move
• Add Option in Drag To Move Bar to minimize app with notification. (slightly experimental)
• Fix bug where toggling movable windows only takes effect after restarting twice.
• Fix Bug where 1st Resizing moves app into the top-left / top-right corners


2.10 Beta - 22 December 2013 - 2115 GMT+8
• Attempt to prevent apps from noticing that another app has opened.
(Maybe helps prevent from acting weird when opening another app)
• Add Corner Action to Show Drag To Move Bar without hiding corners.
• Add Recent Apps Screen "Open in Halo" option
• Add Testing Screen to test opening apps and check if module loaded successfully
• Fix Transparency Slider Initial Text showing wrong value (100% all the time)
• Fix Single/Long Press Notification Exception when notification is updated (on ICS)
• Fix Bug where blacklisting system ui makes app focus changing fail to work
• Fix Bug where done button stops working after opening & closing new activity
• Fix disabling App Pausing on ICS
• (Untested) Possible Fix disabling App Pausing on TouchWiz.
• (Untested) Possible Fix for Bug where touching outside will close window even with resizing enabled


2.08 Beta - 19 December 2013 - 1140 GMT+8
• Backported Long/Single Press Notification Option to ICS
• Blacklist Apps to never open in floating mode.
(Really never, including "force new windows in halo")
• Option to Prevent Moving Home to the front (when using recent apps screen)
• Corner Actions for Transparency Slider and Hide Entire App
• Fix bug where closing an activity via the corner will break closing for other activity of same app
• Optimized SystemUI Restarting Method
• Changed App Description and some Settings Description


2.06 Beta - 10 December 2013 - 2240 GMT+8
• Fix Corner Actions "Close App" on ICS
• Use HW acceleration for app that support it to have smoother resizing.
• Add resizing for Quadrant.
• Allow Triangle/Quadrant to be hidden + to disable resizing.
• Add Customizable Border around movable window
• Add Single Click Action for Triangle
• Retain Window Position on Start
(When opening a new window of the same app, place them in the same position and size of the original.)
• Constant Window Position
(When resizing or moving a window, windows of the same app behind it will also be updated.)


2.04 Beta - 02 December 2013 - 2350 GMT+8
• Changed apps opening over halo into a preference.
• Fix Triangle Showing as Squares for ICS
• Added Choosable Action for Triangle Long Press
• Added Bottom Right Quadrant with Single/Long Press Option


2.02 Beta - 29 November 2013 - 0900 GMT+8
• Added Restart SystemUI Option (Requires Superuser permission)
• Fix Apps Opening in Fullscreen above Halo Window
• Optimized (quite a few) Reflections in App Launch
• Possible Fix for some apps still not showing resize triangle
• Option for Quick Settings to be open in floating mode.
(Also works with Cyanogenmod's Quick Access Ribbon)


2.00 Beta - 27 November 2013 - 0010 GMT+8
• KitKat Compatibility! ~90% Compatible.
• Major Code Optimization for faster app starting
• Re-did UI to an actual preference screen
• Fix Transparency Dialog Percentage showing in black for some apps
• Fix Triangle not showing on some apps
• Fix Triangle not touchable on some apps (eg. Google Play)
• Customizable Triangle Color, Transparency, Size
• Option to have Single Click Notifications to open in halo. Long press to "Open Normally"
• Option to Disable Auto Close on Screen Off or Home Press
• Option to Allow App to be shown in Recents


Changelogs for version 1.00 to version 1.24 are here


(Version No. are only even numbers, odd numbers are for testing between beta releases)
 
Last edited:

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
FAQ
Where's the HALO bubble like in ParanoidAndroid?
This is only the popup window. No bubble is included.See Instructions

Compatibility
Any ROM (ICS onwards)
There are some exceptions. Please see the ROMs with Issues below

ROMs with issues

All Kitkat ROMs
Some Kitkat ROMs prevent multiple windows from opening on the homescreen. This is ROM bug is present if your ROM does not contain the patch that was created on Jan 9, 2014.
Some ROMs (especially OmniROM hasn't included this fix until now Android 4.4.4)
Fix: Use this Xposed patch to fix this issue

ROMs with OmniROM Multi-window
OmniROM uses the same flag 0x00002000 for multiwindow. Therefore, the 2 will conflict.
No fix yet.
(it is planned to have an option to use a different flag in future versions)

ROMs with ParanoidAndroid HALO
ParanoidAndroid uses the same flag 0x00002000 for HALO. Therefore, both the ROM's codes and this module's code will run at the same time. This might cause some lag and slow-downs, but should not impact the functionality.
Disable Halo in the settings if possible​

ROMs with "Floating window with multitasking"
The code is mostly based on those in XHaloFloatingWindow. Therefore, both the ROM's codes and this module's code will run at the same time. The native code will "win" and this module will appear non-functional.
No fix yet
(it is planned to have an option to use a different flag in future versions)​

Samsung TouchWiz ROMs
Pauses app behind regardless of setting & movable and resizable windows close on touch outside
There are problems with Samsung Stock ROMs due to MultiWindow Codes conflicting.

If there are any issues and you would like to help in the development, please report in this thread.
 
Last edited:

hacker0377

Senior Member
Oct 27, 2012
364
386
27
I cannot find the halo bubble op.I already installed xposed framework and HALO ))).MY devices is Xperia j.android 4.1.2. Stock
your modded HALO is prase error in my xperia.so i use my modded HALo for 4.1.2 backported version.

Sent from my ST26i using xda premium
 

Attachments

  • Paranoid_Halo_1.3.apk
    44.5 KB · Views: 11,897
Last edited:
  • Like
Reactions: shadyshadow

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
I cannot find the halo bubble op.I already installed xposed framework and HALO ))).MY devices is Xperia j.android 4.1.2. Stock

Sent from my ST26i using xda premium
This is not the HALO bubble. This is the HALO Floating Window only. It is the one seen in the screen shots where apps open in a downnsized mode above your current app.
For HALO bubble, use Floating Notification which is compatible with this mod. You can then use "Launch apps in Halo window (Supported ROM's only)" in Settings of the Floating Notification app with this mod.

As for my HALO))) not working, I tried downloading it again and installing on my phone. It works for me. Maybe try redownloading and give more info on the error?
 

hacker0377

Senior Member
Oct 27, 2012
364
386
27
here are some screenshots of my devices :(
Screenshot_2013-08-25-10-40-18.jpg
Screenshot_2013-08-25-10-40-24.jpg
 

Attachments

  • Screenshot_2013-08-25-10-40-18.jpg
    Screenshot_2013-08-25-10-40-18.jpg
    52.4 KB · Views: 23,886
  • Screenshot_2013-08-25-10-40-24.jpg
    Screenshot_2013-08-25-10-40-24.jpg
    35.6 KB · Views: 23,015
  • Screenshot_2013-08-25-10-40-34.jpg
    Screenshot_2013-08-25-10-40-34.jpg
    16.2 KB · Views: 22,405
  • Screenshot_2013-08-25-10-41-00.jpg
    Screenshot_2013-08-25-10-41-00.jpg
    11.2 KB · Views: 21,742

hacker0377

Senior Member
Oct 27, 2012
364
386
27
This is not the HALO bubble. This is the HALO Floating Window only. It is the one seen in the screen shots where apps open in a downnsized mode above your current app.
For HALO bubble, use Floating Notification which is compatible with this mod. You can then use "Launch apps in Halo window (Supported ROM's only)" in Settings of the Floating Notification app with this mod.

As for my HALO))) not working, I tried downloading it again and installing on my phone. It works for me. Maybe try redownloading and give more info on the error?

i download three time your HALO )) apk and same prase error on my xperia 4.1.2.i will try later on my cm10.or Can you mod the HALO))) apk in my attachment on the above comment

EDITED

i look into the Android Mainfest.xml of your HALO))) apk and your min sdk version is 17 and target sdk version is 18,since sdk version of 4.1.2 is 16.i think your Modded HALO))) apk will not work in 4.1.2 device.i think.
 
Last edited:
  • Like
Reactions: berkeucvet

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
i download three time your HALO )) apk and same prase error on my xperia 4.1.2.i will try later on my cm10.or Can you mod the HALO))) apk in my attachment on the above comment

EDITED

i look into the Android Mainfest.xml of your HALO))) apk and your min sdk version is 17 and target sdk version is 18,since sdk version of 4.1.2 is 16.i think your Modded HALO))) apk will not work in 4.1.2 device.i think.

oh so that's where the problem is. can you confirm that pressing the menu button and clicking on open Xposed installer from XHaloFloatingWindow opens it in floating mode? if it does, the mod is working and Floating Notifications from Play Store will be able to make use of it. mean while, I will re-edit the APK for my modded HALO)))
 

hacker0377

Senior Member
Oct 27, 2012
364
386
27
oh so that's where the problem is. can you confirm that pressing the menu button and clicking on open Xposed installer from XHaloFloatingWindow opens it in floating mode? if it does, the mod is working and Floating Notifications from Play Store will be able to make use of it. mean while, I will re-edit the APK for my modded HALO)))

yes it open in floating mode when i open xposed instaler from menu of your XHFW.but it can only open xposed installer.not for others
 

UchihaKite

Senior Member
Oct 16, 2010
210
29
Not exactly sure why, but every application works except for Facebook lol

Sent from my HTC6435LVW using XDA Premium 4 mobile app
 
  • Like
Reactions: michaelg117

Therealkris

New member
Nov 23, 2012
4
0
Mostly working on my HTC One with TrickDroid 2.0 (Google Edition).

The popup shows up, but it does not dim the background.
 

zst123

Inactive Recognized Developer
Aug 20, 2013
442
3,309
Singapore
yes it open in floating mode when i open xposed instaler from menu of your XHFW.but it can only open xposed installer.not for others
Try this: https://docs.google.com/file/d/0B7CBSsJQIV5-VGJyNVpSLXg2UHc/edit

Can someone link me to the ported halo bubble..?

Sent from Navi

https://play.google.com/store/apps/details?id=robj.floating.notifications&hl=en


Not exactly sure why, but every application works except for Facebook lol

Sent from my HTC6435LVW using XDA Premium 4 mobile app
Yea. Still looking into facebook and some other large apps.

Mostly working on my HTC One with TrickDroid 2.0 (Google Edition).

The popup shows up, but it does not dim the background.

It does not dim? It can be changed from settings if it does not dim.
or it Blackens to opaque? That means your ROM has a changed "fullscreen" field in "com.android.server.am.ActivityRecord". I'll look into the source codes and update my mod if so.
 
Last edited:

hacker0377

Senior Member
Oct 27, 2012
364
386
27
Try this: https://docs.google.com/file/d/0B7CBSsJQIV5-VGJyNVpSLXg2UHc/edit



https://play.google.com/store/apps/details?id=robj.floating.notifications&hl=en



Yea. Still looking into facebook and some other large apps.



It does not dim? It can be changed from settings if it does not dim.
or it Blackens to opaque? That means your ROM has a changed "fullscreen" field in "com.android.server.am.ActivityRecord". I'll look into the source codes and update my mod if so.

thz you.i will try.i will help you in future :D.thz for your hard work :D Good luck
 
  • Like
Reactions: zst123

Top Liked Posts

  • There are no posts matching your filters.
  • 482
    uc


    This is not the complete halo. This is only the popup window

    How to Launch in Floating Mode?
    The module includes these SystemUI mods for your convenience:
    1) Long Press Notifications: Adds a "Open in Halo" option when long pressing a notification
    2) Single Click Notifications: Open your notifications directly in halo mode by single clicking
    3) StatusBar TaskBar: Pin Apps into the notification panel for "quick launching"
    (They are made for AOSP ROMs, so I cannot guarantee it will work for manufacture ROMs or custom ROMs.)
    You can use apps that are created to launch apps in halo mode. Examples include Portal, Floatifications, Bubble Launcher, MultiWindowSidebar

    Can't get more than one window to open at the same time (side by side)?
    Are you on Android 4.4.0 / Android 4.4.1 / Android 4.4.2 / Any OmniROM versions ?
    You need this patch to fix the bug. The module will fail to work properly without it

    (Why? Read the 4th Post under "ROMs with Issues")​

    Source code
    This module is open-source
    The sources can be found here

    Developers, please help in the development by sending pull requests or creating an issue with tips, bug reports.
    Translators, feel free to translate and send pull requests too.
    (Please do not send compiled APKs with translations. Send strings.xml please (and tell me the language it is in))
    For Developers
    Launching Apps in Floating Mode
    (In both Paranoid Android's Halo & in this module) Apps can be launched in floating mode using
    Code:
    intent.setFlag(0x00002000);
    It is known as FLAG_FLOATING_WINDOW in Paranoid Android sources.
    Note also that it is the same integer used in OmniROM's MultiWindow.

    As of v2.28
    You can launch apps directly snapped to the top/bottom/left/right of the screen with these codes
    Code:
    public final static int [COLOR="blue"]SIDE_LEFT[/COLOR] = [COLOR="SeaGreen"]1[/COLOR];
    public final static int [COLOR="blue"]SIDE_TOP[/COLOR] =[COLOR="SeaGreen"]2[/COLOR];
    public final static int [COLOR="blue"]SIDE_RIGHT[/COLOR] = [COLOR="SeaGreen"]3[/COLOR];
    public final static int [COLOR="Blue"]SIDE_BOTTOM[/COLOR] = [COLOR="SeaGreen"]4[/COLOR];
    
    intent.setFlag(0x00002000);
    intent.putExtra(“com.zst.xposed.halo.floatingwindow.EXTRA_SNAP_SIDE", [COLOR="DarkRed"]*side*[/COLOR] );
    where *side* is the integer of the respective side as specified above. It is derived from AeroSnap.java
    Thanks (in order of importance)
    rovo89 for Xposed Framework
    Tungstwenty for Xposed codes samples
    ParanoidAndroid Team for HALO codes
    gflam for Movable and Resizable codes.
    MohammadAG for Tinted StatusBar codes
    XpLoDWilD for Multi-Window codes
    Colt's Blog for this article
    Microsoft for Aero Snap idea.
    Samsung for Multi-Window idea.
    XxnewflarexX my real-life friend for inspiration
    All who posted in this thread and giving me ideas

    (If I have missed out any body, feel free to contact me and I'll add you in)

    XDA:DevDB Information
    XHaloFloatingWindow, Xposed for the Android General

    Contributors
    zst123, zst123
    Xposed Package Name:

    Version Information
    Status: Stable
    Current Stable Version: v2.40
    Stable Release Date: 2014-07-21

    Created 2013-10-09
    Last Updated 2014-07-23
    100
    FAQ
    Where's the HALO bubble like in ParanoidAndroid?
    This is only the popup window. No bubble is included.See Instructions

    Compatibility
    Any ROM (ICS onwards)
    There are some exceptions. Please see the ROMs with Issues below

    ROMs with issues

    All Kitkat ROMs
    Some Kitkat ROMs prevent multiple windows from opening on the homescreen. This is ROM bug is present if your ROM does not contain the patch that was created on Jan 9, 2014.
    Some ROMs (especially OmniROM hasn't included this fix until now Android 4.4.4)
    Fix: Use this Xposed patch to fix this issue

    ROMs with OmniROM Multi-window
    OmniROM uses the same flag 0x00002000 for multiwindow. Therefore, the 2 will conflict.
    No fix yet.
    (it is planned to have an option to use a different flag in future versions)

    ROMs with ParanoidAndroid HALO
    ParanoidAndroid uses the same flag 0x00002000 for HALO. Therefore, both the ROM's codes and this module's code will run at the same time. This might cause some lag and slow-downs, but should not impact the functionality.
    Disable Halo in the settings if possible​

    ROMs with "Floating window with multitasking"
    The code is mostly based on those in XHaloFloatingWindow. Therefore, both the ROM's codes and this module's code will run at the same time. The native code will "win" and this module will appear non-functional.
    No fix yet
    (it is planned to have an option to use a different flag in future versions)​

    Samsung TouchWiz ROMs
    Pauses app behind regardless of setting & movable and resizable windows close on touch outside
    There are problems with Samsung Stock ROMs due to MultiWindow Codes conflicting.

    If there are any issues and you would like to help in the development, please report in this thread.
    98
    Requirements
    1) Have Xposed Framework Installed
    2) Ability to read the 4th post (especially the "ROMs with Issues" section). <-- Seriously, I'm not joking

    Setup Instructions
    1) Download and Install XHaloFloatingWindow
    3) Enable XHaloFloatingWindow in Xposed Installer
    4) Restart device
    5) If you have a ROM with Halo already bundled in, disable Halo
    6) Test the module by going to "Testing Area" and open Settings.

    Usage Instructions
    You will need a "helper" app to launch apps in floating mode.
    I recommend MultiWindowSidebar for a Samsung Multiwindow Experience
    There are more ways to use this module:
    Floating Notifications/Floatifications Guide by -Cupper-
    Another Guide by Exedion

    Can't get more than one window to open at the same time (side by side)?
    Are you on Android 4.4.0 / Android 4.4.1 / Android 4.4.2 / Any OmniROM versions ?
    You need this patch to fix the bug. The module will fail to work properly without it

    (Why? Read the 4th Post under "ROMs with Issues")​

    =

    Want Samsung-like MultiWindow?
    Follow these settings:
    • Enable Movable & Resizable
    • Go to Moving Settings
    • Disable Allow ActionBar To Move
    • Go to Resizing Settings
    • Enable Snap-in Windows
    • Enable Split Bar
    • Install MultiWindowSidebar
    • Change Drag Launch Mode inside MultiWindowSidebar to XHaloFloatingWindow (Portrait)
    Usage:
    • Drag 2 apps from the MultiWindowSidebar to the top and bottom of the screen
    • A Samsung-like Split Bar will appear.
    • Enjoy!​
    56
    Thanks for reading through all the posts!
    Reserved :)