George John has Published 1167 Articles

What is cardinality in MySQL?

George John

George John

Updated on 30-Jul-2019 22:30:23

3K+ Views

In MySQL, the term cardinality refers to the uniqueness of data values that can be put into columns. It is a kind of property which influences the ability to search, cluster and sort data. Cardinality can be of two types which are as follows − Low Cardinality − All ... Read More

What is an Intent in Android?

George John

George John

Updated on 30-Jul-2019 22:30:23

13K+ Views

An intent is to perform an action on the screen. It is mostly used to start activity, send broadcast receiver, start services and send message between two activities. There are two intents available in android as Implicit Intents and Explicit Intents. Here is a sample example to start new activity ... Read More

How to store data in MySQL as JSON?

George John

George John

Updated on 30-Jul-2019 22:30:23

231 Views

We can store data in MySQL as JSON with the help of JSON data type. The following is an example. Let us now create a table. mysql> CREATE table JsonAsMySQLDemo -> ( -> id int, -> name ... Read More

How to make a ListView in android?

George John

George John

Updated on 30-Jul-2019 22:30:23

3K+ Views

Before getting into listview example, we should know about listview, Listview is a collection of items pulled from arraylist, list or any databases. Most uses of listview is a collection of items in vertical format, we can scroll up/down and click on any item.This example demonstrate about How to make ... Read More

Radio Transmission

George John

George John

Updated on 30-Jul-2019 22:30:23

8K+ Views

In the electromagnetic spectrum, all omnidirectional waves in the frequencies 3KHz to 1GHz are called radio waves. They are widely used for communications since they are easy to generate, can travel long distances and can penetrate buildings. Radio waves have omnidirectional antennas, i.e. antennas that can send signals in all ... Read More

Light Transmission

George John

George John

Updated on 30-Jul-2019 22:30:23

2K+ Views

Electromagnetic waves within the frequency range of 400 THz – 790 THz are detected by the human eye. Light transmission is line of sight propagation and is blocked by obstacles. Laser Signals Optical signalling can be obtained by laser signals. For example, the LANs in two buildings can be connected ... Read More

Methods for tracking database schema changes in MySQL?

George John

George John

Updated on 30-Jul-2019 22:30:23

771 Views

Whenever a table is present in a project with a single database, we can do database schema changes using schema version or migration. It aims to keep track of database schema changes or structural changes. The table creation to keep track of schema changes. mysql> create table SchemaDatabaseMethodDemo ... Read More

How to Speed up Gradle build process in Android Studio?

George John

George John

Updated on 30-Jul-2019 22:30:23

191 Views

Before getting info speed up gradle build, we should know that, what is gradle build.Before eclipse, we dont have any automation scripts to build java and XML code to android apk. So that we used commands to generate apk. To optimize this process, gradle build come into the picture. Gradle ... Read More

How to add 1 day to the date in MySQL?

George John

George John

Updated on 30-Jul-2019 22:30:23

11K+ Views

We can add 1 day to the date with the help of DATE_ADD() function. Creating a table. mysql> create table Add1DayDemo -> ( -> id int, -> MyDate datetime not null -> ); Query OK, 0 rows ... Read More

NavigationView in ActionBar in Android

George John

George John

Updated on 30-Jul-2019 22:30:23

838 Views

Before getting into the Navigation view example, we should know about navigation view. Navigation view is just like a sliding menu in HTML. Navigation view is extended by navigatoin drawer. Most of use cases of Navigation view is used to redirect different activities or show profile information.This example demonstrate about ... Read More

Advertisements