Articles on Trending Technologies

Technical articles with clear explanations and examples

How to set delay in android?

Ankith Reddy
Ankith Reddy
Updated on 30-Jul-2019 6K+ Views

In some cases, after some time we need to update on UI to solve this problem, In this example demonstrate how to set a delay 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 code to res/layout/activity_main.xml.     In the above code, we have taken text view, primary it shows "initial text" after some delay it will update with new text.Step 3 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Build; import android.os.Bundle; import android.os.Handler; ...

Read More

How do search engines like Google work?

Jaya P
Jaya P
Updated on 30-Jul-2019 273 Views

Can you imagine your life without Google?? In the present world of digitization, people are completely dependent on search engines for every small information. It is very interesting to know how can Google give so much information on so many websites in a blink of an eye? How does it work?Google has its most powerful tool: its search engine. Google uses a special algorithm to generate search results. It uses automated programs called Spiders or Crawlers. With the help of indexed keywords, and its unique algorithm google displays the search results.Google has the trademarked algorithm called Page Rank, which assigns ...

Read More

Special features of Z-80

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 432 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 their lengths.There are 202 of 1-byte instructions, 344 of 2-byte instruction74 of 3-byte instruction78 of 4-byte instruction3Opcode LengthThe instructions can also be divided into two parts according to the opcode length. In the instruction set, there are instructions with 1-byte opcode and 2-byte opcode.The number of 1-byte opcode instruction is ...

Read More

Increase and decrease row value by 1 in MySQL with Stored Procedure?

Jennifer Nicholas
Jennifer Nicholas
Updated on 30-Jul-2019 727 Views

Let us first create a table to increase and adecrease row value by 1. The following is the query −mysql> create table IncrementAndDecrementValue    −> (    −> UserId int,    −> UserScores int    −> ); Query OK, 0 rows affected (0.60 sec)Insert some records in the table using insert command. The query is as follows −mysql> insert into IncrementAndDecrementValue values(101, 20000); Query OK, 1 row affected (0.13 sec) mysql> insert into IncrementAndDecrementValue values(102, 30000); Query OK, 1 row affected (0.20 sec) mysql> insert into IncrementAndDecrementValue values(103, 40000); Query OK, 1 row affected (0.11 sec)Display all records ...

Read More

How can I know when an EditText loses focus in Android?

Arjun Thakur
Arjun Thakur
Updated on 30-Jul-2019 3K+ Views

This example demonstrates how can I know when an EditText loses focus.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 taken one edit text and two buttons. remove focus button going to remove the focus of edit text and other button going to gain focus of edit text.Step 3 − Add the following code to src/MainActivity.javapackage com.example.andy.myapplication; import android.os.Build; import android.os.Bundle; ...

Read More

What is meant by blue eyes technology?

Jaya P
Jaya P
Updated on 30-Jul-2019 5K+ Views

The blue eyes technology works on Artificial Intelligence. It aims to give human abilities to a computer. A research team of IBM has come up with this technology to make a computer understand and sense human feelings and behavior.The aim of the blue eyes technology is to give human power or abilities to a computer so that the machine can naturally interact with human beings as humans interact with each other, through speech, facial expressions and touch.All human beings have some perceptual capabilities, the ability to understand each other’s emotional level or feelings from their facial expressions. Blue eyes technology ...

Read More

Addressing modes of Z-80

George John
George John
Updated on 30-Jul-2019 3K+ Views

Here we will see the addressing modes of the Zilog Z-80 Microprocessor. But at first we will discuss about the mnemonics of Z-80.As we know there are many similarities between Intel 8085 and Zilog Z-80, so we can also find the similarity on the instructions. But in Z-80 the Mnemonics are slightly different. The Hex codes are same, but only the mnemonics are different. So, if we want to execute a program, which was written in the 8085 MPU, it will work fine. But Z-80 has many other instructions, which are not available in the 8085.Here is the list of ...

Read More

What are unethical digital marketing techniques?

Knowledge base
Knowledge base
Updated on 30-Jul-2019 633 Views

Marketing is a concept which is related to beliefs. With marketing, a consumer is made to believe that a certain product or service delivers the results mentioned. Whether it is digital or traditional, marketing is a tool to sell your product or service by gaining trust. But with the increasing attention towards digital marketing, there are many unethical practices prevailing. Recently, social media platforms like Facebook and YouTube have made their rules more stringent so as to avoid unethical practices in the digital marketing field.What Are They Like?It is unethical to do false marketing by conveying the false messages into ...

Read More

How to Dynamically Add Views into View in Android?

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 4K+ 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 taken an empty layout. In this layout, we will have dynamic text view.package com.example.andy.myapplication; import android.graphics.Bitmap; import android.graphics.Matrix; import android.os.Build; import android.os.Bundle; import android.os.Handler; import android.support.annotation.RequiresApi; import android.support.v7.app.AppCompatActivity; import android.view.LayoutInflater; import android.view.View; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; public class MainActivity extends AppCompatActivity {    int view = R.layout.activity_main;   ...

Read More

What is a satire?

Ridhi Arora
Ridhi Arora
Updated on 30-Jul-2019 998 Views

Satire is a genre of English Literature which is very much confused with irony. It has the target is on the audience in a very indirect manner.Examples of Satire from English Literature:George Orwell's Animal FarmMark Twain's Adventures of Huckleberry FinnAbsolem and Achitophel by John DrydenThe Devil’s Dictionary by Ambrose BierceRestoration Age as the Age of SatireRestoration age was the age of satire with John Dryden, Jonathan Swift as the major political satirists. They pointed out the follies of the then Monarch and that too through their writings. One must not forget “Absalom and Achitophel “ as the gallery of portraits ...

Read More
Showing 60311–60320 of 61,248 articles
Advertisements