Taking a screenshot of  Android phone’s screen can be a bit confusing, since the process isn’t the same on every device. In this example we will discuss how to take the screenshot of Android device  screen and write it to the sd card programatically. Code for MainActivity.java: Code for corresponding layout: code for activity_main.xml: Add this

Animation is the state of being alive. Something that gives  an illusion.Frame by Frame animation is an animation defined in XML that shows a sequence of images in order. In Frame Animation, frames  are swapped repeatedly, so that it appears continuous to the human eye and we feel that it is animated. Frame is referred

TOP