Friday, 29 June 2018

Android allowBackup

To enable or disable android app from being backed up or restored you can use AndroidManifest.xml file and android:allowBackup=”false” which if present and is set to false will prevent even a full-system backup that would otherwise cause all application data to be saved via adb. The default value of this attribute is true.  

Reference Link: http://www.appsdeveloperblog.com/enable-disable-android-app-backups-restore/

Sunday, 22 April 2018

Continuous Integration




Continuous Integration (CI) is a development practice that requires developers to integrate code into a shared repository several times a day. Each check-in is then verified by an automated build, allowing teams to detect problems early. 

By integrating regularly, you can detect errors quickly, and locate them more easily.

Some reference links on CI:
https://www.thoughtworks.com/continuous-integration
https://www.visualstudio.com/learn/what-is-continuous-integration/




Thursday, 25 January 2018

Scrollable TextView Android

How to make a TextView Scrollable?


1: Add android:scrollbars="vertical" tag in TextView.
2: In activity or fragment just get the reference of TextView and set tv.setMovementMethod(new ScrollingMovementMethod());


Now, It is done. You have successfully make your TextView scrollable.