Converting a KivyMD App into an AndroidAPK KivyMD is an ultra-popular framework, an extension of another well-known framework called Kivy, that provides lots of tools and widgets to make modern and beautiful UIs for Android, iOS, and Linux. If you are creating an application with KivyMD and want it to be installed on Android devices, then this conversion must be done. This tutorial will help you convert a KivyMD app into an Android APK. Requirements Have the following tools and software ready before you begin. Python: It is written in Python, so you would have to install the same ... Read More
When we execute certain SQL queries (SELECT query in general) they return tabular data. The java.sql.ResultSet interface represents such tabular data returned by the SQL statements i.e. the ResultSet object holds the tabular data returned by the methods that execute the statements which requires the database (executeQuery() method of the Statement interface in general). The ResultSet object has a cursor/pointer which points to the current row. Initially, this cursor is positioned before the first row. Java ResultSet isLast() Method The isLast() method of the ResultSet interface is used to determine whether the cursor is on the last row of the ... Read More
In this article, we will learn to list up the short month names in Java. To do so we will be using DateFormatSymbols class from java.text package. java.text: This package offers classes and interfaces for managing text, dates, numbers, and messages in a way that is not dependent on any specific language. DateFormatSymbols is a class that helps you work with date and time information that can be adapted to different languages and regions. It includes things like the names of the months, the days of the week, and details about time zones. Problem Statement Write a Java program that lists ... Read More
In this article, we will learn to display the Hostname and IP address using Java. To display the Hostname and IP address we will be using the InetAddress class from the java.net package. We’ll write a simple program to fetch and print this information, and perform the exception handling to catch the exception if the data isn't found. Problem Statement Write a program in Java to display the Hostname and IP address. Below is a demonstration of the same − Output The IP address is : 127.0.0.1The host name is : jdoodle Steps to display Hostname and IP address Following are ... Read More
CSS or Cascading Style Sheets is used to design the web pages, it helps web developers to control the layout and other visual aspects of the web pages. Using CSS, you can control the color of the text, the style of fonts, the spacing between paragraphs, how columns are sized and laid out, what background images or colors are used. In this article, we will be discussing various advatages of CSS Advantages of CSS Consistent Design: By using CSS, we can use same design across an entire website or on various web pages. This reduces ... Read More
To change image on hover with CSS, we will be using :hover psuedo-class. In this article, we have discussed two different approaches to change image on hover with CSS properties. We are having an image in our HTML document, our task is to change the image when we hover over the image. Approaches to Change Image on Hover Here is a list of approaches to change image on hover with CSS which we will be discussing in this article with stepwise explaination and complete example codes. Change Image on Hover Using background Property ... Read More
Creating a ToDo app is the best way to start learning ReactJS. In this article, we will see how to build a simple ToDo app using React. The project will cover key React concepts like components, state management, props, and event handling. Features of Todo List The ToDo app will allow users to. Add new tasks. Mark tasks as complete. Delete tasks from the list. For better management we will break down the app into small reusable components and manage the state using React's ... Read More
Introduction In this article, we'll explore how to check whether a given string contains only digits or a mix of digits and other characters in Java. We'll achieve this by using the String class and its matches() method. Problem Statement Given a string write a Java program to check whether it contains only digit characters. Input 1 4434 Output 1 String contains only digits! Input 2 5demo9 Output 2 String contains digits as well as other characters! Steps to check digit characters in String The following are the steps to check whether the String contains only digit characters in ... Read More
In this article, we will learn to implement Bubble Sort using recursion in Java. Our goal is to understand how recursion can be applied to the Bubble Sort algorithm to achieve the same sorting effect as its iterative counterpart. Problem Statement Write a Java program to sort an array of integers using the recursive approach of Bubble Sort. Input my_arr[] = {45, 67, 89, 31, 63, 0, 21, 12} Output The array after implementing bubble sort is[0, 12, 21, 31, 45, 63, 67, 89] Bubble Sort Algorithm Bubble sort algorithm is a simple sorting algorithm to sort elements. ... Read More
In this article, we will discuss how to get the operating system name and version in Java. To get the name and version of the operating system we will be using the System.getProperty() method. Steps to get the operating system name and version The following are the steps to get the operating system name and version − We will start by defining a class named Demo and inside that we will create the main method.Inside that main method, we will use the os.name and os.version to get the name and version of the operating system.And at the ... Read More
Data Structure
Networking
RDBMS
Operating System
Java
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP