Ah, it was three monthes ago. I did a test and then included into an app.
I searched this test code, but can't find it. To cut from the app is enough complex, but possible.
A solution is not very simple, mostly due to support of SDK 16-20. Which versions your program supports ?