Latest Posts

How to Get File Size in Python

We can get file size in Python using the os module. File Size in Python The python os module has stat() function where we can pass the file name as argument. This function returns a….

How to Read Large Text Files in Python

Python File object provides various ways to read a text file. The popular way is to use the readlines() method that returns a list of all the lines in the file. However, it’s not suitable….

Matrix Programs in Java

A Matrix is a rectangular array. The elements are arranged in the rows and columns. In this tutorial, we will look at some matrix programs in Java. Graphical Representation of Matrix Matrix in Java We….

Command Line Arguments in Java

Command-line arguments in Java are used to pass arguments to the main program. If you look at the Java main method syntax, it accepts String array as an argument. When we pass command-line arguments, they….

Android Material Text Fields

In this tutorial, we’ll implement Text Fields using the new Material Design Components Library. We have already implemented TextInputLayout here. Material TextFields TextInputLayout provides an implementation for Material text fields. We just need to use….

Android Material Components – MaterialAlertDialog

Material Design 2.0 is out and we can’t wait to get our hands on Dialogs. In this tutorial, we’ll be customizing Dialogs using Material Theme in our Android Application. Material Components – Dialogs Alert Dialogs….

Android MaterialButtonToggleGroup

In this tutorial, we’ll be focusing on MaterialButtonToggleGroup, newly introduced with Android Material Components. Android MaterialButtonToggleGroup Also known as ToggleButton, this used to host buttons with checkable behavior. It resembles SegmentedControl in iOS. Users can….

Android Extended Floating Action Button

Extended Floating Action Button is the newly introduced class with Material Components library in Android. Material Components is introduced with SDK 28 or Android P. It’s a superset of Support Design Library with lots of….

Finding and Checking Prime Numbers in Java

What is a Prime Number? A prime number is a natural number greater than 1 that is only divided by 1 and itself. For example, 5 is a prime number because it can be divided….

Android ARCore – Distance from Camera

In this tutorial, we’ll be discussing ARCore introduced by Google. We’ll be breezing through the basics of ARCore. After that, we’ll be developing an android application to get the distance of a node object from….

close
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages