When I launch my app, it launches an Activity
which should have transparent header and whatever is the currently shown in background should be blurred.
I am able to get the transparency. But I am not able to figure out how to blur the background. For example if I launch app from home screen, then home screen should be visible but blurred out.
I have an idea to use Framebuffer to get current displayed data, but how to convert that to bitmap which I can use to draw an image without saving the image and directly using data.
I also know that We can take screenshot by pressing power and volume button. Does anyone has an idea where is the code in android to do that? My app will have system access.
You can use
RenderScript
available in support librarysee this link for more details
Or you can use Blurry
For taking screenshot of your app screen see this link