There already is a library for extracting the depth map here:
https://github.com/spite/android-lens-blur-depth-extractor (internet rocks, isn't it ;) )
As for the Shader - it's just a few lines of actual code.
Depthy is a quick weekend hack. There's a loong way before it.