Will Verduzco · Sep 18, 2013 at 02:30 pm

Use WindowManager to Create Floating Apps

We’ve seen much in the way of floating apps recently: Facebook’s Chat Heads, the revolutionary Halo interface by the Paranoid Android team, and all of the various floating mini apps that we’ve covered in the past. How would you like to incorporate similar functionality into your own app?

XDA Senior Member EatHeat presents a way to do so with an additional service that runs over all apps using WindowManager. He does so with a fully open source sample application. The example’s floating blob can be tweaked and its location can be changed to anywhere below the status bar. While the sample application targets API 10+ (Gingerbread MR1), EatHeat says that this should work just fine with older Android versions.

Head over to the example thread in our app development forums to learn more. From there, try out his sample application and visit his Github for the source code.

While you’re at it, make sure to check out EatHeat’s other guides on Robotium and auto-testing apps, as well as his Simple GridLayout library.. If you’re learning app development or would just like to hone your skills further, they’re more than worth a look.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician.
Emil Kako · Mar 29, 2015 at 06:47 pm · 3 comments

Has ART Made a Noticeable Jump in App Performance?

We've received mixed reports about switching to ART but it seems that the majority of users who make the jump see some type of improvement. But just how noticeable is this improvement in app performance? Let us know if switching to ART has brought noticeable changes to your device's performance.

DISCUSS
Aamir Siddiqui · Mar 29, 2015 at 06:02 pm · 2 comments

Samsung Galaxy S6 Edge Drop Test

The Samsung Galaxy S6 and Galaxy S6 Edge are already proving to be amongst the head turners of 2015. From favoring their inhouse Exynos 7 SoC over the Snapdragon 810 SoC (which ended up causing issues to its main rival); to ditching the removable battery and micro sd card slot in favor of a more "premium" device, the flagship duo have a lot going on for them at this stage. Regarding the premium redesign which replaced plastic with metal and glass,...

XDA NEWS
Mario Tomás Serrafero · Mar 29, 2015 at 12:02 pm · 1 comment

Sunday Debate: Corporate Cyanogen Good for Android?

Join us in a fun Sunday Debate on Cyanogen Inc. Come with your opinions and feel free to read some of our thoughts, then pick your side or play devil’s advocate to get your voice heard and engage in friendly discussion. You can read our food-for-thought or jump straight into the fray below!     CyanogenMod is widely recognized across XDA for its solid performance, great feature set and far-reaching (and also long-lasting) support for all sorts of devices, from...

XDA NEWS
Share This