Chandu yadav has Published 1163 Articles

How to create NSIndexPath for TableView in iOS?

Chandu yadav

Chandu yadav

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

762 Views

Index path is generally a set of two values representing row and section of a table view. Index path can be created in objective C as well as Swift as both are native language of iOS Development.IndexPathForRow is a class method in iOS. To create a index path we need ... Read More

Why MySQL NOT NULL shouldn’t be added to primary key field?

Chandu yadav

Chandu yadav

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

656 Views

You do not need to add NOT NULL to primary key field because it gets NOT NULL automatically. Primary key is combination of both NOT NULL and Unique Key.Here is the demo of primary key field. Let us first create a table. The query to create a table is as ... Read More

How to check email Address Validation in Android on edit Text

Chandu yadav

Chandu yadav

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

3K+ Views

This example demonstrates how to check email Address Validation in Android on edit Text.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml.     ... Read More

How can I see global locks in MySQL (innodb)?

Chandu yadav

Chandu yadav

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

429 Views

In order to see the global locks in MySQL (Innodb), use the SHOW command. The below query shows the global locks as well owner of locks and waiters. The following query will also show transaction id and more related to Innodb.The query is as follows:mysql> SHOW ENGINE INNODB STATUS\GThe following ... Read More

How to reload activity in Android?

Chandu yadav

Chandu yadav

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

6K+ Views

In some situations, we need to recall activity again from onCreate(). This example demonstrates how to reload activity in Android.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following ... Read More

Special features of Z-80

Chandu yadav

Chandu yadav

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

258 Views

In this section we will see some advanced features of Zilog Z-80 Microprocessor. These features are basically compared to the Intel 8085 Microprocessor.The features are listed below −Sr.No.Features & Description1Opcode CountIn this Microprocessor there are 698 Opcodes of different lengths.2Instruction LengthThe instructions can be divided into four categories according to ... Read More

How to Dynamically Add Views into View in Android?

Chandu yadav

Chandu yadav

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

3K+ Views

This example demonstrates How to Dynamically Add Views into View.Step 1 − Create a new project in Android Studio, go to File ⇒ New Project and fill all required details to create a new project.Step 2 − Add the following code to res/layout/activity_main.xml. In the above code, we have ... Read More

Pins of Z-80

Chandu yadav

Chandu yadav

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

2K+ Views

The Zilog Z-80 is 40 pin DIP Microprocessor. Here we will see the actual pin level diagram of Z-80 and also the functional pin diagram of it.This is the actual pin diagram of Z-80 Microprocessor. Now we will see the functional pin diagram of it.Now let us see the Pin ... Read More

How to set global event_scheduler=ON even if MySQL is restarted?

Chandu yadav

Chandu yadav

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

759 Views

There is a single way by which you can set a global event_scheduler=ON even if MySQL is restarted. You need to set global system variable ON and need to use this system variable even if MySQL restart.For this, I am using system variable @@event_scheduler using select statement. The query is ... Read More

Addition of multi-byte numbers in Z-80

Chandu yadav

Chandu yadav

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

155 Views

Now, in this section we will see how we can use the Zilog Z-80 Microprocessor to add Multi-byte numbers.In this example, we are using 4-byte numbers (56 2F 7A 89)16 and (21 FB A9 AF)16In the memory, at first, we are storing the byte counts, and then the numbers (from ... Read More

Advertisements