Android : Take Screen Shot from Service

on Saturday, July 5, 2014


I have created an android app, in that I wants to take Screen Shot from Service.


Now, I use this code to do it.



View v = LocationDemo.getRootView();
v.setDrawingCacheEnabled(true);
Bitmap b = v.getDrawingCache();


But in Service it not works.


How to make possible.


Please help me.


0 comments:

Post a Comment