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.
Aamir Siddiqui · Jun 30, 2015 at 02:43 pm · 3 comments

Beats Music No Longer Accepting New Accounts

Whenever Apple launches a new product or service, it definitely manages to grab the attention of all. Whether you love the company and or its products, or you hate it, there's no denying that Apple does make more people interested in things, old or new. When the company announced Apple Music, it directly took aim at the user base of iTunes which had migrated to the streaming convenience of Spotify and later, Google Play Music. In order to further bolster...

XDA NEWS
Emil Kako · Jun 30, 2015 at 02:37 pm · 3 comments

Do You Do Self-Repairs on Your Devices?

As smartphone designs become more and more complex, self-repairs on devices are also becoming more complicated. Unibody handsets like HTC's One flagship series can sometimes be a nightmare to repair if the person doesn't have much experience. That, of course, all depends on the device you are attempting to repair though. So, how many of you do self-repairs on your devices? Let us know why or why not in the comments below.

DISCUSS
Faiz Malkani · Jun 30, 2015 at 02:03 pm · 3 comments

Sony Z4 Slips Out of Top 5 Smartphones in Japan

In a bid to streamline its flagship series which had been losing credibility over the past few years due to their 6 month release cycles, Sony announced that releases would be pushed back to the standard duration of one year instead. When Sony's 2015 flagship was unveiled as the Z4 in Japan and the Z3+ across the rest of the world, enthusiasts everywhere expected things to take a turn for the better, in lieu of the aforementioned announcement. However, two months...

XDA NEWS
Share This