Since this is a really cool function, and I did not find an implementation for it, I created it myself. I started a project that will contain this function (among other dev tools).
Update
The project has moved to GitHub ( android-toolbox )
The project contains this function, but meanwhile has some good fixes, since I used it in another application. This feature is called quick action .
There's a demo app here that demonstrates it and shows what the code looks like. For quick launch, there is an APK file in the download section so you can see what it is without having to read everything you find on the project wiki .
If you want to see this feature in a real application, you can check out my banshee-remote project ( screenshots ). The app itself is only interesting when you use Banshee as your favorite music player.
Criticism, inquiries, error messages or any feedbacks are very welcome! I will reply to every message; -)
source share