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. View willverduzco's posts and articles here.
Emil Kako · Apr 27, 2015 at 12:26 pm · 5 comments

Do You Use 4:3 or 16:9 in the Camera App?

Every person has their own method of taking the best photos on their devices, but which aspect ratio is best when taking photos on your smartphone camera? Let us know whether you prefer to use 4:3 or 16:9 and why in the comments below.

DISCUSS
Aamir Siddiqui · Apr 27, 2015 at 11:12 am · 3 comments

The Curious Case Of The Flash Sale

What do the horses in the Xiaomi stable, notably the Mi 3, Mi 4, Redmi 1S, Redmi 2 & Redmi Note 4G have in common with the YU Yureka or the Micromax Canvas Spark, or even the Lenovo A6000 and the A7000? For starters, the mentioned phones are amongst the more value centric Android smartphones, aiming to offer a better deal in terms of specifications and an overall package, than their domestic and foreign competitors in the Indian market. What...

XDA NEWS
Jimmy McGee · Apr 27, 2015 at 06:00 am · 3 comments

3D Printable Mobile Microscope? Nexus 7 Discontinued – XDA TV

The Nexus 7 2013 has been discontinued on the Google Store! That and much more news is covered by Jordan when he reviews all the important stories from this weekend. Included in this weekend's news is the announcement of Xposed 3.0 Alpha 3 and be sure to check out the article talking about the 3D printable microscope for mobile devices. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA...

XDA NEWS
Share This