Android Category Screen using ExpandableRelativeLayout

In this tutorial we are going to show how to create a category screen using ExpandableRelativeLayout. This expandable layout can be used inside ListView as list row item. Let us assume that our application includes a screen which has category selection. Every category will have some items. In this example we have added checkboxes for multiple item […]

Disabling screen shot capture in Android application

In this tutorial we are going to show how to protect your application from screen shot capturing. Some applications might be having sensitive personal data (for example all banking applications), so as a developer we need to disable the option to take screen shot using DDMS console. See following steps : Use WindowManager.LayoutParams.FLAG_SECURE before setContentView() mehtod