I understand that to take video of the application you need to have your phone rooted in android. What feature puts this restriction?
Workaround
I want to know how feasible this is? Take screenshots of the UI on regular intervals(very quick intervals) and convert those pictures into a video.
NOTE
By screenshot I mean the area of only my application's layout. I want to take rapid screenshots of the layout and then convert it into a video. If it is possible, when saving the current state of the layout in a bitmap, will it do so in a UI thread?
if you are trying to capture the current application activity you can use this code in a thread with a timer.
RelativeLayout rl1 = (RelativeLayout)findViewById(R.id.relative_layout_1);
View v1 = rl1.getRootView();
v1.setDrawingCacheEnabled(true);
bitmap = Bitmap.createBitmap(v1.getDrawingCache());
v1.setDrawingCacheEnabled(false);
and you can make a video. refer This Link