Ashok Varma

My Resume

TextView

By Ashok | August 11, 2015 | 0 Comment

Topics Find No of Lines in a TextView Usage Find no of lines in a textview There are different ways to find no of lines in a textview. First method : TextView.getLineCount(); Simple but might lead to errors. Because this can be only used in when the view is rendered (i.e after your textview onDraw is called). […]

Continue Reading

How to Setup Android Studio with OpenCV (OpenCV4Android)

By Ashok | August 9, 2015 | 0 Comment

You can do this very easily in Android Studio. Follow the below steps to add Open CV in your project as library. Create a libraries folder underneath your project main directory. For example, if your project isOpenCVExamples, you would create a OpenCVExamples/libraries folder. Go to the location where you have SDK “\OpenCV-2.4.8-android-sdk\sdk” here you will […]

Continue Reading