Top Posts in Python
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….
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….
Why Firefox and How to Get It On Your PC?
It’s hard, or even impossible, to imagine our life without the Internet. The World Wide Web lures us with its omnipresence and all-pervasiveness, which promises infinite knowledge and unlimited access to information. Still, surfing the….
Random Number Generator in Python
We can use Python random module to generate random numbers. We can use this module to generate random integers, floating-point numbers, or a sequence of random numbers. 1. Generating Random Integer in Python Python random….